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

[Nodes] Add pre-batch option to parallel mapper #1415

Open
andrewkho opened this issue Dec 26, 2024 · 0 comments
Open

[Nodes] Add pre-batch option to parallel mapper #1415

andrewkho opened this issue Dec 26, 2024 · 0 comments

Comments

@andrewkho
Copy link
Contributor

🚀 The feature

Add a pre-batch option to ParallelMapper to improve performance

Motivation, pitch

Throughput can often be improved by doing pre-batching of inputs, lowering queue overheads. Add an option (default off?) to pre-batch for improved throughput. Maybe we could even tune-this dynamically by measuring queue overhead? Need to be careful about memory overhead so maybe best to leave this off by default

Alternatives

No response

Additional context

No response

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

No branches or pull requests

1 participant