4.3 Replication

Replication ์ด ํ•„์š”ํ•œ ์ด์œ 

  • ๊ณ ๊ฐ€์šฉ์„ฑ ๋ฐ ๋‚ด๊ตฌ์„ฑ์„ ๋‹ฌ์„ฑํ•˜๊ธฐ ์œ„ํ•ด, Dynamo ๋Š” ์—ฌ๋Ÿฌ ํ˜ธ์ŠคํŠธ์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณต์ œํ•ฉ๋‹ˆ๋‹ค.

Replication ๋ฐฉ์‹

  • ๊ฐ ๋ฐ์ดํ„ฐ ํ•ญ๋ชฉ์€ N๊ฐœ์˜ ํ˜ธ์ŠคํŠธ์—์„œ ๋ณต์ œ๋ฉ๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์„œ N ์€ ์ธ์Šคํ„ด์Šค๋ณ„๋กœ ๊ตฌ์„ฑ๋œ ๋งค๊ฐœ๋ณ€์ˆ˜์ž…๋‹ˆ๋‹ค.

  • ๊ฐ Key ๋Š” coordinator ๋…ธ๋“œ์— ํ• ๋‹น๋ฉ๋‹ˆ๋‹ค.

The coordinator is in charge of the replication of the data items that fall within its range. In addition to locally storing each key within its range, the coordinator replicates these keys at the N-1 clockwise successor nodes in the ring. This results in a system where each node is responsible for the region of the ring between it and its Nth predecessor. In Figure 2, node B replicates the key k at nodes C and D in addition to storing it locally. Node D will store the keys that fall in the ranges (A, B], (B, C], and (C, D].

Last updated