Strategies for splitting load across varnish instances? And avoiding single-point-of-failure?

Ross Brown ross at trademe.co.nz
Sun Jan 17 22:10:12 CET 2010


I hadn't used varnishadm before. Looks useful.

Thanks!

-----Original Message-----
From: phk at critter.freebsd.dk [mailto:phk at critter.freebsd.dk] On Behalf Of Poul-Henning Kamp
Sent: Monday, 18 January 2010 9:38 a.m.
To: Ross Brown
Cc: varnish-misc at projects.linpro.no
Subject: Re: Strategies for splitting load across varnish instances? And avoiding single-point-of-failure? 

In message <1FF67D7369ED1A45832180C7C1109BCA13E23E700B at tmmail0.trademe.local>, 
Ross Brown writes:
>> So it is possible to start your Varnish with one VCL program, and have
>> a small script change to another one some minutes later.
>
>What would this small script look like?=20

	sleep 600
	varnishadm vcl.load real_thing "/usr/local/etc/varnish/real.vcl"
	varnishadm vcl.use real_thing

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list