... | ... | @@ -44,7 +44,6 @@ Well, first these two. |
|
|
### Feb 26
|
|
|
* Previously Result:
|
|
|
* Created a free style fakeStream for Retwis, which caused some pressure but not really.
|
|
|
|
|
|
* Able to run YCSB on both Redis-Single and Redis-Cluster.
|
|
|
* Found out that Redis-Cluster is almost 3x slower than Redis-Single
|
|
|
* Question that the efficience differece is caused by Java client
|
... | ... | @@ -54,25 +53,23 @@ Well, first these two. |
|
|
* Current Thinking:
|
|
|
* The performance difference between Redis-Cluster and Redis-Single is caused by the client side random redirecting when requesting the data.
|
|
|
* Demo of the situation is like this:
|
|
|
`
|
|
|
127.0.0.1:7000> set foo bar
|
|
|
`127.0.0.1:7000> set foo bar`
|
|
|
`-> Redirected to slot [12182] located at 127.0.0.1:7002`
|
|
|
`OK`
|
|
|
`127.0.0.1:7002> set bar foo`
|
|
|
`-> Redirected to slot [5061] located at 127.0.0.1:7000`
|
|
|
`OK`
|
|
|
`127.0.0.1:7000> get foo`
|
|
|
`-> Redirected to slot [12182] located at 127.0.0.1:7002`
|
|
|
`"bar"`
|
|
|
`127.0.0.1:7002> set min 2`
|
|
|
`-> Redirected to slot [9696] located at 127.0.0.1:7004`
|
|
|
`OK`
|
|
|
`127.0.0.1:7004> set dif r`
|
|
|
`-> Redirected to slot [14969] located at 127.0.0.1:7002`
|
|
|
`OK`
|
|
|
* Whatever
|
|
|
|
|
|
-> Redirected to slot [12182] located at 127.0.0.1:7002
|
|
|
OK
|
|
|
127.0.0.1:7002> set bar foo
|
|
|
-> Redirected to slot [5061] located at 127.0.0.1:7000
|
|
|
OK
|
|
|
127.0.0.1:7000> get foo
|
|
|
-> Redirected to slot [12182] located at 127.0.0.1:7002
|
|
|
"bar"
|
|
|
127.0.0.1:7002> set min 2
|
|
|
-> Redirected to slot [9696] located at 127.0.0.1:7004
|
|
|
OK
|
|
|
127.0.0.1:7004> set dif r
|
|
|
-> Redirected to slot [14969] located at 127.0.0.1:7002
|
|
|
OK
|
|
|
`
|
|
|
|
|
|
* Weak point and improvement for the fakeStream:
|
|
|
1. Changing the functionality of Retwis
|
|
|
1. Add a Retweet function:
|
... | ... | |