-
Notifications
You must be signed in to change notification settings - Fork 59
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
What is about pipelining? #329
Comments
R-omk, I know it. But I need benchmark DBMS with network, because I will use DBMS with it. To squeeze more performance out of the DBMS, I need to reduce the load on the network, the ideal solution is pipelining. I read the connector documentation and couldn't find any mention of pipelining, which makes me opt for Redis. |
The tarantool is not the redis, it is much much faster, if the queries are independent they need to be executed in parallel, if they are dependent then write stored procedures on the server side and call func from client. |
what is called "pipeline" in redis works automatically out of the box in this driver . this is a multiplexing of any requests, you never have to wait for the result of the previous one in order to send the next one. Please look at benchmarks test. |
@R-omk thank you. @Eugene-Usachev you should execute requests in parallel for the best performance. The connector supports concurrent request execution by itself, see opts.Concurrency . I think it's a good idea to write a parallel request execution example that we can refer to. |
@R-omk thank you for your time. I close the issue. |
I think it's a good idea to write a parallel request execution example that we can refer to. |
I benchmarked Tarantool and Redis. Tarantool overtakes Redis only before using pipelining. With pipelining, Redis becomes more than 3 times faster than Tarantool. Is it possible to use pipelining with Tarantool?
The text was updated successfully, but these errors were encountered: