Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Varnish Cache
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.

Varnish Cache

johnlth93johnlth93 Member
edited April 2013 in General

Just wondering if anyone using this in their web server (apache) ?

Comments

  • jhjh Member

    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.

  • @haphan said: Yes! For legacy applications that are incompatible with nginx, I use varnish.

    Is Varnish of any use when we can use nginx? (as I read apache-only uses here) /noobquestion

  • @jhadley said: Yes, on a lot of servers

    any thinking? good?

    @haphan said: great boost

    if i just install it via repo package, do i need to do extra config? or it will just work generally

    @djvdorp said: any use when we can use nginx

    it should be, i am apache user though

  • @djvdorp said: Is Varnish of any use when we can use nginx? (as I read apache-only uses here) /noobquestion

    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%

  • MunMun Member

    Varnish is even used by Steam.

  • @VPSChef said: Cloud Flare can be a great alternative

    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

  • gbshousegbshouse Member, Host Rep

    As far as I know Varnish do not support SSL yet

  • @gbshouse said: 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)

  • @gbshouse said: As far as I know Varnish do not support SSL yet

    Yea you're right.

    @johnlth93 said: Just wondering if anyone using this in their web server (apache) ?

    Varnish is only worth it if you use Apache. For Nginx - in my opinion - it's an overkill and not worth the effort.

  • @kornnflake said: 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.

    @kornnflake said: As far as I know Varnish do not support SSL yet

    this is true

  • marcmmarcm Member

    @MannDude Varnish is the bomb! Check this out: http://www.phoenixvps.com/shared-cloud-hosting

Sign In or Register to comment.