- Zookeeper ๋ ๋จ์ํ ๋๋ ํ ๋ฆฌ ํํ์ ๋ฐ์ดํฐ ์ ์ฅ์
- Coordinaton Service System
- Info sharing between systems
- Status checking
- Synchronizing with locks
- Request Processor: Processes Write Request
- Zab(Zookeeper Atomic Broadcast Protocol): RP ์์ ์ฒ๋ฆฌํ ์์ฒญ์ ํธ๋์ญ์
์ผ๋ก ์์ฑํ์ฌ ๋ชจ๋ ์๋ฒ์ ์ ํ
- Leader-Propose โ Follower-Accept โ Leader Commit
- In-memory DB: znode ์ ์ ๋ณด๊ฐ ์ ์ฅ๋จ
- znode: Zookeeper ๊ฐ ์ํ๋ฅผ ์ ์ฅํ๋ ๊ณณ
- Persistent Node: ์๊ตฌ ์ ์ฅ
- Ephermeral Node: Client ์ข
๋ฃ ์ ์ ๊ฑฐ๋จ
- Sequence Node: ์์ฑ ์์ ํฌํจ
- Quorum: Leader ๊ฐ new transaction ์ ์ํํ๊ธฐ ์ํด์ ์์ ์ ํฌํจํ ๊ณผ๋ฐ์ ์๋ฒ์ ํฉ์๊ฐ ํ์
- Ensemble ์ ๊ตฌ์ฑํ๋ ์๋ฒ๊ฐ 3๊ฐ๋ผ๋ฉด, Quorum ์ 2๊ฐ์ ์๋ฒ๋ก ๊ตฌ์ฑ๋จ