Support CSC(client-side caching) on broadcasting mode#4057
Support CSC(client-side caching) on broadcasting mode#4057wp973 wants to merge 8 commits intoredis:masterfrom
Conversation
…t_mode # Conflicts: # src/main/java/redis/clients/jedis/DefaultJedisClientConfig.java # src/main/java/redis/clients/jedis/JedisPooled.java
|
Hi~ @sazzad16, could you please help me see if this is possible when you have time? |
|
@wp973 Thank you for your consideration and effort in improving Jedis. Firstly and importantly, if I am not mistaken, this PR implements the "Two connections mode" mentioned here. At this moment, we are not considering that approach to include in Jedis. Secondly, the implementation in this PR does not seem to easily expandable to cluster mode (JedisCluster). This is one of our key considerations. So, we may not consider this PR for the time being. Please don't be discouraged. We hope you will continue to help/suggest improving Jedis. |
|
@sazzad16 Thank you very much for your reply.
This PR implements the broadcast mode, not the two connections mode. The command used is: CLIENT TRACKING ON BCAST PREFIX xxx |
|
@wp973 Got it. However, whatever I said before are still mostly applicable. So please don't consider following as my review but here are a few hints:
|
@sazzad16 This is very helpful for me, thanks! I will continue to improve this pr. |
Hi, I added support for broadcast mode tracking based on the current csc implementation.
Could you please help me see if this is possible?
Thanks~
Design Schematic:

code example: