hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Apache vs Varnish
Reply

Forum Jump

Apache vs Varnish

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 9,110

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
Add your Web Hosting Provider to the Web Hosting Directory




Sponsored Links
  #2  
Old
Web Hosting Master
 
Join Date: Feb 2006
Location: Buffalo NY
Posts: 1,239
Quote:
Originally Posted by HostXNow View Post
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. - Chief Technical Officer
Quality Shared and VPS Hosting
Hawk Host Inc. Proudly serving websites since 2004
PHP 5.3.x & PHP 5.4.x & PHP 5.5.X Support!

  #3  
Old
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 9,110
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
Add your Web Hosting Provider to the Web Hosting Directory


Sponsored Links
  #4  
Old
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 9,110
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
Add your Web Hosting Provider to the Web Hosting Directory


  #5  
Old
Web Hosting Master
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,437
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  
Old
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 9,110
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
Add your Web Hosting Provider to the Web Hosting Directory


  #7  
Old
Web Hosting Master
 
Join Date: Jul 2010
Location: Singapore
Posts: 719
has the apache been tuned ?

__________________
Looking for shared or reseller or VPS Hosting ?
Try our service at http://www.bennykusman.com!
Singapore - Indonesia - Malaysia

  #8  
Old
Offshore Hosting Specialists
 
Join Date: May 2008
Location: Montreal, Canada
Posts: 952
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  
Old
Web Hosting Master
 
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  
Old
Web Hosting Master
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,437
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 Spiral Hosting Limited • 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.spiralhosting.com • Chief Technical Officer • Superior Service Guarantee

  #11  
Old
Web Hosting Master
 
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  
Old
Web Hosting Master
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,437
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 Spiral Hosting Limited • 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.spiralhosting.com • Chief Technical Officer • Superior Service Guarantee

  #13  
Old
Disabled
 
Join Date: Oct 2011
Posts: 16
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  
Old
Web Hosting Master
 
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?

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Varnish Plugin for cPanel / Apache - Fastest Web Server Setup Money Back Guarantee! UNIXy Software & Scripts Offers 2 09-16-2011 03:54 AM
Disable varnish? macmee Web Hosting 40 07-29-2011 01:24 PM
Varnish cum Apache users please help shahrukhbachan Hosting Security and Technology 4 06-25-2011 06:58 PM
Apache + Varnish Help v3locityx Dedicated Server 1 05-23-2011 08:17 AM
Which Server - Litespeed or Apache + Varnish ? Farrukh Web Hosting 266 05-17-2011 09:48 AM

Related posts from TheWhir.com
Title Type Date Posted
Microsoft Gains Most Websites in May Netcraft Web Server Survey Web Hosting News 2014-05-09 11:38:05
Apache Market Share Falls in Netcraft October Web Server Survey Web Hosting News 2013-10-04 14:34:11
Apache Market Share Dips Slightly in June Netcraft Web Server Survey Web Hosting News 2013-06-06 13:40:21
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
CloudStack 4.0 Open Source Cloud Software Released as Apache Incubator Project Web Hosting News 2012-11-08 13:54:10


Tags
apache, apache vs varnish, varnish

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?