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

Scalability enhancement: sharding support #20

Open
jimpick opened this issue Nov 14, 2018 · 0 comments
Open

Scalability enhancement: sharding support #20

jimpick opened this issue Nov 14, 2018 · 0 comments

Comments

@jimpick
Copy link
Member

jimpick commented Nov 14, 2018

For some large scale applications, it is fairly easy to "shard" the application to provide scalability ... eg. PeerPad documents have no dependencies on each other, so it would be easy to sort them into individual shards so that the backend server assets needed for collaboration could be scaled.

Two things that could benefit from some sharding management are:

  • selecting different websocket-star rendezvous servers based on the shard
  • selecting different pubsub gossip channels based on the shard

With consistent hashing (already used in peer-star-app), it should be possible to add or remove shards dynamically so the clustered/sharded services can be scaled up and down to match load.

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

1 participant