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 connection checking on every request. #873

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented Jun 22, 2023

Currently every request is prepended with a PING, and is only sent when the ping completes. This slows down performance significantly - removing this increased TPS on my test machine by 50%.

Currently every request is prepended with a PING, and is only sent when
the ping completes. This slows down performance significantly - removing
this increased TPS on my test machine by 50%.
@jaymell
Copy link
Contributor

jaymell commented Jun 22, 2023

Thanks for catching this!

@jaymell jaymell merged commit afbaa1c into redis-rs:main Jun 22, 2023
8 of 9 checks passed
@nihohit nihohit deleted the remove-ping branch June 23, 2023 04:43
altanozlu pushed a commit to altanozlu/redis-rs that referenced this pull request Aug 16, 2023
Currently every request is prepended with a PING, and is only sent when
the ping completes. This slows down performance significantly - removing
this increased TPS on my test machine by 50%.
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.

None yet

2 participants