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

Settings are not synced between multiple Core instances when there is a change #912

Closed
3keyroman opened this issue Dec 22, 2024 · 0 comments · Fixed by #969
Closed

Settings are not synced between multiple Core instances when there is a change #912

3keyroman opened this issue Dec 22, 2024 · 0 comments · Fixed by #969
Assignees
Labels
enhancement New feature or request

Comments

@3keyroman
Copy link
Contributor

The current caching mechanism of settings does not work across multiple instances of Core service.

The reason is that the cache is updated only for the instance through which the change in settings was requested.

The caching mechanism should be updated in a way that it will be applied to all instances consistently.
One of the suggested approach is to update cache regularly in defined time interval, for example 30 seconds.
Or update setting consistently for all Core services using push mechanism, where we can utilize also messaging.

The desired behaviour is that all running Core instances will have updated settings when there is a change.

The workaround is to restart Core deployment, and restarted instances will update the settings on startup, however, it is not practical to restart deployment every time there is a change in settings.

@3keyroman 3keyroman moved this to Todo in CZERTAINLY Dec 22, 2024
@3keyroman 3keyroman changed the title Setting are not synced between multiple Core instances when there is a change Settings are not synced between multiple Core instances when there is a change Dec 22, 2024
@lubomirw lubomirw added the enhancement New feature or request label Jan 28, 2025
@lubomirw lubomirw moved this from Todo to In Progress in CZERTAINLY Feb 13, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in CZERTAINLY Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants