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

riak and DLService scaling #75

Open
iakkus opened this issue Jul 22, 2020 · 3 comments
Open

riak and DLService scaling #75

iakkus opened this issue Jul 22, 2020 · 3 comments
Labels
env/all To indicate something that applies to all environments improvement Improvements to an existing component

Comments

@iakkus
Copy link
Member

iakkus commented Jul 22, 2020

Currently, the riak and DLService components cannot scale automatically due to their static configuration: when the DLService is started, it is passed the riak nodes as well as other DLService nodes as a parameter. However, these values are never updated after the components start. As a result, scaling up the services (e.g., add another riak replica, add another DLService node) does not update already started components.

We should make the DLService update its view of the available riak nodes dynamically during runtime. When a riak node is added to or removed from the platform, this should be reflected on the DLService node's view.

Similarly, DLService should also learn whether other DLService nodes are added or removed at runtime. With the new design for caching (#10), this might not be necessary.

Also, check out @manuelstein's comments on the PR #74.

@ruichuan
Copy link
Collaborator

ruichuan commented Jul 22, 2020 via email

@iakkus iakkus added env/all To indicate something that applies to all environments improvement Improvements to an existing component labels Jul 22, 2020
@iakkus
Copy link
Member Author

iakkus commented Jul 23, 2020

I am not sure whether we should actually spend the effort on making the DLService scale as such. We might end up putting it into the sandbox, depending on the outcome of the Redis caching related issue #10.

But now that I think about it, perhaps it's good to have a mechanism that will update the view of the available riak nodes, regardless where that mechanism runs (e.g., in the sandbox, on the node).

@ruichuan
Copy link
Collaborator

ruichuan commented Jul 23, 2020 via email

@iakkus iakkus changed the title riak and DLService scaling issue riak and DLService scaling Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env/all To indicate something that applies to all environments improvement Improvements to an existing component
Projects
None yet
Development

No branches or pull requests

2 participants