Some questions about clusters

36 views
Skip to first unread message

Oscar Besga

unread,
Mar 2, 2022, 6:39:44 AM3/2/22
to Jedis
I wish to ask some questions, a cluster 101 if you
- Operations in transactions will fail if the operations have keys that go to different 'hash slots'. Pipelining operations as well, I think.

- Two keys with the same {} id will go to the same 'hash slot'.
 ( for example pool.1.{a} and  pool.2.{a} )
as the hash operation is forced on the contentns of the {} id

- Operatios to a list or a hashmap will go to the same slot, because the key is the same (even if the hashmap / list doesn't have a {} in the key )


What do you think ?

Thanks in advance !

Sazzadul Hoque

unread,
Mar 2, 2022, 6:59:32 AM3/2/22
to jedis...@googlegroups.com
- Jedis doesn't have Transaction support in cluster mode.

- Jedis upto 3.x doesn't have support Pipelining in cluster mode. Jedis 4.x has that and different hash slots, even different nodes are supported.

- The question about hash slot -> yes.

- The question about list or hashmap -> yes.

--
You received this message because you are subscribed to the Google Groups "Jedis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jedis_redis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jedis_redis/4ee2f43a-beb0-4528-8eec-ab25ead53a4en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages