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

Gather stats for migrating domain registers (e.g. migration duration per account) #6768

Open
fxamacker opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@fxamacker
Copy link
Member

Related to onflow/cadence#3584

It would be useful to gather more stats related to migrating domain registers.

Currently, mainnet accounts have an average of about 4.4 domains (there are 9 domains available). Although duration of migration isn't unbounded, we should gather stats, investigate any surprises, and get a sense of batch size limits we should try during subsequent testing (before deploying to testnet).

Suggested Solution

Generate 5-number summary for the duration of migrating domains for each mainnet account. Optionally, include some other percentiles and some non-duration stats about migration if time allows.

If an account takes significantly longer than other accounts, investigate to see if we found an edge case.

Context

On Nov 26, a quick and dirty sanity check using old migration program didn't detect any edge cases that would take "minutes" for existing mainnet accounts. The worst case was roughly around 3s if we include overhead from old migration code (we expect slowest domain migration to be faster than that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant