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

runtime: prefetch account keys and data for chunk finalization #10935

Merged
merged 4 commits into from
Apr 5, 2024

Commits on Apr 4, 2024

  1. prefetch access keys

    bowenwang1996 authored and nagisa committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    f2a8a65 View commit details
    Browse the repository at this point in the history
  2. add/delete key

    bowenwang1996 authored and nagisa committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    76078f4 View commit details
    Browse the repository at this point in the history
  3. runtime: continue prefetching between receipts

    Some prefetcher requests can take a longer time to execute than the
    receipt being processed. So clearing the queue between all the receipts
    can lead to prefetching of account data that we prefetch for finalize
    not happen for the most part, as the prefetcher being busy with its
    current task wouldn't even see the prefetch request.
    
    This is a pretty crude implementation: ideally we'd have some sort of
    priority queue here, but for now it works alright.
    nagisa committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    390d2be View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Update runtime/runtime/src/prefetch.rs

    Co-authored-by: Bowen Wang <bowenwang1996@users.noreply.github.com>
    nagisa and bowenwang1996 authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    0b70212 View commit details
    Browse the repository at this point in the history