SecLern
Blog · Video lessons · 2 min

What WhatsApp's ticks really mean: how a chat server delivers a message

What WhatsApp's ticks really mean: how a chat server delivers a message

By The SecLern Team · Nov 23, 2026

Transcript

Ana in Lisbon texts her brother Leo: "Landed yet?" One grey tick. Leo is still in the air, with his phone off. Two hours later, two ticks. Then they turn blue. Each tick is a promise a server kept. So let's build that server. Start with one server. Every phone keeps a connection open to it, like a phone line that never hangs up. That way the server can push messages in the moment they arrive, instead of every phone asking "anything new?" every few seconds. Ana hits send. Her message travels up her connection. The server saves it and answers: got it. That answer is the first tick. It means the server has it. Not Leo. Now the server looks Leo up. No open connection. He's offline. So the message goes into Leo's mailbox, a queue that waits just for him. A message from his mum lands in there too, then two from the family group. They wait in order. WhatsApp keeps undelivered messages, encrypted, for up to 30 days. Leo lands. His phone switches on and reconnects. The server empties his mailbox down the new connection. Leo's phone answers: delivered. That's the second tick, sent all the way back to Ana. Then the server deletes its copy. Leo opens the chat. His phone sends one more tiny message: read. And Ana's ticks turn blue. Now make it big. In 2012, WhatsApp held over 2 million connections on a single machine. Its server code was written in Erlang, a language first built for telephone exchanges. Today there are thousands of servers, so the first job is finding which server holds Leo's connection. In 2020, WhatsApp said it delivers about 100 billion messages a day. So remember it like this. One tick: the server has it. Two ticks: Leo's phone has it. Blue: Leo has seen it. Want to practise networking hands-on? Try it free at seclern.com, and follow for more.

The SecLern TeamSecLern builds practice questions, performance-based questions and browser-based hands-on labs for IT certifications.