Urgent.News

What's breaking now, across hundreds of outlets.

Tech

📱 Let's learn System Design by designing WhatsApp

📱 System Design do WhatsApp Neste artigo, mostramos como o WhatsApp pode ser desenhado passo a passo, começando pelos problemas reais do sistema e descobrindo, a partir deles, os conceitos de engenharia necessários para resolvê-los. Uma aprendizagem adaptativa através dos problemas 👨🏾💻 Pedro & 🤵🏾♂️ João Introdução Esta não é uma aula tradicional de System Design. É o registro de uma sessão…

Translated from Portuguese Read in Portuguese

A learning session was recorded where Pedro attempted to design a system similar to WhatsApp, starting with real-world problems and discovering necessary engineering concepts to solve them. The session began with two users wanting to exchange a message, and Pedro proposed using the Internet, a server, and a connection to send the message.

The discussion led to the use of WebSocket for persistent and bidirectional communication, Load Balancer to distribute connections, and Redis as a shared state layer to keep track of user connections. The conversation also touched on issues such as handling disconnections, heartbeats, and message acknowledgments.

Summarised by urgent.news, not translated. Machine-written; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

More from Wednesday 23 September →