Ask Your Question
0

How achieve strong consistency in Swift?

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

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
1

answered 2015-04-05 04:14:04 -0500

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. https://github.com/stackforge/swift-c... 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

Comments

Thanks for the answer. Your suggestion helped.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 120 times

Last updated: Apr 05 '15