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
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...