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

Add parallelism support to loadAllNodes #24

Open
Cafe137 opened this issue Sep 27, 2021 · 0 comments
Open

Add parallelism support to loadAllNodes #24

Cafe137 opened this issue Sep 27, 2021 · 0 comments
Labels

Comments

@Cafe137
Copy link
Contributor

Cafe137 commented Sep 27, 2021

Example implementation of loader:

protected load(reference: Uint8Array): Promise<Data> {
    return this.bee.downloadData(Buffer.from(reference).toString('hex'))
}

This could be done in parallel, e.g. launching 4 or 8 requests at the same time, so large manifests can be loaded more efficiently.

@bee-runner bee-runner bot added the issue label Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant