+ Start a Discussion

Streaming vs. Platform Events: Limits?

I've been migrating our code to use Platform Events instead of Streaming API Events, mainly because we're getting close to the 200K/day limits on Streaming, while PEs offer 100K/hr, BUT, if you use cometd clients (like we do in our VF pages) you are limited to just 25K/day! Events are calculatged as #events X #subscribers, so this really adds up fast.

I know I can purchase additional PEs in 100K/day blocks, but can't seem to find any info if I can similarly purchase additional blocks of Streaming API events. Any help/guidance to docs/info will be appreciated. Thank you.
NagendraNagendra (Salesforce Developers) 
Hi Bimani,

May I suggest you please check with below link from the stack exchange community with a similar discussion which might help you further. ​​ (https://salesforce.stackexchange.com/questions/176503/what-is-the-difference-between-the-streaming-api-pushtopic-generic-streaming-an)Hope this helps.

Kindly mark this as solved if the reply was helpful.

Jules Faligot 16Jules Faligot 16
Hi BomanI,
I'm would like to visualize published platform events in a VFP. Did you do that? Could you let me know how to proceed?
Jules, you do it precisely the same way you would Streaming/cometd events, except for the one line where you subscribe to the events.
Jules Faligot 16Jules Faligot 16
Thanks BomanIrani,
I have used these code samples: https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/code_sample_generic_vfp_intro.htm

and updated the Topic Name with my Platform Event API Name and updated the subscription as follow:
[before] this.channel = '/topic/' + TOPIC_NAME;          
[after] this.channel = '/event/' + TOPIC_NAME;

and it works just fine :)
veronica zaleveronica zale
There are so many options available online on the online market when it comes to streamings site (here (https://internetspeed.onl/) ) as well as devices & VOD networks.