Skip to content

Is jsflow right for your app?

Rooms of 2 to 50 peers exchanging small, frequent messages and shared state, such as presence, live updates, notifications and coordination between clients. You save the server bandwidth and the round trip through it.

A common shape: your server keeps the authoritative state and the low-rate events. jsflow carries the high-rate traffic between peers, such as updates and presence.

  • Audio and video. jsflow carries data, not media tracks.
  • Storage. Nothing is kept: a message reaches the peers that are in the room when it is sent. Late joiners need state from you (a peer, or your server): choosing a state model says from whom.
  • Authority. Peers are equals and can lie. Anything that must be fair (scores, turns, secrets) needs your own server to decide it. See security and privacy, and choosing a state model for who decides in a chat, a game and a drawing.
  • Rooms of hundreds. It is built and tested for up to 50 peers a room.

Join a room in five minutes.