Re: Varnish

2013-06-29 Thread Lance Norskog
Solr HTTP caching also support "e-tags". These are unique keys for the output of a query. If you send a query twice, and the index has not changed, the return will be the same. The e-tag is generated from the query string and the index generation number. If Varnish supports e-tags, you can kee

Re: Varnish

2013-06-29 Thread William Bell
On a large website, by putting 1 varnish in front of all 4 SOLR boxes we were able to trim 25% off the load time (TTFB) of the page. Our hit ratio was between 55 and 75%. We gave varnish 24GB of RAM, and was not able to fill it under full load with a 10 minute cache timeout. We get about 2.4M SOL

Re: Varnish

2013-06-29 Thread William Bell
OK. Here is the answer for us. Here is a sample default.vcl. We are validating the LastModified ( if (!beresp.http.last-modified) ) is changing when the core is indexed and the version changes of the index. This does 10 minutes caching and a 1hr grace period (if solr is down, it will deliver resu

Re: Varnish

2013-06-25 Thread Learner
Check this link.. http://lucene.472066.n3.nabble.com/SolrJ-HTTP-caching-td490063.html -- View this message in context: http://lucene.472066.n3.nabble.com/Varnish-tp4072057p4073205.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Varnish

2013-06-24 Thread William Bell
Yes. A lot of people are using it in front of SOLR to speed up and reduce the Garbase Collections. On Fri, Jun 21, 2013 at 9:44 AM, Jack Park wrote: > I presume you mean https://www.varnish-cache.org/ > That's the first I'd heard of it. > > Thanks > Jack > > On Thu, Jun 20, 2013 at 10:48 PM, W

Re: Varnish

2013-06-21 Thread Jack Park
I presume you mean https://www.varnish-cache.org/ That's the first I'd heard of it. Thanks Jack On Thu, Jun 20, 2013 at 10:48 PM, William Bell wrote: > Who is using varnish in front of SOLR? > > Anyone have any configs that work with the cache control headers of SOLR? > > -- > Bill Bell > billnb