You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Kismat Sood <Ki...@spacex.com> on 2011/10/03 18:02:29 UTC
RE: Replication Question
Thank you for the link. Setting it up looks simple, but I can't tell if data is compressed when it is sent over the network during replication. Any idea where I could find this out?
Thanks again.
Kismat
-----Original Message-----
From: Nils Breunese [mailto:N.Breunese@vpro.nl]
Sent: Wednesday, September 28, 2011 1:17 AM
To: user@couchdb.apache.org
Subject: Re: Replication Question
Kismat Sood wrote:
> During replication, is the data being sent from one node to the other compressed? If so, can anyone point me to any documentation where I can learn more about it (e.g. how to set it up, what is configurable, and what is going on under the hood).
I don't know what's going on under the hood exactly, but http://wiki.apache.org/couchdb/Replication should tell you all about what you can do with replication.
Nils.
------------------------------------------------------------------------
VPRO www.vpro.nl
------------------------------------------------------------------------
RE: Replication Question
Posted by Nils Breunese <N....@vpro.nl>.
Run something like tcpdump and check the traffic?
Nils.
________________________________________
Van: Kismat Sood [Kismat.Sood@spacex.com]
Verzonden: maandag 3 oktober 2011 18:02
Aan: user@couchdb.apache.org
Onderwerp: RE: Replication Question
Thank you for the link. Setting it up looks simple, but I can't tell if data is compressed when it is sent over the network during replication. Any idea where I could find this out?
Thanks again.
Kismat
------------------------------------------------------------------------
VPRO www.vpro.nl
------------------------------------------------------------------------
Re: Replication Question
Posted by Cory Zue <cz...@dimagi.com>.
On Mon, Oct 3, 2011 at 12:10 PM, Filipe David Manana <fd...@apache.org>wrote:
> On Mon, Oct 3, 2011 at 9:02 AM, Kismat Sood <Ki...@spacex.com>
> wrote:
> > Thank you for the link. Setting it up looks simple, but I can't tell if
> data is compressed when it is sent over the network during replication. Any
> idea where I could find this out?
>
If you needed it to be compressed you could try replicating through a
compressed ssh tunnel. We have had success with this approach in
low-bandwidth environments and it solves some of the problems of data
overhead and gets you secure replication without setting up complicated
proxies to boot.
Cory
>
>
>
> >
> > Thanks again.
> > Kismat
> >
> >
> > -----Original Message-----
> > From: Nils Breunese [mailto:N.Breunese@vpro.nl]
> > Sent: Wednesday, September 28, 2011 1:17 AM
> > To: user@couchdb.apache.org
> > Subject: Re: Replication Question
> >
> > Kismat Sood wrote:
> >
> >> During replication, is the data being sent from one node to the other
> compressed? If so, can anyone point me to any documentation where I can
> learn more about it (e.g. how to set it up, what is configurable, and what
> is going on under the hood).
> >
> > I don't know what's going on under the hood exactly, but
> http://wiki.apache.org/couchdb/Replication should tell you all about what
> you can do with replication.
> >
> > Nils.
> > ------------------------------------------------------------------------
> > VPRO www.vpro.nl
> > ------------------------------------------------------------------------
> >
>
>
>
> --
> Filipe David Manana,
>
> "Reasonable men adapt themselves to the world.
> Unreasonable men adapt the world to themselves.
> That's why all progress depends on unreasonable men."
>
Re: Replication Question
Posted by Filipe David Manana <fd...@apache.org>.
On Mon, Oct 3, 2011 at 9:02 AM, Kismat Sood <Ki...@spacex.com> wrote:
> Thank you for the link. Setting it up looks simple, but I can't tell if data is compressed when it is sent over the network during replication. Any idea where I could find this out?
Only attachments that were stored in compressed form (gzip, see the
[attachments] section in the .ini config) will be send to the target
in compressed form.
You can always verify it by yourself using a packet sniffer
(wireshark, tcpdump, tcpflow) - it's http and json, how easier could
it be?
>
> Thanks again.
> Kismat
>
>
> -----Original Message-----
> From: Nils Breunese [mailto:N.Breunese@vpro.nl]
> Sent: Wednesday, September 28, 2011 1:17 AM
> To: user@couchdb.apache.org
> Subject: Re: Replication Question
>
> Kismat Sood wrote:
>
>> During replication, is the data being sent from one node to the other compressed? If so, can anyone point me to any documentation where I can learn more about it (e.g. how to set it up, what is configurable, and what is going on under the hood).
>
> I don't know what's going on under the hood exactly, but http://wiki.apache.org/couchdb/Replication should tell you all about what you can do with replication.
>
> Nils.
> ------------------------------------------------------------------------
> VPRO www.vpro.nl
> ------------------------------------------------------------------------
>
--
Filipe David Manana,
"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."