You open the same website twice.
The second time, it loads much faster.
Where did the speed come from?
Browser cache?
DNS cache?
CDN?
Server cache?
Something else?
How many different caches might your request pass through?
Google Maps says:
Traffic: 18 minutes slower than usual
How does Google actually know that there is traffic?
Millions of people aren't manually reporting it.
You pause a movie on your phone.
Later, you open Netflix on your TV. The movie is sitting exactly where you stopped.
How does Netflix know? And what happens if your phone goes offline immediately after you pause it?
You send someone a message on WhatsApp. They're offline. Three hours later, they come online. Your message appears. Where was your message sitting for those three hours? And how does WhatsApp know when to deliver it?
A user clicks Submit twice.
Your backend receives both requests.
Both requests succeed. The user gets charged twice.
Whose fault is it?
Frontend?
Backend?
Database?
Payment provider?
Or all of them?
A production system works perfectly during the day.
Every night around 2:00 AM, requests start becoming slower.
At 3:00 AM, everything returns to normal.
No deployment happens at 2:00 AM.
Where would you start looking?
You click Pay.
Your bank account gets debited.
The merchant doesn't get the money immediately.
You refresh and it says: Payment processing... Then your internet dies.
What should happen if you open the app tomorrow? And how does the system know whether the payment succeeded?
The “just add Redis” question
Your application is slow.
A developer says: “Let's add Redis.”
What problem are they actually trying to solve? And more importantly, when would Redis make the system worse instead of better?
You type: https://t.co/ZMG6pw3wlH and press Enter.
What actually happens between that moment and the webpage appearing on your screen?
Not the simplified “DNS to server to response” explanation. What actually happens?
Your database is at 95% CPU.
You look at the application.
Nothing looks particularly wrong.
There are no obviously terrible queries.
What's the first thing you'd investigate before touching the database architecture?
Your API is handling 10,000 requests per second.
Things start getting slow, so you double your servers.
Nothing gets faster.
You double them again.
Still nothing.
What is probably happening?
In celebration of international women’s day yesterday we spoke about “Challenges women face in the tech space, how to overcome it and how to be motivated in a space dominated by men”
Women should be celebrated always.
#GPPB24
CALL FOR VOLUNTEERS.🔊
We are on the lookout for passionate and skilled volunteers to join the GPBB team of Volunteers and advance the course of its success.
Join our team and let's make impact together!
We can't wait to have you on board!🥳
https://t.co/6o0LPn88kA