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

More target flexibility of Plugin #843

Open
trustin opened this issue May 22, 2023 · 0 comments
Open

More target flexibility of Plugin #843

trustin opened this issue May 22, 2023 · 0 comments

Comments

@trustin
Copy link
Member

trustin commented May 22, 2023

Central Dogma currently allows a plugin to specify one of the following PluginTargets:

  • LEADER_ONLY
  • ALL_REPLICAS

More LEADER_ONLY plugins a user adds, more load imbalance Central Dogma will suffer from.

We could alleviate this by:

  • Adding a new target ONE_REPLICA, which is similar to LEADER_ONLY but it doesn't have to be run on a leader.
  • Providing a way for a plugin to distribute tasks across replicas. For example, a mirroring service plugin could distribute its mirroring tasks across all replicas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant