Tech Note: Ajax and Timers and Tunes, Part 2

Charles Johnsonfollow me on twitter
Wed Jul 30, 2008 at 5:41 pm PDT • Views: 144

After evaluating the impact of our new live updating code for the “Now Playing” section of the left sidebar, I’ve decided to limit the live updates to registered, logged in users. At our normal peak traffic times, with thousands of browsers checking the server at 30 second intervals via Ajax, the system load was getting a bit too high for comfort.

I even tried caching the output, and storing it on the database server instead of the web server’s file system, but it looks like the bottleneck is the sheer number of simultaneous connections.

So to see the live updates, you’ll need to be logged in to an LGF account.

(I’m not doing all this simply to share my music tastes with the world, by the way. There are many interesting “live update” possibilities that could result in cool new features for LGF. All data is good.)

Advertisement

78 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Coherent questions is birocracy frase!

TwitterFacebook
LGF Pages
Recent Pages

Channeling Confucius
Haitian Invasion Welcomed in Rural America - BBC Video
7 minutes ago
Views: 6 • Comments: 0
Tweets: 0 • Rating: 0

MichaelJ
Samsung's Galaxy Note Is the Most Useless Phone I've Used
7 minutes ago
Views: 20 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
GM Moves From Pension Plan to 401(k) - Feb. 15, 2012
11 minutes ago
Views: 14 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Religion Over Rights? Kansas Bill Would Let 'Religious Freedom' Curb Civil Liberties
12 minutes ago
Views: 28 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Billionaire Tax Dodger Fails from the Grave
22 minutes ago
Views: 29 • Comments: 1
Tweets: 1 • Rating: 1

Randall Gross
Times Reporter Balks at Grapple by Prosecutors for His CIA Source
26 minutes ago
Views: 30 • Comments: 1
Tweets: 0 • Rating: 1

researchok
Iran Meddling in Yemen, Says Security Officials
29 minutes ago
Views: 26 • Comments: 0
Tweets: 1 • Rating: 1

researchok
Newt: For the Record
1 hour, 10 minutes ago
Views: 34 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Vive La France! 67 Years Later An American Infantryman Is Awarded The Legion d'Honneur
1 hour, 16 minutes ago
Views: 49 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Newt Gingrich: The Most Disliked Politician in America
1 hour, 16 minutes ago
Views: 61 • Comments: 0
Tweets: 1 • Rating: 0

 Frank says:

The family was from Arkansas. The Dad (Dink) was a furniture salesman in San Bernardino, but back in the way-back-when he used to play 'bones' or 'spoons' in a minstrel show. To relive the golden days of yesteryear he would, from time to time, force his children to accompany him (Ronnie on guitar, Kenny on trombone) in a living room replay of a minstrel routine called "Lazy Bones."

The kids often found this to be an inconvenience, as they were fascinated by, and constantly perfecting new techniques for, The Manly Art Of Fart-Burning. Kenny explained to me that it was scientific - that it demonstrated (this is a real quote) "Compression, ignition, combustion and exhaust." -- Kenny & Ronnie Williams (later immortalized in "Let's Make The Water Turn Black").