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
New version 2.1.4 or greater performance is low. #338
Comments
Which Redisson objects do you use in your application? Redis configuration also important to know |
Also try currenty latest Redisson version - 2.2.3. Because Redisson has a lot of changes since 2.1.4 version. |
I have test 2.1.4 2.1.6 2.2.0 2.2.3 cpu and memory also increase more than 2.1.3. |
Ok, will check it too |
@lefay1982 also try to change netty version. Redisson uses netty 4.0.32 since 2.1.4 version. 2.1.3 uses 4.0.30. Maybe this affects performance |
Run 17 hours, the new version after 2.1.3 res increase 1.019g and 800M. the other machine the res is 300M and 500M |
Let's move to gitter chat to discuss :) |
@lefay1982 Does it work well now? |
no, after deploy 1 machine the 2.2.4-SNAPSHOT, all my apps is run abnormal. |
ok, I'll continue investigation |
@lefay1982 i have reduced memory allocation by listeners. Please check last build |
my gitter is not use, I check the latest code, and run, all my server is not load, redis no output bytes. |
I only use RMap RAtomicLong RSet RLock RQueue, RBucket. |
I tried this config and it works. config.useSentinelServers().setMasterName("mymaster").addSentinelAddress("127.0.0.1:26379", "127.0.0.1:26389")
.setSlaveConnectionPoolSize(50)
.setMasterConnectionPoolSize(50); |
Now I used is config.userMasterSlaveServers(); |
Run test is OK |
Sorry, what does it mean? |
Could you describe steps to reproduce it? |
I tried follow scenarios with useMasterSlaveServers (1 master, 2 slaves):
All tests are passed for me. |
"epollEventLoopGroup-4-2" prio=10 tid=0x00007f03e0004000 nid=0x6153 in Object.wait() [0x00007f0450e32000] "epollEventLoopGroup-4-1" prio=10 tid=0x00007f03e0007800 nid=0x6152 in Object.wait() [0x00007f0450f33000] "epollEventLoopGroup-4-5" prio=10 tid=0x00007f03e000a000 nid=0x616c in Object.wait() [0x00007f0450832000] "nioEventLoopGroup-6-8" prio=10 tid=0x00007f040c074800 nid=0x61e6 runnable [0x00007f03ce1eb000] |
when run some time in my server. and stop nginx not let client call server's, my app's cpu is 40%. |
Netty's EventLoopGroup bossGroup and workderGroup What Number you set? |
I think is my netty's setting have set error. |
@lefay1982 I didn't touch any of those settings. My settings are: config.useMasterSlaveServers().setMasterAddress("127.0.0.1:6399").addSlaveAddress("127.0.0.1:6379").addSlaveAddress("127.0.0.1:6389")
.setSlaveConnectionPoolSize(50)
.setMasterConnectionPoolSize(50); |
Also, there is no |
OK, I use Netty for Server instance. |
hi @mrniko here has a exception of v2.2.4: ERROR error |
when using RLock. |
2015-12-29 01:17:55.212 epollEventLoopGroup-4-1 ERROR error |
@lefay1982 you need to recreate lock it's not compatible with 2.1.3 version. RedissonLock passes the tests. |
I start 7 instance, but 1 instace update 2.2.4. this is the cause. |
So now you are using 2.2.4 in all instances. Am I right? |
when I deploy 2.2.4 in all instances, RMap.fastPut can not put value to Redis, but fastRemove can remove, cause my Redis's data removed. I can only return to 2.1.3. In 2.1.3 the RBatch.executeAsync not put my data to Redis. |
I launched RMap tests and they all are passed. |
@lefay1982 any news? |
Have no time to test. |
@lefay1982 major bug with |
When I use redisson 2.1.3 the ubuntu's load average is 1.8 ~ 2.3; but I use 2.1.4 or greater, the load average is often greater than 3.00, my java application often overload.
The text was updated successfully, but these errors were encountered: