<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Varnish + Zope &#8211; Multiple zope instances behind a single varnish cache</title>
	<atom:link href="http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/</link>
	<description>PHP, running, family stuff, Bromsgrove and other bits</description>
	<lastBuildDate>Mon, 30 Apr 2012 08:33:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: David Goodwin</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-5064</link>
		<dc:creator>David Goodwin</dc:creator>
		<pubDate>Sun, 05 Jun 2011 13:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-5064</guid>
		<description>Ricardo - what problem(s) are you having? And is a req.http.host header sent when you make an SSL connection? Have you tried running &#039;varnishlog&#039; ?</description>
		<content:encoded><![CDATA[<p>Ricardo &#8211; what problem(s) are you having? And is a req.http.host header sent when you make an SSL connection? Have you tried running &#8216;varnishlog&#8217; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Brito</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-5048</link>
		<dc:creator>Ricardo Brito</dc:creator>
		<pubDate>Fri, 03 Jun 2011 18:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-5048</guid>
		<description>lamed.mydomain.br run varnish;
varnish.mydomain.br run apache;
dzetaPool2 run zope;



varnish.vcl
sub vcl_recv {
[...]
   if ( req.http.host ~ &quot;^varnish\.mydomain\.br&quot; &amp;&amp; req.url ~ &quot;/brasilconectado/brasilconectado/VirtualHostRoot&quot;) {
        set req.backend = dzetaPool2;
   }
[...]
}

apache.conf



[...]
        SSLEngine on
        SSLCertificateFile    /etc/apache2/ssl/varnish.mydomain.gov.br.cer
        SSLCertificateKeyFile /etc/apache2/ssl/varnish.mydomain.gov.br.key


           RewriteEngine On
           RewriteRule ^/(.*) http://lamed.mydomain.gov.br:80/VirtualHostBase/https/%{SERVER_NAME}:443/brasilconectado/brasilconectado/VirtualHostRoot/$1 [L,P]

[...]

</description>
		<content:encoded><![CDATA[<p>lamed.mydomain.br run varnish;<br />
varnish.mydomain.br run apache;<br />
dzetaPool2 run zope;</p>
<p>varnish.vcl<br />
sub vcl_recv {<br />
[...]<br />
   if ( req.http.host ~ &#8220;^varnish\.mydomain\.br&#8221; &amp;&amp; req.url ~ &#8220;/brasilconectado/brasilconectado/VirtualHostRoot&#8221;) {<br />
        set req.backend = dzetaPool2;<br />
   }<br />
[...]<br />
}</p>
<p>apache.conf</p>
<p>[...]<br />
        SSLEngine on<br />
        SSLCertificateFile    /etc/apache2/ssl/varnish.mydomain.gov.br.cer<br />
        SSLCertificateKeyFile /etc/apache2/ssl/varnish.mydomain.gov.br.key</p>
<p>           RewriteEngine On<br />
           RewriteRule ^/(.*) <a href="http://lamed.mydomain.gov.br:80/VirtualHostBase/https/%" rel="nofollow">http://lamed.mydomain.gov.br:80/VirtualHostBase/https/%</a>{SERVER_NAME}:443/brasilconectado/brasilconectado/VirtualHostRoot/$1 [L,P]</p>
<p>[...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Goodwin</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-5045</link>
		<dc:creator>David Goodwin</dc:creator>
		<pubDate>Fri, 03 Jun 2011 14:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-5045</guid>
		<description>I suspect I can - try pasting some config files (Apache, Varnish) ?</description>
		<content:encoded><![CDATA[<p>I suspect I can &#8211; try pasting some config files (Apache, Varnish) ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Brito</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-5044</link>
		<dc:creator>Ricardo Brito</dc:creator>
		<pubDate>Fri, 03 Jun 2011 14:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-5044</guid>
		<description>Rather, it is exactly what I need.
I have many domains, in different instances zope, running as squid. Entertaining squid only allows one virtualhost with ssl, and scalability is less than the varnish.
I am added as a rider and the varnish behind apache, which I intend to configure with ssl virtualhost.

But i having many problems. Do you help me?</description>
		<content:encoded><![CDATA[<p>Rather, it is exactly what I need.<br />
I have many domains, in different instances zope, running as squid. Entertaining squid only allows one virtualhost with ssl, and scalability is less than the varnish.<br />
I am added as a rider and the varnish behind apache, which I intend to configure with ssl virtualhost.</p>
<p>But i having many problems. Do you help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Goodwin</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-5038</link>
		<dc:creator>David Goodwin</dc:creator>
		<pubDate>Thu, 02 Jun 2011 20:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-5038</guid>
		<description>In my case - yes - but obviously you don&#039;t have to - varnish can act as the front end - which would give far better performance. In my case I needed to integrate it into an existing environment where Apache was in use on an IP address which was being used for a number of other websites.</description>
		<content:encoded><![CDATA[<p>In my case &#8211; yes &#8211; but obviously you don&#8217;t have to &#8211; varnish can act as the front end &#8211; which would give far better performance. In my case I needed to integrate it into an existing environment where Apache was in use on an IP address which was being used for a number of other websites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Brito</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-5037</link>
		<dc:creator>Ricardo Brito</dc:creator>
		<pubDate>Thu, 02 Jun 2011 19:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-5037</guid>
		<description>This article is very good.
But i have a question about it.
Do you have a zope behind varnish behind apache, in this order?</description>
		<content:encoded><![CDATA[<p>This article is very good.<br />
But i have a question about it.<br />
Do you have a zope behind varnish behind apache, in this order?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari Metkari</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-4492</link>
		<dc:creator>Hari Metkari</dc:creator>
		<pubDate>Thu, 13 Jan 2011 05:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-4492</guid>
		<description>Hi All,

I want to working varnish cache on single server and multiple domain on another  server.
please help me ASAP.

Thanks,
Hari</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I want to working varnish cache on single server and multiple domain on another  server.<br />
please help me ASAP.</p>
<p>Thanks,<br />
Hari</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Goodwin</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-1115</link>
		<dc:creator>David Goodwin</dc:creator>
		<pubDate>Thu, 04 Feb 2010 22:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-1115</guid>
		<description>Alex - native Zope was around 5-10 requests a second ( if I remember correctly ) - with varnish - about 200... which is enough :) 

The customers certainly notice the difference, and i wish i&#039;d done it before.</description>
		<content:encoded><![CDATA[<p>Alex &#8211; native Zope was around 5-10 requests a second ( if I remember correctly ) &#8211; with varnish &#8211; about 200&#8230; which is enough <img src='http://codepoets.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>The customers certainly notice the difference, and i wish i&#8217;d done it before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Howells</title>
		<link>http://codepoets.co.uk/2010/varnish-zope-multiple-zope-instances-behind-a-single-varnish-cache/comment-page-1/#comment-1105</link>
		<dc:creator>Alex Howells</dc:creator>
		<pubDate>Thu, 04 Feb 2010 21:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://codepoets.co.uk/?p=85#comment-1105</guid>
		<description>I love Varnish to bits &lt;3

At the moment I am using HAproxy as a front-end and L7-capable load balancer for all the incoming HTTP traffic: it also terminates all the SSL connections for me.

For sites which have caching enabled this then feeds into Varnish, which is there primarily to cache static content and stop those GET requests hitting the application servers which power the dynamic apps. Being able to script up different policies for various types of files is awesome.

Finally you have Apache, memcached and all the &quot;usual&quot; gubbins in the back end.

How much additional performance are you getting by using Varnish rather than just dishing the requests straight to Zope?</description>
		<content:encoded><![CDATA[<p>I love Varnish to bits &lt;3</p>
<p>At the moment I am using HAproxy as a front-end and L7-capable load balancer for all the incoming HTTP traffic: it also terminates all the SSL connections for me.</p>
<p>For sites which have caching enabled this then feeds into Varnish, which is there primarily to cache static content and stop those GET requests hitting the application servers which power the dynamic apps. Being able to script up different policies for various types of files is awesome.</p>
<p>Finally you have Apache, memcached and all the &quot;usual&quot; gubbins in the back end.</p>
<p>How much additional performance are you getting by using Varnish rather than just dishing the requests straight to Zope?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

