OpenStack Storage (Swift)
Go to file
Darrell Bishop f8ce43a218 Use custom encoding for RingData, not pickle.
Serialize RingData in a versioned, custom format which is a combination
of a JSON-encoded header and .tostring() dumps of the
replica2part2dev_id arrays.  This format deserializes hundreds of times
faster than rings serialized with Python 2.7's pickle (a significant
performance regression for ring loading between Python 2.6 and Python
2.7).  Fixes bug 1031954.

swift.common.ring.ring.RingData is now responsible for serialization and
deserialization of its data via a new load() class method and save()
object method.  The new implementation is backward-compatible; if a ring
does not begin with a new-style magic string, it is assumed to be an
old-style pickle-dumped ring and is handled as before.  So new Swift
code can read old rings, but old Swift code will not be able to read
newly-serialized rings. THIS SHOULD BE MENTIONED PROMINENTLY IN THE
RELEASE NOTES.

I didn't want to bite of more than necessary, so I didn't mess with
builder file serialization.

Change-Id: I799b9a4c894d54fb16592443904ac055b2638e2d
2012-08-05 00:51:49 -07:00
bin Use custom encoding for RingData, not pickle. 2012-08-05 00:51:49 -07:00
doc Logging improvements: handoffs and thread locals 2012-07-30 00:50:13 +00:00
etc Logging improvements: handoffs and thread locals 2012-07-30 00:50:13 +00:00
locale Reverted the pulling out of various middleware: 2012-05-16 21:25:10 +00:00
swift Use custom encoding for RingData, not pickle. 2012-08-05 00:51:49 -07:00
test Use custom encoding for RingData, not pickle. 2012-08-05 00:51:49 -07:00
tools Adapt Swift for WebOb 1.2 2012-07-15 00:03:01 +09:00
.coveragerc Align tox.ini and fix coverage jobs in jenkins. 2012-06-08 20:05:14 -04:00
.functests make test runner functions return the status of running the tests 2012-04-18 15:13:09 +03:00
.gitignore Add support for venv-based test run with tox. 2012-03-07 22:44:34 -08:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 15:05:49 -04:00
.mailmap Updated AUTHORS, CHANGELOG, and version for 1.5.0 release 2012-05-27 21:31:56 -05:00
.probetests make test runner functions return the status of running the tests 2012-04-18 15:13:09 +03:00
.unittests make test runner functions return the status of running the tests 2012-04-18 15:13:09 +03:00
AUTHORS changelog for 1.6.0 2012-07-25 09:24:02 -07:00
babel.cfg add pybabel setup.py commands and initial .pot 2011-01-27 00:01:24 +00:00
CHANGELOG updated changelog with patch from review 2012-07-29 19:13:23 -07:00
LICENSE Initial commit of Swift code 2010-07-12 17:03:45 -05:00
MANIFEST.in Adding missing files in generated tarballs 2012-05-30 15:39:37 +02:00
README Split out the SAIO doc and fixed a typo in the README 2010-10-20 10:32:03 -05:00
setup.cfg Align tox.ini and fix coverage jobs in jenkins. 2012-06-08 20:05:14 -04:00
setup.py Move swift_auth middleware from keystone to swift. 2012-07-05 14:36:14 -04:00
tox.ini Align tox.ini and fix coverage jobs in jenkins. 2012-06-08 20:05:14 -04:00

Swift
-----

A distributed object store that was originally developed as the basis for 
Rackspace's Cloud Files.

To build documentation run `python setup.py build_sphinx`, and then browse to
/doc/build/html/index.html.

The best place to get started is the "SAIO - Swift All In One", which will walk
you through setting up a development cluster of Swift in a VM.

For more information, visit us at http://launchpad.net/swift, or come hang out
on our IRC channel, #openstack on freenode.

--
Swift Development Team