ring and storage questions

asked 2016-06-07 15:12:51 -0500

c3672050 gravatar image


I just read the swift whitepaper and have questions regarding the following:

Rings: Maps logical names of data to locations on particular disks

the Account name, Container name and Object name are all used to determine the Partition where this object should live.

  1. Partitions contain objects and the corresponding databases. And multiple partition are stored on a storage node, right?
  2. Multiple storage nodes can build a zone, correct?

  3. What does the ring decide? The zone or storage node or the partition on a storage node?

  4. Can I modify the ring's hash code? Like saying that all objects with the prefix /xx/ are stored on a single storage node (while still being replicated)?
edit retag flag offensive close merge delete