onrup

Serving

Server-sent events

Also called SSE.

What is server-sent events?

Server-sent events is a one-way streaming protocol over plain HTTP, where a server pushes a sequence of events to a client on a long-lived connection. It is the standard transport for both streamed model output and long-running job progress.

It is preferred over websockets for this job because it is simpler, works through ordinary HTTP infrastructure, and only needs to go one way — the client is not sending anything mid-stream.

It supports resumption. A client that records the last event it saw can reconnect and ask to continue from there, which turns a dropped connection into a hiccup rather than a lost job.

Related terms

All terms in the glossary →

Start with the free tier

A magic link creates your account, your tenant and your first API key. No card until you ask for compute.