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