Swift cluster-facing network for multi zone and multi region setup

asked 2014-12-09 10:52:26 -0600


i'm planning my swift setup and i need some hints for networking. I've decided to use a dedicated network for communication between proxy server and storage nodes, but i do not completely understand what are the requirements.

  • in a single region with multiple zones, do i need that proxy can contact every storage node, indipendently from the zone where it is?

  • instead, in case of multiple region setup, i've understood that at least a proxy node in each region is required. Does the proxy node of a region need to contact storage node of other regions?

At the end of the configuration i'll have 2 regions, each one with at least 2 zones, but now i'm starting small with a single region.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-09 15:55:02 -0600

zaitcev gravatar image

In short: 1) yes, 2) yes.

Only storage nodes are grouped into zones. A proxy node consults the appropriate ring (a, c, or o), and then scatters copies into zones as separately as possible, to provide the data durability. Therefore any proxy needs to reach nodes in all zones.

Proxies also reach across regions. They try not to, or if they have to, they (with Kota Tsuzuyaki's patch) only send 1 copy per foreign region. Still, they need visibility into other regions.

edit flag offensive delete link more


Thank you, was not so clear to me from the doc

remix_tj gravatar imageremix_tj ( 2014-12-10 01:55:55 -0600 )edit

just as a reminder, you'll need a private network which connects all storages and proxys, so data would not travel insecure across Internet

guimaluf gravatar imageguimaluf ( 2014-12-10 10:39:37 -0600 )edit

Absolutely, protection of the back-haul network in Swift is essential. Oh and just in case: it may be routed (have several subnets). Swift does not use link-level broadcasts.

zaitcev gravatar imagezaitcev ( 2014-12-10 16:35:28 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-09 10:52:26 -0600

Seen: 713 times

Last updated: Dec 09 '14