ACDB  Log In Search

News

keep-alive Jul 23, 2011 | Rei
Doing some experiments with keep-alive timers on lighttpd.

Best case:

Things load faster and smoother.

Worst case:

Nothing loads at all.


Until now, every page would require multiple connections to the server. Since every image would automatically close the connection. To get the next image, a new connection would be needed. Opening and closing all these connections create considerable lag, and puts extra load on the server.

Keep Alive's have a problem with idle connections. If someone not using keep alive requests it anyway, they'll end up with dozens or hundreds of idle connections ... this allows one person to suck up a good number of the server's file descriptors. Well, my counter to this is having VERY LOW idle timers. Single digit.

Seems to be keeping the number of firewall stats down at least.

Kawaii or NOT?!

Anime Character
Jacqueline
Queenie faved Celestia
Queenie joined
Airport found a Dragon Slayer Candidate Misuzu Kamio
BigJohn voted Sinon Character of the Week
BigJohn voted Mina Ashido Character of the Day
Genesis02 faved Hazuki Shiranui
Shinn_Yuu defeated a Dragon
Shinn_Yuu joined a Dragon Battle
RaeSolaris wished Lyra a Happy Birthday
Recksley wished Ena Shinonome a Happy Birthday