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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...