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

Speed up reads by adding support for lazy decoding of registers #341

Open
Tracked by #6820 ...
fxamacker opened this issue Sep 12, 2023 · 2 comments
Open
Tracked by #6820 ...

Speed up reads by adding support for lazy decoding of registers #341

fxamacker opened this issue Sep 12, 2023 · 2 comments
Assignees
Milestone

Comments

@fxamacker
Copy link
Member

fxamacker commented Sep 12, 2023

Issue To Be Solved

Decoding should be optimized to improve speed. Currently, Atree encodes in parallel (multiple goroutines) but decodes sequentially.

Suggested Solution

Speed up reads by adding support for lazy decoding of registers.

NOTE: It might be possible to also speedup writes but that will most likely be opened as separate issue to avoid delaying completion of this OKR (once work begins).

Status

This was postponed since 2023-Q4 OKR due to higher priority projects like Crescendo migrations and Atree releases.

We can save time and reduce risks by starting this work immediately after Atree Refactoring (while details are fresh):

@fxamacker fxamacker self-assigned this Sep 12, 2023
@j1010001 j1010001 added this to the OKR-23-Q4 milestone Oct 20, 2023
@fxamacker
Copy link
Member Author

fxamacker commented Sep 5, 2024

This was postponed so I can work on atree v0.8.0 (e.g. atree inlining & deduplication, etc.) and also help at onflow/cadence and onflow/flow-go repos with integrations, migrations, tooling, and testing related to atree, etc.

The speed optimizations in this issue would not require spork or migration.

@fxamacker
Copy link
Member Author

This is blocked by

cc: @j1010001

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

2 participants