Results 1 to 14 of 14
  1. #1

    Apache vs Varnish

    HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting

  2. #2
    Join Date
    Feb 2006
    Location
    Buffalo, NY
    Posts
    1,501
    Varnish is a reverse proxy / caching proxy. It's not a web server / a fair comparison in the slightest.

    Just to elaborate: it's caching stuff *after* it's been processed and things of that nature*. Hence the drastic differences in speed.

    * Varnish is super spiffy and highly recommended, albeit a bit confusing at times if you try to get fancy (yay dynamic content in midst of static cached content).
    Cody R.
    Hawk Host Inc. Proudly Serving websites since 2004.
    Official Let's Encrypt Sponsor

  3. #3
    Quote Originally Posted by CodyRo View Post
    Varnish is a reverse proxy / caching proxy. It's not a web server / a fair comparison in the slightest.
    True. Still good to compare the difference and see that Apache need to improve Apache quick.

    I will be doing a proper test of LiteSpeed (OS + caching) vs Apache (OS) + Varnish (caching) soon.
    HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting

  4. #4
    As I just mentioned in another thread ... I would say only use Varnish if you have a lot of users on your site as that's where Varnish comes in, but it turns out Varnish even helps with low site activity too.

    In the tests above, Varnish loads the site at 819 milliseconds for first 10 clients, where as Apache loads the site at 1.46 seconds, and the fact that Varnish page load time gets faster as more clients are loaded is just a bonus.
    HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting

  5. #5
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    10,629
    Varnish + LiteSpeed + Apache + eAccelerator + xCache = One big conspiracy to many.

    Whatever works for an individual works, testing is ultimately going to vary under so many dominating factors - I really hate replying to these threads they are too common and all they end up in are debates! Meh!

  6. #6
    Quote Originally Posted by Sparrow-Sean View Post
    Varnish + LiteSpeed + Apache + eAccelerator + xCache = One big conspiracy to many.

    Whatever works for an individual works, testing is ultimately going to vary under so many dominating factors - I really hate replying to these threads they are too common and all they end up in are debates! Meh!
    I don't know about that. The tests look pretty good to me.

    Exact same content on each dedicated server (the server used for Apache test site even has a better spec) and the LoadImpact site can be trusted. They charge 9$ day or 279$ month for paid testing services. I doubt they'd charge that kind of money and developers/testers would be upgrading if the service wasn't accurate enough.

    Loadimpact looks good to me.
    HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting

  7. #7
    has the apache been tuned ?
    Looking for shared or reseller or VPS Hosting ?
    Try our service at https://www.sosys.net!
    Singapore - Indonesia - Malaysia

  8. #8
    Join Date
    May 2008
    Location
    Canada
    Posts
    985
    Quote Originally Posted by Benny Kusman View Post
    has the apache been tuned ?
    I'm sure it wasn't, but reverse proxy/caching on static content will be always more efficiently even with apache optimized correctly.
    UnderHost.comOffshore Hosting Solutions and USA/Canadian based servers.
    24/7 Rapid Support / 99.9% Uptime Guarantee / Shared / Cloud / VPS / Dedicated Servers
    Managed OnApp CloudUSA Cloud Virtual Datacenter - Dedicated and Scalable Resources
    Hong Kong - Netherlands - Canada - Caribbean - United States - Russia

  9. #9
    Join Date
    Nov 2010
    Location
    /home/kristoffer
    Posts
    3,251
    The Litespeed (OS + caching) and Apache (OS) + Varnish (caching) would be a great test I think! I'm looking forward for it

  10. #10
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    10,629
    Mind you, these are being done via a third-party so the results may not even be accurate. It is better with internal testing and people should not hold tests so heavily on other webservers.
    l Dedigeeks Shared Wordpress Dedicated Established 2006
    l Leading AUSTRALIAN Hosting Provider Sydney & Melbourne Datacentres
    l cPanel/WHM R1Soft Backups 24/7/365 Support SMS Hosting Alerts*
    l www.dedigeeks.com Managing Director Service Superstars

  11. #11
    Join Date
    Nov 2010
    Location
    /home/kristoffer
    Posts
    3,251
    Quote Originally Posted by Sparrow-Sean View Post
    Mind you, these are being done via a third-party so the results may not even be accurate. It is better with internal testing and people should not hold tests so heavily on other webservers.
    Of course network, etc. can play a role, but if you do enough testing - I think it is pretty accurate who is best. And that is why we are testing, right?

  12. #12
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    10,629
    Varnish may succeed at a level, we've done testing with it and found it not to be as great as many people show it out to be, though again internal testing is probably more accurate than external services like Load-Impact.

    Not saying it is bad but the results may be out of touch.
    l Dedigeeks Shared Wordpress Dedicated Established 2006
    l Leading AUSTRALIAN Hosting Provider Sydney & Melbourne Datacentres
    l cPanel/WHM R1Soft Backups 24/7/365 Support SMS Hosting Alerts*
    l www.dedigeeks.com Managing Director Service Superstars

  13. #13
    the views on apache & varnish can be biased, but for specific application and scenario both can have best performances..... it is requirement of application that matters.....

  14. #14
    Join Date
    Nov 2010
    Location
    /home/kristoffer
    Posts
    3,251
    Quote Originally Posted by Sparrow-Sean View Post
    Varnish may succeed at a level, we've done testing with it and found it not to be as great as many people show it out to be, though again internal testing is probably more accurate than external services like Load-Impact.

    Not saying it is bad but the results may be out of touch.
    So in your internal testing, LiteSpeed performed better?

Similar Threads

  1. Replies: 2
    Last Post: 09-16-2011, 03:54 AM
  2. Disable varnish?
    By macmee in forum Web Hosting
    Replies: 40
    Last Post: 07-29-2011, 01:24 PM
  3. Varnish cum Apache users please help
    By shahrukhbachan in forum Hosting Security and Technology
    Replies: 4
    Last Post: 06-25-2011, 06:58 PM
  4. Apache + Varnish Help
    By v3locityx in forum Dedicated Server
    Replies: 1
    Last Post: 05-23-2011, 08:17 AM
  5. Which Server - Litespeed or Apache + Varnish ?
    By Farrukh in forum Web Hosting
    Replies: 266
    Last Post: 05-17-2011, 09:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •