That's why I'd like to get a communication and functional matrix
In the case I can came it alive in k8s then I'll provide a helm chart too
@Core
It's better not tagging core, they will take a look anyways π
Just for next time, no worries
Oh okay good to know
I believe one of our community members, @Binyamin created a guide for this sometime back as well
You can actually duplicate the deletes worker. The coordination is done via the redis queue
Database might be the only tricky one because order is very important there
Redis is used for the queue too so we want persistence for that
We have an architecture diagram and some description here: https://github.com/appwrite/appwrite/blob/main/CONTRIBUTING.md#architecture-1
Do you have an example of a stateful service and volume?
Also data duplication. If you duplicate database 3 times could get 3 times the same data
Not necessarily because of the queue. One event goes into the queue and one worker picks it up
@Drake I mean these volumes https://github.com/appwrite/appwrite/blob/main/docker-compose.yml#L75-L79 Is it important to handle the uploads folder stateful in the case if we're using Appwrite with external storage (ie S3)?
If not then I can handle it in the helm chart, that if any of the external storage are used, then I create only a stateless deployment (stateless container) and not a stateful one
And in Kubernetes I can create shared volumes too, what can be used by multiple instances, but sometimes it isn't the best approach because of the linux filesystem locking
Honestly, I don't remember about all of these π I would have to dig into the code.
I think uploads is used for interim for chunks
I think cache is used for caching files.
Config and certificates are used for certs
Functions is probably for function source code upload
I would need to dig into the code to see if it's used in the appwrite container
Upload, cache, and functions probably are. Not sure about config or certificates
It's okay, I would be grateful if you could help me with this. I mean not during the weekend but after that. PHP is not one of my favorit languages, so I don't want to look through the code if not needed. π
I actually kinda started working on a obsidian handbook for myself to keep track of all of this, if I ever get it to the point I'm happy about it I'll release it
Oh, it sounds great, don't hesitate to let me know after that you released it
Here is the basic template, I'm still working on it but for the fine tune I'll definitely need some additional info about the system: https://github.com/schneidermr/appwrite-helm
We do intend to have an architecture page in Appwrite eventually.
Recommended threads
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...
- How do you contact support to cancel a s...
My nephew signed up with my CC without my permission and has forgotten the password to the account. I can't for the life of me get a hold of anyone at appwrite....