Ask Your Question
0

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

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

Hi,

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
1

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

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

Comments

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

remix_tj gravatar imageremix_tj ( 2014-12-10 01:55:55 -0500 )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 -0500 )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 -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: 2014-12-09 10:52:26 -0500

Seen: 623 times

Last updated: Dec 09 '14