Тёмный

AWS re:Invent 2020: Amazon DynamoDB advanced design patterns - Part 2 

AWS Events
Подписаться 120 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@LuisRuizHalo
@LuisRuizHalo 2 года назад
He speaks as he was commenting an NFL game. Calm down
@mohammedgt8102
@mohammedgt8102 2 года назад
🤣🤣. I kinda appreciate that. I always 1.5x most speakers, but he is perfect.
@khaledgaber4643
@khaledgaber4643 3 года назад
Can someone clarify the Shard key optimization donor items demo for me? how does getting the middle key from each of the list in the 100 lists ensure even distribution of keys across 100 partitions?
@ricardospear922
@ricardospear922 3 года назад
Just tagging on here, i want to know as well
@Vijayviswanathan01
@Vijayviswanathan01 3 года назад
It is pretty simple. If you take 100 values randomly and use 100 partitions, some of the partitions will be empty while others will have more data. In the test conducted here, he has 100k items and if you don't distribute 1k across 100 partitions, you will hit the 1000 WCU limit per partition. Hence what he has done is to ensure even distribution of data. Since we have fixed the partition size (100), he takes a value between 1 and 10k that would fit inside each partition. Now, we distribute the data evenly if we use this key for GSI.
@uselesvideo
@uselesvideo 7 месяцев назад
@khaledgaber4643 @ricardospear922 ;; as far as I understand it; instead of saying order#0-99 ;; what you do is insert 10000 bogus data (donor items);; this is primarily to fill out the parition space and since its big enough its gonna fill it evenly enough; then you do a parallell scan (you do it so that it roughly aproxx the number of physical partitions you have); then you get the results and get the keys that sit in the middle of the lists(100 lists in this case since there are 100 physical paritions);; instead of now giving keys like order#0-99 you can now choose a key from this list(preferably just pop the last one and give) for your data entries;; what I am failing to understand is why not just another uuiq and prefix it with something at the start to make it more evenly spaced out;; well the moral of the story is, if you are gonna create a gsi make sure the partition key is evenly spaced, this is just one trick for it :D
@robineway
@robineway 2 года назад
I love the prominent placement of Dire Straits songs in the music catalog at 20:39
@rickharold7884
@rickharold7884 2 года назад
cool, love it.
Далее
100 Identical Twins Fight For $250,000
35:40
Просмотров 49 млн
DAXSHAT!!! Avaz Oxun sahnada yeg'lab yubordi
10:46
Просмотров 334 тыс.
Top AWS Services A Data Engineer Should Know
13:11
Просмотров 166 тыс.
Microservices with Databases can be challenging...
20:52
100 Identical Twins Fight For $250,000
35:40
Просмотров 49 млн