You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connect to localhost:3301
Insert benchmark results:
------------------------
Total operations: 1000
Total time: 0.18 seconds
Throughput: 5468.30 operations per second
------------------------
If I run this bench locally, but connect to remote cluster in VM, then I almost always have one rps (13 rps) for any operation.
Connect to 10.61.140.1:3301
Get benchmark results:
------------------------
Total operations: 1000
Total time: 80.45 seconds
Throughput: 12.43 operations per second
------------------------
The question is what to change in order to increase throughput? What you should pay attention to? What you should tune?
The text was updated successfully, but these errors were encountered:
You could encode/prepare to send a request in parallel:
conn.Do(request)
and wait for a response/decode responses in parallel:
future.GetTyped(&resp)
Depending on the size of requests/responses you will need a different number of goroutines/threads for Do() and GetTyped(). You сan start with number of cores of your CPU for both.
Hello
I want to make a small benchmark of the cluster. The cluster in local and VM has same configuration.
If I bring up the cluster locally and run the following code:
I get the following results:
If I run this bench locally, but connect to remote cluster in VM, then I almost always have one rps (13 rps) for any operation.
The question is what to change in order to increase throughput? What you should pay attention to? What you should tune?
The text was updated successfully, but these errors were encountered: