swift/test/unit
Prashanth Pai 9c33bbde69 Allow rsync to use compression
From rsync's man page:
-z, --compress
With this option, rsync compresses the file data as it is sent to the
destination machine, which reduces the amount of data being transmitted --
something that is useful over a slow connection.

A configurable option has been added to allow rsync to compress, but only
if the remote node is in a different region than the local one.

NOTE: Objects that are already compressed (for example: .tar.gz, .mp3)
might slow down the syncing process.

On wire compression can also be extended to ssync later in a different
change if required. In case of ssync, we could explore faster
compression libraries like lz4. rsync uses zlib which is slow but offers
higher compression ratio.

Change-Id: Ic9b9cbff9b5e68bef8257b522cc352fc3544db3c
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2015-03-02 14:39:58 +05:30
..
account Merge "Output account-reaper's logs for PolicyError" 2015-02-21 01:55:16 +00:00
cli Ring checker in swift-recon 2015-02-26 01:26:02 +05:30
common Allow rsync to use compression 2015-03-02 14:39:58 +05:30
container Fix failing tox -e py26 tests 2015-02-24 17:14:41 +00:00
obj Allow rsync to use compression 2015-03-02 14:39:58 +05:30
proxy Add support of x-remove- headers for container-sync 2015-02-19 15:43:31 +01:00
test_locale Move test.unit.locale out of gettext's way 2014-01-24 01:24:08 -08:00
__init__.py Make more memcache options configurable 2015-01-14 11:16:32 -05:00