New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Yes, on a lot of servers.
Yes! For legacy applications that are incompatible with nginx, I use varnish.
Configure varnish to store cache file in /dev/shm gives a great boost.
Is Varnish of any use when we can use nginx? (as I read apache-only uses here) /noobquestion
any thinking? good?
if i just install it via repo package, do i need to do extra config? or it will just work generally
it should be, i am apache user though
hmm.. I prefer nginx where possible. Our company public website still on traditional LAMP + Varnish stack though.
Remember that Cloud Flare can be a great alternative to hosting your own caching layer. Tied in with their API for cache invalidation it is a genuinely attractive caching option.
Just to post an example:
I ran a loader.io test on my photo blog. It's a pure PHP app with flat-file storage with no DB. This runs on a Kimsufi Atom D425 server. Basically, very low end with no special tweakings to Apache.
Inital test:
Max users: 250
Duration: 60 seconds
Success responses: 130
Avg response time: 4063 ms
Timeout errors: 651
Network errors: 404
Avg error rate: 89.03%
Installed Varnish and re-run test with same parameters as before:
Max users: 250
Duration: 60 seconds
Success responses: 135370
Avg response time: 19 ms
Timeout errors: 0
Network errors: 0
Avg error rate: 0.00%
Varnish is even used by Steam.
yes they do, i tried cloud flare before but i am running ssl sites now
and their pricing for ssl enabled site is kinda expensive just saying
As far as I know Varnish do not support SSL yet
serious?
Varnish is great. I previously used it on a previous project on a cPanel Shared Hosting server instead of LightSpeed, and it worked great. I remember while doing the upgrades, I actually had a client running a semi-busy forum send me an email and ask if something was different because they could feel their site loading faster.
I don't have the benchmark stats anymore, but it was definitely a better option for me back then in terms of performance versus the Litespeed license I had at the time (I believe it was either a VPS license or the next one up, depends on if it was put into effect before or after the project moved from a VPS to dedicated)
Yea you're right.
Varnish is only worth it if you use Apache. For Nginx - in my opinion - it's an overkill and not worth the effort.
^ this. Varnish only makes sense if you want to serve ESI-enabled content.
See http://todsul.com/nginx-varnish for nginx vs benchmark. Nginx is even faster than varnish.
this is true
@MannDude Varnish is the bomb! Check this out: http://www.phoenixvps.com/shared-cloud-hosting