Ask HN: In-memory Webserver
5 comments
Other suggestions?
You're thinking way too hard. As long as you have enough RAM, your operating system will cache data; so you don't need to do anything fancy at all. Set up whatever web server you like, in the default configuration, and measure its performance; odds are that you'll find that you don't need to tune anything at all.
You're thinking way too hard. As long as you have enough RAM, your operating system will cache data; so you don't need to do anything fancy at all. Set up whatever web server you like, in the default configuration, and measure its performance; odds are that you'll find that you don't need to tune anything at all.
Seconded; for extra performance enable sendfile().
you could serve from a ram disk
nginx+memcached or nginx+ramfs?
I'm using apache+varnishd, I've heard good stuff about http://nginx.net/
Good luck!
Good luck!
Is there a webserver that, when started, reads all pages into memory and then never touches the disk again? Would a similar effect be better achieved with something like Apache + memcached? Other suggestions?