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

asim: allocation simulator #82627

Closed
16 tasks done
kvoli opened this issue Jun 8, 2022 · 0 comments
Closed
16 tasks done

asim: allocation simulator #82627

kvoli opened this issue Jun 8, 2022 · 0 comments
Assignees
Labels
A-kv Anything in KV that doesn't belong in a more specific category. A-kv-simulation Relating to allocation simulation. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) sync-me-7 sync-me-8 T-kv KV Team

Comments

@kvoli
Copy link
Collaborator

kvoli commented Jun 8, 2022

This is a tracking issue for the allocation simulator.

Why do we need a simulator?

There is an agreement that unit tests and roachtests are useful but not enough to verify allocation changes, and that a fast (not using real time) and repeatable simulation can be useful to reproduce rare bugs in the allocator. In addition to verifying correctness, optimizing the allocation and rebalancing algorithm is an area that is costly to verify and necessitates slow feedback loops (see QPS Accounting - Experiments internal); this may be addressed by a deterministic simulator.

design doc internal

Tracking

Jira issue: CRDB-16618

@kvoli kvoli added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-kv Anything in KV that doesn't belong in a more specific category. labels Jun 8, 2022
@blathers-crl blathers-crl bot added the T-kv KV Team label Jun 8, 2022
@kvoli kvoli added the A-kv-simulation Relating to allocation simulation. label Jun 9, 2022
@lidorcarmel lidorcarmel removed their assignment Oct 28, 2022
@kvoli kvoli closed this as completed Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-kv Anything in KV that doesn't belong in a more specific category. A-kv-simulation Relating to allocation simulation. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) sync-me-7 sync-me-8 T-kv KV Team
Projects
None yet
Development

No branches or pull requests

4 participants