Results 1 to 14 of 14
  1. #1
    Join Date
    Oct 2009
    Location
    England, United Kingdom
    Posts
    9,327

    Apache vs Varnish

    HostXNow - http://www.hostxnow.com | Since 2009
    Fast, Secure and Reliable [UK/USA] Web Hosting - Reseller Hosting - VPS Hosting
    cPanel/WHM • CloudLinux (Multi PHP) • Offsite Backups • LiteSpeed • TrendyTools • Softaculous

  2. #2
    Join Date
    Feb 2006
    Location
    Buffalo NY
    Posts
    1,281
    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).
    Hawk Host Inc. Proudly Serving websites since 2004.

  3. #3
    Join Date
    Oct 2009
    Location
    England, United Kingdom
    Posts
    9,327
    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 - http://www.hostxnow.com | Since 2009
    Fast, Secure and Reliable [UK/USA] Web Hosting - Reseller Hosting - VPS Hosting
    cPanel/WHM • CloudLinux (Multi PHP) • Offsite Backups • LiteSpeed • TrendyTools • Softaculous

  4. #4
    Join Date
    Oct 2009
    Location
    England, United Kingdom
    Posts
    9,327
    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 - http://www.hostxnow.com | Since 2009
    Fast, Secure and Reliable [UK/USA] Web Hosting - Reseller Hosting - VPS Hosting
    cPanel/WHM • CloudLinux (Multi PHP) • Offsite Backups • LiteSpeed • TrendyTools • Softaculous

  5. #5
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    10,473
    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
    Join Date
    Oct 2009
    Location
    England, United Kingdom
    Posts
    9,327
    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 - http://www.hostxnow.com | Since 2009
    Fast, Secure and Reliable [UK/USA] Web Hosting - Reseller Hosting - VPS Hosting
    cPanel/WHM • CloudLinux (Multi PHP) • Offsite Backups • LiteSpeed • TrendyTools • Softaculous

  7. #7
    Join Date
    Jul 2010
    Location
    Singapore
    Posts
    740
    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
    Montreal, Canada
    Posts
    954
    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 Inc. • Offshore Hosting Solutions and USA/Canadian based servers.
    • 24/7 Rapid Support / 99.9% Uptime Guarantee / Shared / Reseller / VPS / Dedicated
    • Premium VPS • USA Cloud Virtual Private Servers - Dedicated and Scalable Resources - Parallelsฎ Virtuozzo
    • Hong Kong - SG - USA - Canada - Netherlands - UK - Germany - Panama - Malaysia - Russia •

  9. #9
    Join Date
    Nov 2010
    Location
    /home/kristoffer
    Posts
    2,793
    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,473
    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 Clever Emu (Twitter) • Shared • Reseller • Cloud VPS • Since 2003
    l Leading UK and Ireland Hosting Provider • Multiple locations - around the globe!
    l cPanel/WHM • R1Soft Backups • 24/7/365 Support • 99.9% Uptime Guarantee
    l www.yourcompanynamehere.com • Customer Service Rep. • Superior Service Guarantee

  11. #11
    Join Date
    Nov 2010
    Location
    /home/kristoffer
    Posts
    2,793
    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,473
    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 Clever Emu (Twitter) • Shared • Reseller • Cloud VPS • Since 2003
    l Leading UK and Ireland Hosting Provider • Multiple locations - around the globe!
    l cPanel/WHM • R1Soft Backups • 24/7/365 Support • 99.9% Uptime Guarantee
    l www.yourcompanynamehere.com • Customer Service Rep. • Superior Service Guarantee

  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
    2,793
    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?

  15. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

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

Related Posts from theWHIR.com

Posting Permissions

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