-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification of software architecture, namely pluginDaemon #12869
Comments
I've noticed a log of
Does it means that roles of multiple |
I’m just a contributor and not a member of the Dify team, but as far as I understand, the state of each plugin daemon container is all stored on Redis. This is a repository of the plugin daemon: https://github.com/langgenius/dify-plugin-daemon |
Thanks for your hints. It appears to me that both node and master of |
Hmm, I think it's unnecessary to have such delicate control over the state of the pod since it simply registers its own IP address to Redis every 5 seconds, and it becomes invalid if there are no updates for 10 seconds. Quite simple. I believe that the Dify Team also needs to provide this daemon in a way that can withstand high loads in a SaaS model with HA (perhaps on Kubernetes), so I think they are steering away from architectures that require delicate control by design. |
Supported as |
I declared this component as a Deployment in the yaml file. |
Self Checks
Provide a description of requested docs changes
We are the developers of
dify-helm
. While migratingpluginDaemon
to kubernetes but there's no clue on software design from the current documentation. We need clarification on the following topicsIs this component is stateless (e.g. support multi-replica deployment) given the current version of the document.
We would like to know if it's appropriate to declare this component as
Deployment
dify/docker/docker-compose-template.yaml
Lines 141 to 161 in 28edbba
The text was updated successfully, but these errors were encountered: