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

optimize performance of sync loop #1

Merged
merged 6 commits into from
Apr 16, 2024
Merged

Conversation

flaviogrossi
Copy link
Member

  • use different scopes for children, specs and nodes to avoid filtering/mapping when retrieving syn's group names
  • use a larger interval for the sync loop, but monitor nodes to respond quicker in case the cluster topology changes

…c loop period

- increase the default sync period to lower the cpu usage in static
conditions (no node changes, no child redistributions, ...)
- monitor erlang nodes to be able to quickly react in case the topology
  changes
…rent scopes

this redoes the previous commits by avoiding requiring a new syn api to
match only selected group names and instead use three different scopes
for child specs, nodes, and started children

having different scopes avoid the filters and remappings which were
previously done when retrieving group names
@flaviogrossi flaviogrossi merged commit 8e11d4d into develop Apr 16, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

1 participant