Re: Replication: GZIP compression in WAL sender/receiver processes communication?

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: dmitry(at)koterov(dot)ru
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Replication: GZIP compression in WAL sender/receiver processes communication?
Date: 2013-12-30 22:03:16
Message-ID: CAL_0b1t8=RMaaDV9PR1ffwkrZ28DqVoj8rjt6wBDUFD5uNikcw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Dec 9, 2013 at 3:13 PM, Dmitry Koterov <dmitry(at)koterov(dot)ru> wrote:
> Is there a way to compress the traffic between master and slave during the
> replication?.. The streaming gzip would be quite efficient for that.

Take a look at the ssh_tunnel.sh [1] tool. This is a wrapper around
SSH tunnel with compression, a watchdog and lock management. Very
useful for cross data center streaming.

[1] https://github.com/grayhemp/pgcookbook/blob/master/ssh_tunnel_with_compression_setup.md

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Seb 2013-12-31 01:53:06 bulk loading table via join of 2 large staging tables
Previous Message Jeff Silberberg 2013-12-30 21:01:01 Re: Fwd: Web Hosting support for pgsql in PHP