0

can anybody tell me that what is difference between Synchronous Limit and asynchronous Limit in soql governor limit in apex?

1 Answer 1

3

Synchronous means calling the apex class using Visualforce page, Trigger, Execute Anonymous of dev console. These type of call hold the process until they complete and run in main transaction thread.

Asynchronous operations are calling apex using batch, Future methods. These process run in background and don't affect the main transaction thread. They run is separate independent thread with their independent governor limits from main transaction.

For both cases SOQL Limit is 50,000 records per transaction.

2
  • 3
    Synchronous: user or calling application is stalled until a response is received. Asynchronous: user or calling application can continue using the system while the process runs in the background.
    – sfdcfox
    Commented Aug 20, 2015 at 13:31
  • Thanks for the concise definition. I was looking for it. @sfdcfox
    – Ashwani
    Commented Aug 20, 2015 at 13:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .