What does an Asynchronous ORM really mean ? How does it differ in behaviour from a regular ORM ?
Where can it be used ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means the calls to it return right away (doesn’t block). You get the result at some later point in time, most likely due to a callback firing.
Something like this (pseudo-code):
In this example, both queries would be executed at the same time (and the response from the second query could come before the first).
It is useful in a program that is uses non-blocking IO. Having queries execute at the same time, perhaps on multiple databases, is great latency wise.
If each query takes 1 ms, doing 10 queries still just takes 1 ms, instead of 10 ms.