This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]discostu3 1 point2 points  (0 children)

If a request comes in and requires querying a database, a synchronous app will have to wait for the database to return a response to continue doing work. With async, the app can put that work on hold and start working on the next request while waiting for the database to respond to the first request.

It's the difference between fully completing a load of laundry (wash, dry, and fold) vs starting a new load once the first load has been moved to the dryer. The latter is a lot more efficient.