

Overcome Salesforce Governor Limits Using Platform Events
Mixed DML’S Operations, Too Many SOQL Queries, Too Many DML Statements, CPU Timeout Salesforce’s Governor limits are there for a reason but even when you employ best practices you may still exceed them. A good developer will look at all tools available on the platform and find the best approach to solving the problem they are facing. Let see how to Overcome Salesforce Governor Limits Using Platform Events.
Join us to add the newest tool to your developer toolbelt using Platform Events to change the rules of the game and process more, faster, within governor limits.
difference between SObject and Platform Events
Like a superpower you didn’t even know you had. Here are difference between SObject and Platform Events
SObjects__c | Platform_Events__e |
DMLs (Insert, Update, Delete) | Publish (Insert only) |
SOQL | Streaming API |
Triggers | Subscribers |
Parallel context execution | Guaranteed order of execution |
Platform Events
If you are new then please check out our platform event in Salesforce post.
Platform Events – Execution Timing

How to publish A Platform Event
Here is example how we can publish the event from Account Trigger.
How to Subscribe the Platform Event
Here is code which we created on platform event to subscribe it.
Overcome Salesforce Governor Limits Using Platform Events Video
Agenda:
- What are Governor Limits
- Synchronous vs. Asynchronous processing.
- Introducing Platform Events
- Platform Events processing
- Platform Events Considerations
- Example 1: Getting around Mixed DML limit
- Example 2: Changing multiple Apex Async Processes
- Other use cases
- Additional Resources
Please note that we have limit of 300 attendees that can join the online sessions. However, recording will be posted on our YouTube channel. Make sure to subscribe our YouTube channel to get notification for video upload.

Summary
I hope this session helped you how we can use platform for to resolve governor limit in Salesforce. Also check Integrating with Salesforce using Platform Events to learn more.