December 3, 2026·4 min read
What a WhatsApp conversation taught me about system design
I asked my engineering lead how to learn system design. We ended up talking about what happens when a government asks WhatsApp for someone's messages.
I asked my engineering lead how to learn system design. We ended up talking about what happens when a government asks WhatsApp for someone's messages.
I'd been putting that conversation off.
System design felt like something I should already understand. And the longer I avoided it, the more awkward it felt to ask where to start.
A few weeks ago, I finally asked.
I expected a few links. Maybe a book recommendation.
We talked for an hour.
Somewhere in that conversation, he brought up WhatsApp.
For ordinary personal chats, WhatsApp generally deletes messages from its servers once they're delivered. If delivery fails, it can hold them encrypted for up to 30 days while it keeps trying.
My first thought was: Privacy feature. Makes sense.
I was ready to move on. He stayed on it.
Think about what happens when a company receives a legal demand for someone's messages. What it can provide depends on what it has stored and what it can access.
With end-to-end encryption and delivered messages removed from its servers, WhatsApp generally can't retrieve the readable contents of those conversations to hand over.
I'd understood the benefit to the person sending the message. I hadn't considered what that meant for the company running the service.
Keeping less data also means having less to protect, manage, and potentially disclose.
There are caveats. WhatsApp collects certain account, device, and usage information. Reported messages and backups introduce other considerations. "They can't read your personal chats" doesn't mean "they know nothing about you."
That distinction made me slow down.
I started thinking about storing data as taking responsibility for it. Every decision to keep something creates consequences beyond the database.
Then we got onto Erlang.
A language with roots in telecom systems wasn't what I expected to find behind an app I used every day. But handling huge numbers of connections and recovering from failures were exactly the kinds of problems it was built for.
Around the time Facebook acquired WhatsApp, a team of only a few dozen engineers was supporting hundreds of millions of users.
That was the part I kept coming back to.
I'd heard impressive scale numbers before. This time, I was thinking about the people behind them. The systems they had to maintain. The things that could break. How much the technology they chose could affect their daily work.
By then, my original question felt bigger.
I'd gone in thinking I needed to learn databases, queues, caching, and load balancers. I still do.
But I was beginning to see the questions those tools help answer.
How long can people tolerate the service being unavailable? What information do we need to keep? What happens when something fails at two in the morning? Can our team actually operate what we're building?
I later learned that much of this falls under non-functional requirements: reliability, privacy, performance, and the other qualities a system needs while doing its job.
The term sounded dry. The conversation hadn't been.
It had been about trust, responsibility, and making choices you can live with as the product grows.
I'm still learning the technical pieces. I still have plenty of gaps.
But I left that conversation feeling a little less embarrassed about them. I had something more useful than a reading list: a reason to understand why each decision gets made.
I wish I'd asked sooner.
I'm writing about system design as I learn it. If you're figuring it out too, I hope these notes help.