GLODY FIGUEIREDO

← all writing

2026-02-02 · 1 min read · #realtime #websockets #latency

Realtime is a budget, not a feature

RAIvisor taught me that "make it realtime" is a cost sentence, not a product sentence. You get a few hundred milliseconds; everything you do must fit inside them or be honest that it doesn't.

When I started RAIvisor I made everything realtime because realtime felt like the product. Transcription: streaming. Retrieval: streaming. Summaries: regenerated on every partial. The demo was alive. The system was miserable.

Realtime exposes latency the way sunlight exposes dust. A batch pipeline that takes four seconds is fine; a "live" insight that takes four seconds is broken, because the conversation has moved on. So realtime isn't a switch you flip — it's a budget you spend: capture, transport, transcription, retrieval, inference, render. Add them up honestly and most features do not fit.

The rebuilt system kept realtime only where it changed the human experience — the live transcript and the "this is being handled" signals — and moved everything else to near-time: a queue, a couple of seconds, delivered calmly. Users could not tell the difference, except that everything became reliable.

Now I treat "should this be realtime?" as a cost question with a default answer of no. The features that survive that question are the ones worth a WebSocket.