What happens differently when you add a task Asynchronously on GAE?

Posted by Ben Grunfeld on Programmers See other posts from Programmers or by Ben Grunfeld
Published on 2014-05-28T20:19:37Z Indexed on 2014/05/28 22:00 UTC
Read the original article Hit count: 377

Filed under:
|
|
|

Google's doc on async tasks assumes knowledge of the difference between regular and asynchronously added tasks.

add_async(task, transactional=False, rpc=None)
Asynchronously add a Task or a list of Tasks to this Queue.

How is adding tasks asynchronously different to adding them regularly.

I.e. what is the difference between using add(task, transactional=False) and add_async(task, transactional=False, rpc=None)

I've heard that adding tasks regularly blocks certain things. Any explanation of what it blocks and how, and how async tasks don't block would be greatly appreciated.

© Programmers or respective owner

Related posts about google-app-engine

Related posts about async