[Openstack] Swift Consistency Guarantees?

Nikolaus Rath Nikolaus at rath.org
Wed Jan 18 00:55:02 UTC 2012


Hello,

Amazon S3 and Google Storage make very explicit (non-) consistency
guarantees for stored objects. I'm looking for a similar documentation
about OpenStack's Swift, but haven't had much success.

Could someone summarize what kind of consistency guarantees a swift
server offers?

For example:

- If I receive a (non-error) response to a PUT request, am I guaranteed
that the object will be immediately included in all object listings in
every possible situation?

- If I receive a (non-error) response to a PUT request, am I guaranteed
that a subsequent GET will return the new data in every possible
situation (e.g. even if the server accepting the PUT crashes, and
another server with an older version of the object is still online)?

- If I receive a (non-error) response to a DELETE request, am I
guaranteed that the object will immediately be no longer included in all
object listings in every possible situation?

- If the swift server looses an object, will the object name still be
returned in object listings? Will attempts to retrieve it result in 404
errors (as if it never existed) or a different error?



Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C




More information about the Openstack mailing list