You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by paul jobs <we...@gmail.com> on 2008/12/30 12:47:24 UTC

conf for using varnish or squid with couchdb

Is it possible for one of the advanced users of couchdb to share the varnish
config for use with couchdb or squid config

i would love to add it to the couchdb wiki, it would be a great addition to
the exhaustive material in the wiki

thanks

Re: conf for using varnish or squid with couchdb

Posted by Jan Lehnardt <ja...@apache.org>.
On 31 Dec 2008, at 09:12, paul jobs wrote:

> 6081 it runs in this port
> but how to make varnish skip put, post and delete requests and send it
> directly to 5984

this is not the varnish mailing list. I still strongly suggest reading:
http://www.catb.org/~esr/faqs/smart-questions.html

Cheers
Jan
--
>
>
> On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>>
>> There's nothing special about using a proxy in front of CouchDB  
>> that with
>> any other http server.
>>
>> the proxy's docs are usualy exhaustive for this default case:
>>
>> http://wiki.codemongers.com/NginxLoadBalanceExample
>>
>> for varnish just put in couchdb's ip and port into the default  
>> config file
>> as a backend.
>>
>> Cheers
>> Jan
>> --
>> On 30 Dec 2008, at 12:47, paul jobs wrote:
>>
>> Is it possible for one of the advanced users of couchdb to share the
>>> varnish
>>> config for use with couchdb or squid config
>>>
>>> i would love to add it to the couchdb wiki, it would be a great  
>>> addition
>>> to
>>> the exhaustive material in the wiki
>>>
>>> thanks
>>>
>>
>>


Re: conf for using varnish or squid with couchdb

Posted by paul jobs <we...@gmail.com>.
6081 it runs in this port
but how to make varnish skip put, post and delete requests and send it
directly to 5984

On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>
> There's nothing special about using a proxy in front of CouchDB that with
> any other http server.
>
> the proxy's docs are usualy exhaustive for this default case:
>
> http://wiki.codemongers.com/NginxLoadBalanceExample
>
> for varnish just put in couchdb's ip and port into the default config file
> as a backend.
>
> Cheers
> Jan
> --
> On 30 Dec 2008, at 12:47, paul jobs wrote:
>
>  Is it possible for one of the advanced users of couchdb to share the
>> varnish
>> config for use with couchdb or squid config
>>
>> i would love to add it to the couchdb wiki, it would be a great addition
>> to
>> the exhaustive material in the wiki
>>
>> thanks
>>
>
>

Re: conf for using varnish or squid with couchdb

Posted by paul jobs <we...@gmail.com>.
can u share the varnish conf, as it requires a new language vcl

On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>
> Depends on your errors.
>
> Running Varnish in front of CouchDB resulted in better read performance for
> a test setup here.
>
> Cheers
> Jan
> --
>
> On 30 Dec 2008, at 13:08, paul jobs wrote:
>
>  jan thanks a lot
>> does do this in varnish help alleviate the load on couchdb? as i m seeing
>> tons of errors in my couchdb instance and hoping to try varnish to see if
>> it
>> reduces # of errors
>>
>>
>> On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>>
>>>
>>> There's nothing special about using a proxy in front of CouchDB that with
>>> any other http server.
>>>
>>> the proxy's docs are usualy exhaustive for this default case:
>>>
>>> http://wiki.codemongers.com/NginxLoadBalanceExample
>>>
>>> for varnish just put in couchdb's ip and port into the default config
>>> file
>>> as a backend.
>>>
>>> Cheers
>>> Jan
>>> --
>>> On 30 Dec 2008, at 12:47, paul jobs wrote:
>>>
>>> Is it possible for one of the advanced users of couchdb to share the
>>>
>>>> varnish
>>>> config for use with couchdb or squid config
>>>>
>>>> i would love to add it to the couchdb wiki, it would be a great addition
>>>> to
>>>> the exhaustive material in the wiki
>>>>
>>>> thanks
>>>>
>>>>
>>>
>>>
>

Re: conf for using varnish or squid with couchdb

Posted by Jan Lehnardt <ja...@apache.org>.
Depends on your errors.

