[SOLVED] functions are executed in one thread or (is/can be configured) multithreading?
- 0
- Self Hosted
- Functions

Hi all!
Functions in appwrite are executed in one thread or (is/can be configured) multithreading?
Thank you!

rn I guess it's one thread, I might be wrong... config that propbely not possible if it happens it happens by default config for deciding single or multi not possible yet

Ignore what I've said

If triggered from client-side, functions run in parallel. If it's triggered server-sided, it's not run in parallel, because it could cause conflicts while doing the same operations

I think what you understand with multi-tread is basically that, parallel execution

If you mean using all CPU cores, yes, by default it should use all of them too

@D5 Now everything is clear. Thanks a lot!

[SOLVED] functions are executed in one thread or (is/can be configured) multithreading?
Recommended threads
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- custom requirements.txt file
How do I specify a custom requirements.txt file when creating a serverless function through the Appwrite console?
