|
|
|
|
|
by FooBarWidget
4189 days ago
|
|
You're reading too much hostility in it. The article does not claim to be better than Varnish. Performance is achieved by not implementing many features. For example, Varnish is a full-blown programming language and has an infinite size. The Passenger turbocache has almost no configuration options, does not support any sort of custom programming and only supports 8 entries at most. The fact that the max size is so small allows it to be implemented in very compact data structures, but its usefulness is also severely limited. It's merely designed with a different set of tradeoffs than Varnish. It isn't that difficult to make a web server that's faster all the production servers out there. For example H2O is faster than Nginx... because it has infinitely less features. Ditto for Passenger's turbocache. The rest of the article describes some ideas, some of which cannot be implemented using pure Varnish and require cooperation from the app. In my opinion you're missing out on a lot of interesting ideas if you stop reading only because you think Varnish is being slammed. |
|
It can and has been implemented with Varnish and a few lines of VCL (with support of the app as well, of course).
What is "pure varnish" anyways? Proper varnish use always needs a tuned VCL, that's the whole core of the product.
Also, if I might say, I find your edits very handwavey. Please prove why that is impossible in VCL.