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

crud-bench tokio runtime improvement #15

Merged
merged 9 commits into from
Sep 26, 2024

Conversation

emmanuel-keller
Copy link
Contributor

@emmanuel-keller emmanuel-keller commented Sep 26, 2024

Shared Tokio Runtime Across Clients

The Tokio runtime is now shared across all client instances, promoting resource efficiency and reducing overhead from multiple runtime initializations.

Configurable Tokio Runtime Worker Count

Adds a new parameter -w that allows configuration of the number of worker threads in the Tokio runtime.
By default, the value is the number of logical CPUs.

Removal of Rayon

We now fully use one instance of the multithreaded Tokio runtime.

Faster dry test

The dry database is now based on Dashmap, leveraging concurrency.

@emmanuel-keller emmanuel-keller marked this pull request as ready for review September 26, 2024 13:10
@emmanuel-keller emmanuel-keller marked this pull request as draft September 26, 2024 13:39
@emmanuel-keller emmanuel-keller marked this pull request as ready for review September 26, 2024 15:40
@tobiemh tobiemh merged commit 4ee55e2 into main Sep 26, 2024
14 checks passed
@tobiemh tobiemh deleted the emmanuel/crud-bench-tokio-runtime-improvement branch September 27, 2024 12:52
tobiemh added a commit that referenced this pull request Oct 24, 2024
Co-authored-by: Tobie Morgan Hitchcock <[email protected]>
tobiemh added a commit that referenced this pull request Oct 24, 2024
Co-authored-by: Tobie Morgan Hitchcock <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants