Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Add a flags link to the table of contents #315

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ing-eoking
Copy link
Collaborator

๐Ÿ”— Related Issue

โŒจ๏ธ What I did

  • arcus-cloud-basic ๋ฌธ์„œ์— flags ์„ค๋ช…์„ ์ถ”๊ฐ€ํ•˜๋Š” ๊ณผ์ •์—์„œ ๋ˆ„๋ฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
  • ๋จธ๋ฆฌ๋ง์˜ ๋ชฉ์ฐจ์— ๋งํฌ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

@@ -21,6 +21,7 @@ ARCUS cache server์˜ key-value ๋ชจ๋ธ์€ ์•„๋ž˜์˜ ๊ธฐ๋ณธ ์ œ์•ฝ ์‚ฌํ•ญ์„ ๊ฐ€
- [Cache Key](01-arcus-cloud-basics.md#cache-key)
- [Cache Item](01-arcus-cloud-basics.md#cache-item)
- [Expiration, Eviction, and Sticky Item](01-arcus-cloud-basics.md#expiration-eviction-and-sticky-item)
- [Flags](01-arcus-cloud-basics.md#flags)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ing-eoking
์งˆ๋ฌธ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  • flags ์ธ์ž๊ฐ€ kv API์—๋งŒ ์žˆ๋‚˜์š”?
  • flags ์ธ์ž๊ฐ€ collection API ๋˜๋Š” ๋‹ค๋ฅธ API์—๋„ ๋‚˜์˜ค๋‚˜์š”?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flags ์ธ์ž๋Š” KV API์—์„œ ์ง์ ‘ ์ „๋‹ฌ๋˜๊ฑฐ๋‚˜, ์ปฌ๋ ‰์…˜ API์—์„œ ํ™œ์šฉ๋˜๋Š” Attributes API๋ฅผ ํ†ตํ•ด ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ing-eoking
Flags ์„ค๋ช…์„ ์•„๋ž˜ ํ˜•ํƒœ๋กœ ์ˆ˜์ •ํ•˜๋ฉด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.
์•„๋ž˜ ๋ฌธ์žฅ์„ ์™„์„ฑํ•  ์ˆ˜ ์žˆ๋‚˜์š”?


Cache Item Flags

๊ฐ cache item์€ value์™€ ํ•จ๊ป˜ ์ €์žฅํ•˜๊ฑฐ๋‚˜ ์กฐํšŒํ•˜๋Š” ์ •์ˆ˜ํ˜•์˜ flags ๊ฐ’์„ ๊ฐ€์ง„๋‹ค.
Flags ๊ฐ’์€ ์ฃผ๋กœ value์— ๊ด€ํ•œ ์ •๋ณด๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์šฉ๋„์ด๋ฉฐ, ์˜ˆ์‹œ๋กœ value์— ์ €์žฅ๋œ ๋ฐ์ดํ„ฐ์˜ ์œ ํ˜•์ด๋‚˜ ์••์ถ•(compression) ์—ฌ๋ถ€ ๋“ฑ์„ ๋‚˜ํƒ€๋‚ด๋Š” ๋น„ํŠธ ํ•„๋“œ๋กœ ํ™œ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.

์ฃผ์˜ ์‚ฌํ•ญ์œผ๋กœ, flags ๊ฐ’์˜ ์‚ฌ์šฉ ๋ฐฉ์‹์€ Key-Value item์— ๊ด€ํ•œ API์—์„œ ์œ ํšจํ•˜๊ฒŒ ๊ตฌํ˜„๋˜์–ด ์žˆ์ง€๋งŒ, collection items์— ๊ด€ํ•œ API์—์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์œ ํšจํ•˜์ง€ ์•Š๋‹ค.

  • Key-Value Item์— ๊ด€ํ•œ API์—์„œ๋Š” ์ €์žฅ ์‹œ์— value์™€ ํ•จ๊ป˜ flags ๊ฐ’์„ ์ €์žฅํ•˜๊ณ , ์กฐํšŒ ์‹œ์— value์™€ ํ•จ๊ป˜ flags ๊ฐ’์„ ์กฐํšŒํ•œ๋‹ค.
  • Collectio Item์— ๊ด€ํ•œ API์—์„œ๋Š” .... ์ด๋‹ค.

Copy link
Contributor

@jhpark816 jhpark816 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ฆฌ๋ทฐ ์™„๋ฃŒ.

@@ -21,6 +21,7 @@ ARCUS cache server์˜ key-value ๋ชจ๋ธ์€ ์•„๋ž˜์˜ ๊ธฐ๋ณธ ์ œ์•ฝ ์‚ฌํ•ญ์„ ๊ฐ€
- [Cache Key](01-arcus-cloud-basics.md#cache-key)
- [Cache Item](01-arcus-cloud-basics.md#cache-item)
- [Expiration, Eviction, and Sticky Item](01-arcus-cloud-basics.md#expiration-eviction-and-sticky-item)
- [Flags](01-arcus-cloud-basics.md#flags)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ing-eoking
Flags ์„ค๋ช…์„ ์•„๋ž˜ ํ˜•ํƒœ๋กœ ์ˆ˜์ •ํ•˜๋ฉด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.
์•„๋ž˜ ๋ฌธ์žฅ์„ ์™„์„ฑํ•  ์ˆ˜ ์žˆ๋‚˜์š”?


Cache Item Flags

๊ฐ cache item์€ value์™€ ํ•จ๊ป˜ ์ €์žฅํ•˜๊ฑฐ๋‚˜ ์กฐํšŒํ•˜๋Š” ์ •์ˆ˜ํ˜•์˜ flags ๊ฐ’์„ ๊ฐ€์ง„๋‹ค.
Flags ๊ฐ’์€ ์ฃผ๋กœ value์— ๊ด€ํ•œ ์ •๋ณด๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์šฉ๋„์ด๋ฉฐ, ์˜ˆ์‹œ๋กœ value์— ์ €์žฅ๋œ ๋ฐ์ดํ„ฐ์˜ ์œ ํ˜•์ด๋‚˜ ์••์ถ•(compression) ์—ฌ๋ถ€ ๋“ฑ์„ ๋‚˜ํƒ€๋‚ด๋Š” ๋น„ํŠธ ํ•„๋“œ๋กœ ํ™œ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.

์ฃผ์˜ ์‚ฌํ•ญ์œผ๋กœ, flags ๊ฐ’์˜ ์‚ฌ์šฉ ๋ฐฉ์‹์€ Key-Value item์— ๊ด€ํ•œ API์—์„œ ์œ ํšจํ•˜๊ฒŒ ๊ตฌํ˜„๋˜์–ด ์žˆ์ง€๋งŒ, collection items์— ๊ด€ํ•œ API์—์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์œ ํšจํ•˜์ง€ ์•Š๋‹ค.

  • Key-Value Item์— ๊ด€ํ•œ API์—์„œ๋Š” ์ €์žฅ ์‹œ์— value์™€ ํ•จ๊ป˜ flags ๊ฐ’์„ ์ €์žฅํ•˜๊ณ , ์กฐํšŒ ์‹œ์— value์™€ ํ•จ๊ป˜ flags ๊ฐ’์„ ์กฐํšŒํ•œ๋‹ค.
  • Collectio Item์— ๊ด€ํ•œ API์—์„œ๋Š” .... ์ด๋‹ค.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants