Tech Note: Ajax and Timers and Tunes, Part 2

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

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? 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

► 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.

Journey heaven is a funky moose.

TwitterFacebook
LGF Pages
Recent Pages

Daniel Ballard
Egyptian Student Invents New Propulsion Method - Science - Health & Science - OnIslam.net
3 minutes ago
Views: 3 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
Diseases Grow at Psychiatry Meeting-Thanks to Big Pharma
12 minutes ago
Views: 11 • Comments: 0
Tweets: 0 • Rating: 0

Learned Mother of Zion
Native Americans Have Jewish DNA!
35 minutes ago
Views: 68 • Comments: 2
Tweets: 1 • Rating: 2

Eclectic Infidel
Mitt Romney for a better Amercia!
40 minutes ago
Views: 40 • Comments: 0
Tweets: 0 • Rating: 0

Channeling Confucius
The 7 Most Terrifying Archaeological Discoveries
2 hours, 59 minutes ago
Views: 138 • Comments: 0
Tweets: 0 • Rating: 1

Aigle
Ha'aretz, Lost in Translation
3 hours, 55 minutes ago
Views: 114 • Comments: 3
Tweets: 0 • Rating: 0

Randall Gross
Government Employment Drops Under Obama, but Media Run With Romney Myth Anyway
5 hours, 44 minutes ago
Views: 171 • Comments: 0
Tweets: 6 • Rating: 2

researchok
French Philosopher Alain Badiou on the Real Expression of Love: 'If You Limit Yourself to Sexual Pleasure It's Narcissistic'
9 hours, 49 minutes ago
Views: 103 • Comments: 0
Tweets: 0 • Rating: 1

Haywood Jabloeme
Closing the Racial and Generational Divides
13 hours, 38 minutes ago
Views: 102 • Comments: 0
Tweets: 0 • Rating: 1

Aziz Poonawalla
I Speak for Myself: All-American
17 hours, 35 minutes ago
Views: 151 • Comments: 0
Tweets: 0 • Rating: 7

 Frank says:

Speed: It will turn you into your parents. -- 1970 public service announcement regarding drug (namely, speed) use