hosted by liquidweb


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

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
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 10-06-2011, 05:40 PM
HostXNow HostXNow is offline
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 8,269

Apache vs Varnish



Reply With Quote


Sponsored Links
  #2  
Old 10-06-2011, 05:42 PM
CodyRo CodyRo is offline
Web Hosting Master
 
Join Date: Feb 2006
Location: Buffalo NY
Posts: 1,157
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 & PHP 5.4 Support!

Reply With Quote
  #3  
Old 10-06-2011, 05:44 PM
HostXNow HostXNow is offline
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 8,269
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.

Reply With Quote
Sponsored Links
  #4  
Old 10-06-2011, 06:53 PM
HostXNow HostXNow is offline
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 8,269
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.

Reply With Quote
  #5  
Old 10-06-2011, 06:58 PM
Sparrow-Sean Sparrow-Sean is offline
sean [at] speedysparrow.com
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,185
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!

Reply With Quote
  #6  
Old 10-06-2011, 07:06 PM
HostXNow HostXNow is offline
Premium Member
 
Join Date: Oct 2009
Location: England, United Kingdom
Posts: 8,269
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.

Reply With Quote
  #7  
Old 10-06-2011, 11:33 PM
Benny Kusman Benny Kusman is offline
Web Hosting Master
 
Join Date: Jul 2010
Location: Singapore
Posts: 672
has the apache been tuned ?

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

Reply With Quote
  #8  
Old 10-07-2011, 12:25 AM
UnderHost UnderHost is offline
Offshore Hosting Specialists
 
Join Date: May 2008
Location: Montreal, Canada
Posts: 929
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 •

Reply With Quote
  #9  
Old 10-07-2011, 12:28 AM
Serverfruit-Kris Serverfruit-Kris is online now
Web Hosting Master
 
Join Date: Nov 2010
Location: /home/kristoffer
Posts: 2,794
The Litespeed (OS + caching) and Apache (OS) + Varnish (caching) would be a great test I think! I'm looking forward for it

Reply With Quote
  #10  
Old 10-07-2011, 12:28 AM
Sparrow-Sean Sparrow-Sean is offline
sean [at] speedysparrow.com
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,185
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 SpeedySparrow • Marketing Guru • Ksplice Secured
l LiteSpeed • CloudLinux • R1Soft Backups • RVSite Builder • cPanel/WHMฎ
l Trendy Site Builder • Installatron • Softaculous • SEO Tools (Attracta)
l VPS Hosting • CloudFlare Partners • Dallas Texas & Ireland Datacenters

Reply With Quote
  #11  
Old 10-07-2011, 12:31 AM
Serverfruit-Kris Serverfruit-Kris is online now
Web Hosting Master
 
Join Date: Nov 2010
Location: /home/kristoffer
Posts: 2,794
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?

Reply With Quote
  #12  
Old 10-07-2011, 12:37 AM
Sparrow-Sean Sparrow-Sean is offline
sean [at] speedysparrow.com
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 10,185
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 SpeedySparrow • Marketing Guru • Ksplice Secured
l LiteSpeed • CloudLinux • R1Soft Backups • RVSite Builder • cPanel/WHMฎ
l Trendy Site Builder • Installatron • Softaculous • SEO Tools (Attracta)
l VPS Hosting • CloudFlare Partners • Dallas Texas & Ireland Datacenters

Reply With Quote
  #13  
Old 10-07-2011, 01:01 AM
pervez pervez is offline
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.....

Reply With Quote
  #14  
Old 10-07-2011, 02:30 AM
Serverfruit-Kris Serverfruit-Kris is online now
Web Hosting Master
 
Join Date: Nov 2010
Location: /home/kristoffer
Posts: 2,794
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 With Quote
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
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Certified Hosting Deploys Varnish HTTP Caching for Faster Hosting Services Web Hosting News 2012-02-28 14:10:30
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58


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?
Advertisement:
Web Hosting News:



 

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?