You need to sign in to do that
Don't have an account?
Peter Aubrey
Monitoring, managing & debugging long running Apex requests
Hello everyone,
Looking for some advice. We are encountering the dreaded ConcurrentPerOrgApex limit which I realise can be tricky to deal with. We've researched a number of articles including:
Looking for some advice. We are encountering the dreaded ConcurrentPerOrgApex limit which I realise can be tricky to deal with. We've researched a number of articles including:
- https://developer.salesforce.com/blogs/engineering/2013/05/force-com-concurrent-request-limits.html
- http://www.slideshare.net/developerforce/concurrency-designpatterns-mt
- http://www.eltoro.it/ArticleViewer?id=a07A000000NPRi8IAH
- Documentation states that its Apex, SOQL, etc. that counts towards this limit. We've used Developer Console to look at timelines and looking only at the Apex and DB requests, they are always coming back in a few miliseconds, no where near five seconds. All actvitities may take longer than 5 seconds. So should we be reading the timeline from the start to the end for all parts, or just the Apex and DB rows?
- We have Email-to-Case enabled and one Email-to-Apex handler. We've been told that everytime E2C processes an email, the E2A handler is also fired, even though emails are NOT sent to this address. Is this correct? Anyone else found this?
Thanks for replying but I think the solution is to make things asynchronous rather than synchronous unless I'm mis-understanding something?
We do have a lot of code and quite a few embedded VF pages however when we've monitored all of these they are never getting close to taking 5 seconds to execute.