Recently, I posted an article mainly about optimizing apache for low memory usage. There, I noted that webservers like thttpd and lighttpd are really good at serving things fast. I’ve been trying to optimize a site I’m playing with, and I’ve done a bit of analysis / work on using an alternative webserver.
Lighttpd wasn’t immediately in my debian apt-get list, so I went with thttpd.
My thoughts on implementing this are first: thttpd serves up the images a LOT faster, using almost no ram. Top doesn’t even notice that it’s running.
Second, not clogging the apache processes with images frees more apache processes for serving users.