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