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

Improve pipelining performance, a LOT #2

Open
helje5 opened this issue Apr 12, 2018 · 0 comments
Open

Improve pipelining performance, a LOT #2

helje5 opened this issue Apr 12, 2018 · 0 comments

Comments

@helje5
Copy link
Member

helje5 commented Apr 12, 2018

While Redi/S performances pretty well against Redis w/o pipelining, real Redis crushes Redi/S when pipelining is on.

helge@ZeaPro ~ $ redis-benchmark -P 100 -p 1337 -t SET,GET -n 500000 -q
SET: 53885.12 requests per second
GET: 58092.25 requests per second

vs

helge@ZeaPro ~ $ redis-benchmark -P 100 -t SET,GET -n 500000 -q
SET: 730994.12 requests per second
GET: 1057082.50 requests per second

Redi/S perf just improves ~20% when pipelining is enabled, while Redis does more like a ~120%.

Maybe the key here is to not process the incoming requests one-by-one, but rather in batches. (also only flush in batches).

@helje5 helje5 changed the title PERF: Improve pipelining performance, a LOT Improve pipelining performance, a LOT Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant