I'm using python runtime on The App Engine Standard Environment.
I'm using some async operations in my code, quotes from tutorial:
You might be able to speed up your application by performing Datastore actions in parallel with other things, or performing a few Datastore actions in parallel with each other.
Tasklets are a way to write concurrent functions without threads; tasklets are executed by an event loop
https://cloud.google.com/appengine/docs/python/ndb/async
It's all about parallel execution, but I don't understand how does this parallelism work in synchronous python code.
How does eventloop work? Does it run in separate process/thread?
Does it perform any really-concurrent executions? Or it is just convenient way to create batched rpcs, which run synchronously on first get_result() call?
https://cloud.google.com/appengine/docs/python/refdocs/modules/google/appengine/ext/ndb/eventloop