4.1 System Interface
4.1 System Interface
Dynamo ๋ ๊ฐ๋จํ Key ๋ฅผ ํตํด ์ฐ๊ด๋ ๊ฐ์ฒด๋ฅผ ์ ์ฅํฉ๋๋ค.
๋ฐ๋ผ์ Interface ๋
get()
๊ณผput()
๋๊ฐ์ง ์์ ์ ๋ ธ์ถํฉ๋๋ค.
get(key)
locates the object replicas associated with the key in the storage system and returns a single object or a list of objects with conflicting versions along with a context.
put(key)
determines where the replicas of the object should be placed based on the associated key, and writes the replicas to disk.
Context
์์คํ ๋ฉํ ๋ฐ์ดํฐ๋ฅผ ์ธ์ฝ๋ฉํฉ๋๋ค.
ํธ์ถ์์๊ฒ ๋ถํฌ๋ช ํ ๊ฐ์ฒด์ด๋ฉฐ ๋ค์๊ณผ ๊ฐ์ ์ ๋ณด๋ฅผ ํฌํจํฉ๋๋ค.
The context information is stored along with the object so that the system can verify the validity of the context object supplied in the put request.
Dynamo
Dynamo๋ ํธ์ถ์๊ฐ ์ ๊ณต ํ ํค์ ๊ฐ์ฒด๋ฅผ ๋ชจ๋ ์ฒ๋ฆฌํฉ๋๋ค.
It applies a MD5 hash on the key to generate a 128-bit identifier, which is used to determine the storage nodes that are responsible for serving the key.
Last updated