Can I set up Swift to use Tiered Zones?

asked 2013-08-12 15:21:12 -0500

kbsangha gravatar image

updated 2013-09-05 21:12:53 -0500

We have a requirement for 2 DC across coasts and have 1 copy in each DC. Is that feasible using the tier approach ? So DC1 (east coast will have 1 copy) and DC2 (west coast will have 1 copy).

I am referring to OpenStack Swift Object storage - Refer to this link:

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-26 17:28:09 -0500

notmyname gravatar image

Yes, it is possible. However I wouldn't recommend it unless you're ok with losing the data (which may actually be ok in some cases).

If you run with only 2 replicas in your swift cluster, you are at a much higher chance of losing data (or at least for it to be unavailable). The chances of losing three drives that share the same data at the same time are very low, and therefore three replicas are recommended.

But in your case, you are proposing that you have only two replicas and that they are separated geographically. In addition to the durability issues of only having two replicas, this means that any time a "local" replica is unavailable (either on a temporary or permanent basis), you will consume bandwidth on the WAN (ie between the regions).

If you have two regions, I'd recommend using either three or four replicas. Three replicas will give you very high durability overall, but it still may cause too much traffic over the WAN. Four replicas (ie 2 replicas in each of 2 regions) will give you high durability and also allow a much higher chance of being able to recover data from a local replica.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-12 15:21:12 -0500

Seen: 255 times

Last updated: Sep 05 '13