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

Remove buffered io usage #32

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Remove buffered io usage #32

merged 1 commit into from
Jan 16, 2025

Conversation

grcooper
Copy link

After testing this out, we didn't see any performance improvements. It seems like Ruby under the hood already does buffered io and releases the GVL when doing things like gets. Using read_nonblock etc are only useful when you have multiple io streams that you want to pick between manually.

@grcooper grcooper merged commit 5b8b213 into main Jan 16, 2025
10 checks passed
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