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 throughput optimized configuration #46

Open
ibraheemdev opened this issue Jan 12, 2025 · 0 comments
Open

Add throughput optimized configuration #46

ibraheemdev opened this issue Jan 12, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ibraheemdev
Copy link
Owner

ibraheemdev commented Jan 12, 2025

By default, papaya and seize are configured to avoid tail latency spikes and prevent memory usage spikes caused by stalled threads. However, for short-lived applications (often CLIs), this is unnecessary. It might be helpful to add a easy way to configure for throughput without having to pull in the seize dependency. Something like HashMap::builder().prioritize_throughput().build(), which would set ResizeMode::Blocking and epoch_frequency(None). At the very least, the combination of these settings should be documented.

@ibraheemdev ibraheemdev added the documentation Improvements or additions to documentation label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant