Skip to content

Comment on Ask HN: In-memory Webserver

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.

Seconded; for extra performance enable sendfile().

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.