Newer Version Available

This content describes an older version of this product. View Latest

Streaming API Limits

Limits protect shared resources. These are the default limits intended for basic consumers of Streaming API. If your application exceeds these limits, or you have scenarios where you need to increase the number of clients per topic or the number of concurrent clients across all topics, please contact salesforce.com.

Description Performance and Unlimited Editions Enterprise Edition All other editions
Maximum number of topics (PushTopic records) per organization 100 50 40
Maximum number of clients (subscribers) per topic 2000 1000 20
Maximum number of concurrent clients (subscribers) across all topics 2000 1000 20
Maximum number of events per day (24–hour period) 1,000,000 200,000 50,000 (10,000 for free organizations)
Socket timeout during connection (CometD session) 110 seconds 110 seconds 110 seconds
Timeout to reconnect after successful connection (keepalive) 40 seconds 40 seconds 40 seconds
Maximum length of the SOQL query in the Query field of a PushTopic record 1300 characters 1300 characters 1300 characters
Maximum length for a PushTopic name 25 characters 25 characters 25 characters

Generic Streaming Limits

The following limits apply to generic streaming.

Generic streaming is currently available through a pilot program. For information on enabling generic streaming for your organization, contact salesforce.com, inc.

Note

Description Performance, Unlimited, Enterprise, and Professional Editions Developer Edition
Maximum number of StreamingChannels per organization 1000 200
Maximum number of events per day (24–hour period) 100,000 10,000

The limits on maximum number of clients and maximum number of concurrent clients for generic streaming are the same limits used for PushTopic streaming.

Description Performance and Unlimited Editions Enterprise Edition All other editions
Maximum number of clients (subscribers) per generic streaming channel 2000 1000 20
Maximum number of concurrent clients (subscribers) across all generic streaming channels 2000 1000 20