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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Selfhosted starter python function retur...
I am running a selfhosted appwrite instance. Creating a node function and executing it works just fine but when i try to execute a python starter function, i ge...
- Can't run functions from console in appw...
Hello, I have an appwrite 1.9.0 self hosted, functions run correctly with client SDK or event when using the function domain *.function.mydomain, for testing pu...