
I was wondering if it would be possible to cluster multiple instances of Appwrite and load balancing them and having the SQL/Database itself on one of those cluster so there is 1 database but multiple instances of appwrite

Yes you can
This called decentralization
and I'm planning to write about it here https://appwrite.bool-code.org/guide/decentralization
For now you'll need the way to go is to create one master node (with the DB) and in all other nodes put that server IP as the databases (mariadb, influxdb, redis) endpoint.
Also, you'll need to mount the storage as bind and let other nodes access it using ssh, for example
appwrite-uploads:
driver: local
driver_opts:
o: "bind"
device: "/nfs/appwrite-uploads"

You might also want to look at https://discord.com/channels/564160730845151244/870536298220367902/1128565809824923709

Are only arm computers supported?


Because my whole cluster runs on Ryzen and Intel...

@Binyamin are you using docusaurus for creating that Appwrite book ? or something else?

From what I know the ARM is only necessary to br able to follow the tutorial.

Oh alright I will do another aprouch anyways: Google buckets

It's Vue's VitePress with some custom-made components https://vitepress.dev/

so we can have multiple managers in our cluster and so if 1 is down then it will still operate as normal

Yes. And the swarm will keep run as long as you have a running manager.
But if you nees to roll an update you need to have the majority.

ehm?

am I missing something


ah forgot the .env file but now i get this issue

Remove all the x-logging part From the beginning of the file and inside each service.

Yeah was already trying that, but thanks

hope it will work now

Now it goes to this chaching folder

Is the caching folder exists?



Also, I'll write it like so
appwrite-cache:
driver: local
driver_opts:
o: "bind"
device: "/root/mount-folder/appwrite/cache"
You can try it.

Ah alright will do that soon. (gotta go for a few min)
Recommended threads
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
