lazypic / assetflow

lazypic asset managing cmd tool
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

모범사례 리서치하기. #5

Closed khw7096 closed 5 years ago

khw7096 commented 5 years ago
khw7096 commented 5 years ago

스키마 설계시 가장 자주 쿼리하게될 기능으로 설계할 것

khw7096 commented 5 years ago

https://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/bp-general-nosql-design.html

khw7096 commented 5 years ago

데이터 크기 계산하는방법 : https://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/CapacityUnitCalculations.html

속성 이름자체도 줄일수 있다면 줄일것.

khw7096 commented 5 years ago

오픈소스개발자 모델은 사람이 사람을 소개하기 때문에 급격하게 늘어날 수 있다. 1000명에서 2000명의 모델을 지원하도록 설계하기.

khw7096 commented 5 years ago

일반적으로 영어는 1바이트, 한국어는 3바이트

1. One byte is needed to encode the 128 US-ASCII characters (Unicode range U+0000 to U+007F).
2. Two bytes are needed for Latin letters with diacritics and for characters from Greek, Cyrillic, Armenian, Hebrew, Arabic, Syriac and Thaana alphabets (Unicode range U+0080 to U+07FF).
3. Three bytes are needed for the rest of the Basic Multilingual Plane (which contains virtually all characters in common use).
4. Four bytes are needed for characters in the other planes of Unicode, which are rarely used in practice.
khw7096 commented 5 years ago

단일 쿼리 최대 1메가 : https://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/Query.html