2017-11-14から1日間の記事一覧
Redis Cluster の Slot に関して Redis Cluster は slot(shard) が 16384個あり、それぞれの node がその slot を複数保持している。 ある key がどの slot に割当られるのかは、以下の計算で行われる。 slot_num = CRC16(key) mod 16384 また、key に {...}…
Redis Cluster の Slot に関して Redis Cluster は slot(shard) が 16384個あり、それぞれの node がその slot を複数保持している。 ある key がどの slot に割当られるのかは、以下の計算で行われる。 slot_num = CRC16(key) mod 16384 また、key に {...}…