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
- Account Status
Hello! I'm a student and am in the GitHub Student Organization, and according to GitHub, I am recieving pro membership via the Student Dev Pack. However, when I...
- Refund Request - Just purchased 2 mins a...
Hello Appwrite Team! I am a student and like 2 minutes ago I purchased Appwrite Pro ($15) because I had reached a limit on the number of attributes in a collect...
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...