Total number of Asynchronous Apex which includes Batch Apex, Future Method, Queueable & Scheduled job is 250k or 200 x Total User license whichever is greater.
Now lets do some fact check :
- Execute method of Batch Apex can only call 1 Queueable
- Scheduler can call 50 Queueable
- We can have only 100 Schedulers in an Org
- If we run 1 Scheduler every minute = 60 Scheduler
- If each Scheduler executes 50 Queueable every minute, then 60×50 = 3000 jobs / min. Which means 3000 x 24 = 72k jobs / day
Big Question
Can you design an application which can use full potential of Async governor limit – even 250k / day ?
Designing Scalable Hyper Thread Application in Salesforce
I have discussed various approach to answer these questions on below podcast by SalesforceWay
Part 1 – Salesforce Hyper-Threading Road blocks
Part 2 – Salesforce Hyper-Threading Options
Feel free to drop comments and your thoughts on solution !!!
Leave a Reply