Library / Data & backend / Real-time updates
No. 144·noun·also called live updates, websockets, polling

Real-time updates

When a screen changes by itself the moment data changes elsewhere, with no refresh needed.

SPECIMEN · DIAGRAM · SEQUENCE
Person A
Server
Person B
1keeps connection open2moves a card3pushes the change now4screen updates, no refresh
Definition

What it is

With real-time updates, the app keeps a line open to the server. When something changes, such as a new chat message or a task moved by a teammate, the server pushes it out and every open screen shows it within a second or so.

Without it, a screen only shows what was true when it loaded. You have to refresh to see anything new. A cheaper middle option is polling, where the screen asks the server "anything new?" every few seconds. Real-time connections, usually called websockets, push changes the instant they happen.

Use it when more than one person looks at the same data and delays would confuse them: chat, shared boards, dashboards, delivery tracking. Skip it for pages that rarely change. It adds cost and more ways to fail, like a dropped connection.

It is not an optimistic update, which only makes your own action look instant.

Say it like a builder

How to ask for it

Vague

“I want the orders page to show new orders without me having to refresh it.”

Precise

“Add real-time updates to the orders board: when any order is created or its status changes, every open copy of the board should show it within a second, without a refresh. If the connection drops, show a small "Reconnecting" notice and reload the latest orders once it's back.”

Why it works

"Without refreshing" could mean an auto-reload every minute or a live connection; "real-time updates" names the live push and the prompt sets the speed and what happens when the connection drops.

In the wild

You've seen this in

  • SNew messages appearing in a Slack channel without reloading
  • SCards moving on a shared Trello board while a teammate drags them
  • TThe Uber map showing your driver's car moving
Usage note

Often confused with