Hacker News new | ask | show | jobs
by flojo 3566 days ago
https://www.nginx.com/blog/maximizing-drupal-8-performance-n...

In the BBC’s testing, they found that with NGINX as a drop-in replacement for Varnish, they saw five times more throughput.

3 comments

PHK explained the cause of this is that the Linux kernel VM system performs poorly when overcomitted.

https://news.ycombinator.com/item?id=10752209

So the conclusion is, as long your malloc fits in your system memory, Varnish should be blazing fast on Linux. If you need a gigantic cache, please try FreeBSD.

I don't suppose that particular workload was very suited for Varnish in the first place, if you read carefully, you'll soon realize that most people don't have that kind of content.

I have heard from (other parts of) BBC that Varnish saved a fair amount of bacon for them during the London Olympics, obviously in different workloads.

And nobody would be more surprised than me, if Varnish was a micacle-cure for every single website in the world...

nginx as a cache is very minimal-featured compared to Varnish. If it fits your workload, great. If not, Varnish is an exceptional tool.