swift/test/unit/obj
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
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
test_auditor.py Ensure sys.exit called in fork_child after exception 2014-10-02 17:46:06 -04:00
test_diskfile.py Fix a few edges where we lost python 2.6 support 2015-01-08 18:22:40 -08:00
test_expirer.py Fix bug with expirer and unicode 2014-10-10 14:22:04 -07:00
test_replicator.py Allow rsync to use compression 2015-03-02 14:39:58 +05:30
test_server.py Enable override of container update headers 2015-02-25 17:51:19 +00:00
test_ssync_receiver.py Replace POLICY and POLICY_INDEX with string literals 2014-06-23 12:52:50 -07:00
test_ssync_sender.py Merge "Fix ssync send_delete" 2015-02-13 00:18:38 +00:00
test_updater.py Handle os.listdir failures in object-updater 2014-11-20 16:48:38 -06:00