Skip to content

Updated

Realtime limits

Look up Realtime limits by plan and the errors Realtime returns when you exceed one. Check this page when you see any of the following:

  • A Channel join refused with too_many_channels, too_many_connections, or too_many_joins, or a disconnect for tenant_events
  • A join error whose reason starts with ChannelRateLimitReached, ConnectionRateLimitReached, or ClientJoinRateLimitReached
  • The Realtime Messages or Realtime Concurrent Peak Connections section of your organization's Usage page

To increase a limit, upgrade your plan or contact support.

Limits by plan

The following table lists the limits for each plan.

LimitFreeProPro (no spend cap)TeamEnterprise
Concurrent connections20050010,00010,00010,000+
Messages per second1005002,5002,5002,500+
Channel joins per second1005002,5002,5002,500+
Channels per connection100100100100100+
Presence keys per object1010101010+
Presence messages per second20501,0001,0001,000+
Presence calls per client, per 30 seconds55555
Broadcast payload size256 KB3,000 KB3,000 KB3,000 KB3,000+ KB
Postgres change payload size (read more)1,024 KB1,024 KB1,024 KB1,024 KB1,024+ KB
Broadcast replay retention (read more)72 hours72 hours72 hours72 hours72 hours
Broadcast replay messages per request2525252525

The following notes apply to every limit in the table:

  • All limits are configurable per project. Beyond the Free and Pro Plan, you can customize your limits by contacting support.
  • Without a spend cap, or on an Enterprise plan, some limits are still in place to protect budgets.

Postgres changes payload limit

When this limit is reached, the new and old record payloads only include the fields with a value size of less than or equal to 64 bytes.

Limit errors

When you exceed a limit, errors appear in the following places:

  • Logs: check the Realtime logs inside your project Dashboard.
  • WebSocket errors: Use your browser's developer tools to find the WebSocket initiation request and view individual messages.

Some limits can cause a Channel join to be refused. Realtime will reply with one of the following WebSocket messages:

too_many_channels

Too many channels currently joined for a single connection.

too_many_connections

Too many total concurrent connections for a project.

too_many_joins

Too many Channel joins per second.

tenant_events

Connections will be disconnected if your project is generating too many messages per second. supabase-js will reconnect automatically when the message throughput decreases below your plan limit. An event is a WebSocket message delivered to, or sent from a client.

To set, pay for, or troubleshoot these limits, see the following pages: