Skip to content
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

docs: Architecture diagram to describe how the core modules interact #1390

Open
cobolbaby opened this issue Sep 24, 2023 · 2 comments
Open

Comments

@cobolbaby
Copy link
Contributor

cobolbaby commented Sep 24, 2023

Function call of job execution

dkron job run

@cobolbaby cobolbaby changed the title An architecture diagram to describe how the core modules interact? An architecture diagram to describe how the core modules interact Sep 24, 2023
@cobolbaby cobolbaby changed the title An architecture diagram to describe how the core modules interact docs: Architecture diagram to describe how the core modules interact Dec 19, 2023
@cobolbaby
Copy link
Contributor Author

cobolbaby commented Dec 19, 2023

I'm curious about how dkron ensures that the Serf leader and Raft leader are on the same node. When the Raft cluster switches leaders, dkron reconciles the Serf members, doesn't it? @vcastellm

@vcastellm
Copy link
Member

vcastellm commented Dec 20, 2023

First of all, thanks for your contribution, the diagram is correct, I'll try to make it a bit more good looking and include it in documentation.

I'm curious about how dkron ensures that the Serf leader and Raft leader are on the same node. When the Raft cluster switches leaders, dkron reconciles the Serf members, doesn't it? @vcastellm

Serf it's a clustering/gossip messaging system, it doesn't have the concept of leader, when Raft switches leaders reconcile of members happens on Serf https://github.com/distribworks/dkron/blob/master/dkron/leader.go#L183 as you mention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants