Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jul 17, 2011 3:25 am 
Offline
Senior Newbie

Joined: Mon Jul 11, 2011 2:12 am
Posts: 7
Hi all

I have one loadbalancer, two frontends and two backends with db. Where do i put varnish? On each frontend or another node in front of the frontends or maybe something different? I know Varnish has the capability to be both loadbalancer and cacher - could it be possible to combine this into a single Varnish installation on a box

Thanks


Top
   
 Post subject:
PostPosted: Mon Jul 18, 2011 11:42 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Disclaimer that I've never used Varnish, but my understanding of it is that you typically dedicate an entire box to it and run nothing else on that box. This would likely be your load balancer box. It would then point traffic to your frontend machines.

Another option to consider is Linode's own NodeBalancer. It doesn't do caching, though.


Top
   
 Post subject:
PostPosted: Tue Jul 19, 2011 7:22 am 
Offline
Junior Member

Joined: Wed Feb 09, 2011 7:41 am
Posts: 28
I tried various versions of varnish and had to keep restarting it every day or so, I think there's various memory leak issues with it.

Tread carefully !

In the end I used Squid.


Top
   
 Post subject:
PostPosted: Tue Jul 19, 2011 1:45 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Varnish uses virtual memory in place of disk caching, so its normal modus operendi is to completely fill all available RAM and swap. Obviously, you typically dedicate an entire machine to Varnish and run nothing else on it.


Top
   
 Post subject:
PostPosted: Tue Jul 19, 2011 3:04 pm 
Offline
Senior Member

Joined: Sun Sep 05, 2010 8:55 pm
Posts: 97
exiges wrote:
I tried various versions of varnish and had to keep restarting it every day or so, I think there's various memory leak issues with it.


How long ago was this? I'm currently toying around with varnish.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group