Ask Your Question

How achieve strong consistency in Swift?

asked 2015-03-27 10:43:41 -0600

Gayana gravatar image

If I need to achieve strong consistency with a quorum system what are the changes I need to do to the current Swift code?

What fundamental assumptions in swift are affected if required to build strong consistency?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-05 04:14:04 -0600

SamYaple gravatar image

Swift by its very nature is eventually consistent. I don't believe there is anyway to change this through options. Additionally, due to its very nature I am not sure you will be able to change the current Swift code to do this with any ease. Perhaps someone will come along and correct me on this.

I would recommend looking into an alternative backend for storing data such as ceph which is strongly consistent. is for achieving that goal. In this case you would have a ceph cluster and swift-proxies which write and read objects into that cluster.

edit flag offensive delete link more


Thanks for the answer. Your suggestion helped.

Gayana gravatar imageGayana ( 2015-04-15 15:46:10 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-27 10:43:41 -0600

Seen: 169 times

Last updated: Apr 05 '15