Rock paper scissors is secretly a distributed systems problem
Back in 2023 I built an online rock paper scissors game so my friends and I could settle arguments remotely. Open a room, send the link, best of three…
Latest Architecture news from Tech News
Back in 2023 I built an online rock paper scissors game so my friends and I could settle arguments remotely. Open a room, send the link, best of three…
Our status dashboard feature started life as the simplest thing that could work: every connected client polled a status endpoint every five seconds. I…
The Problem Sports scoring sounds simple. One team scores a point, the number goes up, everyone sees it. But when you build it as a web application th…
I’ve spent plenty of time wrestling with WebSockets in my career, but things get a lot more intense when you're dealing with live cardiac vitals and p…
Introduction We shipped our first 10-robot demo and thought the hard part was solved. Here’s what we learned the hard way when we moved to hundreds of…
Introduction We built a product that streams AI model outputs to browsers and backend agents in realtime. At first, a few hundred WebSocket connection…
Introduction We built a realtime AI feature for a multi-tenant SaaS: live agent assistants that coordinate across services and update UIs via WebSocke…
Introduction We hit a wall after about 10 million WebSocket events in a month. Latency spikes, dropped messages, and opaque failures started showing u…
Introduction We hit a hard wall when our realtime AI feature started processing millions of small events per day. Latency spiked, connection churn inc…
Introduction We shipped an MVP realtime AI feature: multi-agent chat, WebSocket frontends, and a small orchestration layer to route messages between a…
Introduction We hit a hard scaling wall after shipping a realtime feature tied to our AI agents. Latency spiked, message loss crept in, and ops time b…
В первой части мы разобрались, что Real-time на Laravel-сайте нужен там, где интерфейс должен получать изменения без перезагрузки страницы…
Introduction We hit a scaling cliff when our product moved from a few thousand concurrent users to tens of thousands. The thing that looked trivial in…
Разбираем, зачем нужен real-time на сайте, почему polling создаёт лишнюю нагрузку и как Centrifugo&n…
Одной из задач, которую мне нужно было решить, являлась проблема обрыва соединений сокета от клиентов к серверу, при перезапуске сервера. Обычно, в иг…