
I'm looking for a way to scale appwrite running selfhosted in docker swarm. According to the benchmark guide https://book.appread.io/benchmarks#docker-swarm appwrite running in docker swarm can have only one executor and appwrite-worker-functions container and they both have to run on the same node. Which makes functions basically only scale vertically when running in docker swarm.
I have gotten suggestions that modifying the OCR image might help with this: From @Binyamin "There's a small challenge you'll need to overcome when deploying Appwrite into Docker Swarm as Appwrite uses OpenSwoole in-ram table for managing the running functions containers ... That said 1000-2000 rps mean 3,600,000 - 7,200,000 and Appwrite should be able to handle pretty nice, but you'll need to either overcome and modify the ORC image or go with Horizontal scaling."

I think he means instead of swarm, just setting independent appwrite instances and set a load balancer to distribute the traffic between the instances, but not sure
Recommended threads
- Attribute creation stuck at processing f...
Hey Appwrite community! 👋 I'm running into a persistent issue with my self-hosted Appwrite installation (v1.6.1) where programmatically creating attributes fo...
- Could not open input file: /usr/src/code...
I updated my selfhosted instance to `1.6.2` and the new service (`appwrite-task-stats-resources`) failed to start. The only log message I see is: ``` Could not ...
- functions page returns 500
I am running selfhosted appwrite version 1.6.0 and all of a sudden my functions page stopped working, returning a 500. I don't see anything in the logs that wo...
