What performance characteristics distinguish high-volume Platform Events from standard volume event channels?
Answer
Basics: Platform events started in two flavors: standard-volume, with a lower throughput, and high-volume, built for streaming scale such as IoT, telemetry and data feeds. Salesforce now creates new custom events as high-volume, so you rarely choose. Existing standard-volume events keep working but are not the future.
How it works:
- High-volume events are published to the bus, which handles them asynchronously.
- Subscribers (triggers, Flow, CometD, Pub/Sub API) read from the bus and track a replay ID.
- Allocations apply: events published per hour and event deliveries per 24 hours. Both depend on edition and add-ons, so check Setup > Company Information or the
/limitsREST resource. - Events are kept for 72 hours so a subscriber can replay after downtime (older docs said 24 hours for standard-volume events, so verify against your release).
Advanced / deep dive: Delivery order follows replay ID within the channel, and events published in one transaction are ordered relative to each other. There is no strict global ordering across parallel publishers, so design consumers for ordering by business key and version. Event triggers use batches and checkpoints for throughput. Because the bus is asynchronous, a successful EventBus.publish means accepted, not delivered. For database-change streams, Change Data Capture events are another high-volume stream with their own limits. For extreme throughput, use Pub/Sub API with batched publish and flow-controlled subscribe.
Code / config example:
Setup > Platform Events > New Platform Event
Label: Telemetry Event Plural: Telemetry Events API: Telemetry_Event__e
Publish Behavior: Publish After Commit (high-volume by default in current releases)
Check usage: GET /services/data/vXX.X/limits -> HourlyPublishedPlatformEvents, DailyDeliveredPlatformEvents