Hi, I was reading https://github.com/appwrite/appwrite/issues/1425 Please could someone clarify (in nodejs 18.0, dotnet 6.0 and python 3.10) if many executions to the same functon are triggered at the same time, they run sequentially or parallel in the runtime container of that function?
Im using version 1.3.1
There are two types of function executions: synchronous and asynchronous.
Synchronous executions are created by calling the create execution API and passing false for async. These executions are processed concurrently.
Every other function execution is asynchronous. These executions get queued and are processed by the functions worker. Because the default self hosted installation of Appwrite only has 1 worker, each event is processed sequentially. In order to process them concurrently, you would have to scale out the workers.
Understood π thank you
[SOLVED] Sequential/Parallel functions
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
β Error β’ on-auth-create (6a00b2ab000c9ce2949b) β’ Server Error β Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...