
if i change _APP_FUNCTIONS_CONTAINERS
to 50 , what does that mean?? will be able to run 50 instance of a cloud function simultaneously ???
what's the maximum i can increase it to ? is it only dependent only on the server specifications?

I'm not a 100% sure what the env variable is responsible for even after reading the docs. So i'd suggest you wait for a dev to reply 😄

As of now it doesn't seem like this variable is being used.
Anyway the purpose of this variable is to determinate how much containers Appwrite is allowed to keep for functions. For example if you have 10 functions, then no matter how many execution each function will have, Appwrite won't create more then 10 containers, as each function gets one.
But if let's say you had 20 function and the value set to 10 then when the 11th function will trigger Appwrite will shutdown one of the other containers,
Also, it's limit only by our imagination and server resources.
But, from what I see it's not being used so it's all just theory

is there a way to create 2 or more containers for each function?

😅

i mean , to make it scalable.

Got you

Not out of the box

You'll need to create Docker swarm and scale the Appwrite executor You can see few details about it here https://discord.com/channels/564160730845151244/1092607057535963206/1092607057535963206

At the time Christy Jacob has created a guide on how to scale Appwrite using docker swarm https://dev.to/appwrite/30daysofappwrite-docker-swarm-integration-2io9 It's a bit outdate but can give an overview
Recommended threads
- Function timed out during cold start (v1...
This is a self-hosted AppWrite instance, version 1.6.1. I have a very simple testing function: ``` return res.json({ motto: "Build like a team of hundreds_...
- Permission denied error Appwrite CLI on ...
Hey all, I was working on deploying functions, but halfway something didn't work. So I decided to start again. But now, whenever I use "init project" I get a pe...
- How to Use createOAuth2Token in Cloud Fu...
I show this example in [appwrite docs ](https://appwrite.io/docs/references/cloud/server-dart/account#createOAuth2Token) . I know using flutter sdk. but not su...
