Rank 3: Container
That's why I'd like to get a communication and functional matrix
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
That's why I'd like to get a communication and functional matrix
Rank 3: Container
In the case I can came it alive in k8s then I'll provide a helm chart too
Rank 3: Container
@Core
It's better not tagging core, they will take a look anyways 😅
Just for next time, no worries
Rank 3: Container
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
Rank 3: Container
@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)?
Rank 3: Container
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
Rank 3: Container
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
Rank 3: Container
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
Rank 3: Container
Oh, it sounds great, don't hesitate to let me know after that you released it
Rank 3: Container
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.