Guides - Limits

Liveblocks has hard limits that are automatically enforced. Some limits can be increased with a paying plan. Limits are subject to change in the future.

A connection represents and open web socket connection between a client and Liveblocks servers. A new connection is created every time a client enters a room; it means that if a client enters 2 rooms, 2 connections will be created.

Maximum simultaneous connections per room

This limit can be hit when too many simultaneous connections are established on a single room (e.g. 5 simultaneous connections on the free plan). When it occurs, the server declines the connection and the Liveblocks client raises the error with the code "4005".

Maximum simultaneous connections per app

This limit can be hit when too many simultaneous connections are established on across rooms in a single app (e.g. 30 simultaneous connections on the free plan). When it occurs, the server declines the connection and the Liveblocks client raises the error with the code "4003".

Room name

A room name cannot exceed 128 characters.

User id

A user id cannot exceed 128 characters.

User information

User information sent from the authentication endpoint cannot exceed 1024 characters once serialized to JSON.