Push
Delivering by notifying the receiver as soon as there's something, without it having to ask.
Example
A message notification rings as soon as it arrives, without you opening the app.
Test yourself: Push
Publish-subscribe
What does pub/sub's push delivery eliminate?
Asking every 5 seconds is 720 queries per hour; with push, 0.
0/1
â–¶ PlayLessons that use it
Cache
What's asked often, close at hand
CDN
Content close to every user
Iteration and recursion
2 ways to repeat
Memory and cache
Close is fast
Stacks
Last in, first out
Message queues
Don't keep them waiting
Publish-subscribe
1 message, many listeners
SLA, SLO and SLI
Promise, target and measure
Designing WhatsApp
2 billion messages a day
Designing Twitter
1 billion tweets a day
Designing Uber
10 million rides a day