Running Varnish in front of CouchDB resulted in better read  
performance for
a test setup here.

Cheers
Jan
--

On 30 Dec 2008, at 13:08, paul jobs wrote:

> jan thanks a lot
> does do this in varnish help alleviate the load on couchdb? as i m  
> seeing
> tons of errors in my couchdb instance and hoping to try varnish to  
> see if it
> reduces # of errors
>
>
> On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>>
>> There's nothing special about using a proxy in front of CouchDB  
>> that with
>> any other http server.
>>
>> the proxy's docs are usualy exhaustive for this default case:
>>
>> http://wiki.codemongers.com/NginxLoadBalanceExample
>>
>> for varnish just put in couchdb's ip and port into the default  
>> config file
>> as a backend.
>>
>> Cheers
>> Jan
>> --
>> On 30 Dec 2008, at 12:47, paul jobs wrote:
>>
>> Is it possible for one of the advanced users of couchdb to share the
>>> varnish
>>> config for use with couchdb or squid config
>>>
>>> i would love to add it to the couchdb wiki, it would be a great  
>>> addition
>>> to
>>> the exhaustive material in the wiki
>>>
>>> thanks
>>>
>>
>>


Re: conf for using varnish or squid with couchdb

Posted by paul jobs <we...@gmail.com>.
http://varnish.projects.linpro.no/wiki/LoadBalancing

On 12/30/08, paul jobs <we...@gmail.com> wrote:
>
> jan thanks a lot
> does do this in varnish help alleviate the load on couchdb? as i m seeing
> tons of errors in my couchdb instance and hoping to try varnish to see if it
> reduces # of errors
>
>
>  On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>>
>> There's nothing special about using a proxy in front of CouchDB that with
>> any other http server.
>>
>> the proxy's docs are usualy exhaustive for this default case:
>>
>> http://wiki.codemongers.com/NginxLoadBalanceExample
>>
>> for varnish just put in couchdb's ip and port into the default config file
>> as a backend.
>>
>> Cheers
>> Jan
>> --
>> On 30 Dec 2008, at 12:47, paul jobs wrote:
>>
>> Is it possible for one of the advanced users of couchdb to share the
>>> varnish
>>> config for use with couchdb or squid config
>>>
>>> i would love to add it to the couchdb wiki, it would be a great addition
>>> to
>>> the exhaustive material in the wiki
>>>
>>> thanks
>>>
>>
>>
>

Re: conf for using varnish or squid with couchdb

Posted by paul jobs <we...@gmail.com>.
jan thanks a lot
does do this in varnish help alleviate the load on couchdb? as i m seeing
tons of errors in my couchdb instance and hoping to try varnish to see if it
reduces # of errors


On 12/30/08, Jan Lehnardt <ja...@apache.org> wrote:
>
> There's nothing special about using a proxy in front of CouchDB that with
> any other http server.
>
> the proxy's docs are usualy exhaustive for this default case:
>
> http://wiki.codemongers.com/NginxLoadBalanceExample
>
> for varnish just put in couchdb's ip and port into the default config file
> as a backend.
>
> Cheers
> Jan
> --
> On 30 Dec 2008, at 12:47, paul jobs wrote:
>
> Is it possible for one of the advanced users of couchdb to share the
>> varnish
>> config for use with couchdb or squid config
>>
>> i would love to add it to the couchdb wiki, it would be a great addition
>> to
>> the exhaustive material in the wiki
>>
>> thanks
>>
>
>

Re: conf for using varnish or squid with couchdb

Posted by Jan Lehnardt <ja...@apache.org>.
There's nothing special about using a proxy in front of CouchDB that  
with any other http server.

the proxy's docs are usualy exhaustive for this default case:

http://wiki.codemongers.com/NginxLoadBalanceExample

for varnish just put in couchdb's ip and port into the default config  
file as a backend.

Cheers
Jan
--
On 30 Dec 2008, at 12:47, paul jobs wrote:

> Is it possible for one of the advanced users of couchdb to share the  
> varnish
> config for use with couchdb or squid config
>
> i would love to add it to the couchdb wiki, it would be a great  
> addition to
> the exhaustive material in the wiki
>
> thanks