Pull
Delivering only when the receiver asks if there's anything new.
Example
A consumer asking the queue every 1 second makes 3,600 questions per hour.
Test yourself: Pull
Message queues
With ___, the queue notifies the consumer when there's a message.
With push there are no empty questions: 0 queries while nothing arrives.
0/1
â–¶ PlayLessons that use it
CDN
Content close to every user
RAID
Many disks, one team
Binary search trees
Smaller on the left, larger on the right
AVL trees
A tree that straightens itself
Message queues
Don't keep them waiting
Monoliths and microservices
1 block or many pieces
Designing WhatsApp
2 billion messages a day
Designing Twitter
1 billion tweets a day
Designing Uber
10 million rides a day
