-
Notifications
You must be signed in to change notification settings - Fork 74
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
Missing Pipeline support ? #108
Comments
Hi! Having 10000 request in parallel might be faster than sequentially if you use connection pool with 10000 connections, otherwise you block on awaiting for connection release. yes, unfortunately, pipeline support is not implemented and there is no mention in README |
Following up, is anyone working on pipeline support or are you looking for contributors? |
+1 |
Even though mentioned on the home that pipelining support is there in the library, I haven't been able to use it or find any reference in the code.
Can i not use pipeline as simply as :
Also, if I execute 3 redis commands in parallel using
asyncio.gather
and 3 commands pipelined , which will be faster ?I did a small benchmark, where I am reading 10000 keys using asyncio.gather concurrently and serially.
These were the numbers :
This is strange no?
Here is the code -
Parallel
Serial
[r.hgetall('my_key') for i in range(10000)]
Where am I going wrong ?
The text was updated successfully, but these errors were encountered: