ACDB  Log In Search
Random
Light/Dark Theme
Site Map
SMASH
or
PASS
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.

Go Top

Anime Characters Database Logo Links

Contribute

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more [close]

Who Board | New Thread

06:10 am
Anonymous
Who is this ?

Buy Me a Coffee at ko-fi.com

Increase your fun by becoming a member today! Login | Register

10 fun things to do on ACDB

Advertise - Ko-fi - Share - Mascot - Contact - Discord - API - Wiki - Site Map - Change Log - アニキャラベー - The Nature DB - Twitter - Instagram - Privacy Policy - Rules
All images are copyright of their respective owners. Copyright © Goral Software

Rendered in 14.5 ms. R-6-W-3-M-3054.46 KB