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

Resharding V3 - added future possibilities #569

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

wacban
Copy link
Contributor

@wacban wacban commented Oct 28, 2024

Filling in the future possibilities section - and looking for more ideas :)

@wacban wacban requested a review from a team as a code owner October 28, 2024 13:37
neps/nep-0568.md Outdated
```
* Dynamic Resharding - In this proposal, resharding is scheduled in advance and hardcoded within the neard binary. In the future, we aim to enable the chain to dynamically trigger and execute resharding autonomously, allowing it to adjust capacity automatically based on demand.
* Shard Merging - In this proposal the only allowed resharding operation is shard splitting. In the future, we aim to enable shard merging, allowing underutilized shards to be combined with neighboring shards. This would allow the chain to free up resources and reallocate them where they are most needed.
* Instant Resharding - In this proposal, the new shard layout is setup for the next next epoch and it takes a full epoch from the time resharding is scheduled until it takes effect. In the future we aim to make resharding instantneous, that is the time from the decision to perform resharding to the chain switching to the new layout should be minimal.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The instant resharding section is slightly misleading.
While reading In the future we aim to make resharding instantneous I thought "resharding operation is already instantaneous" from the point of view of the chain users. It's more about the time of detecting, planning and executing a resharding which is not instantaneous.

It's also unfortunate that we say "instant" in the name and then "time from the decision to perform resharding .. should be minimal", in the sense that minimal is not the same level of coolness as instantaneous :)

Not sure how improve this section. Perhaps we should avoid calling it "Instant Resharding" and switch to something more generic like "Faster chain load rebalancing"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated, have a look please :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

@wacban wacban merged commit 47f22f9 into resharding Oct 29, 2024
1 check passed
@wacban wacban deleted the wacban-patch-1 branch October 29, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: DRAFT
Development

Successfully merging this pull request may close these issues.

2 participants