0

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

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.

| improve this answer | |
  • 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 Aug 20 '15 at 13:31
  • Thanks for the concise definition. I was looking for it. @sfdcfox – Ashwani Aug 20 '15 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.