Redis Cluster horizontal scaling ஐ செயல்படுத்துகிறது பல Redis nodes களில் தரவுகளை sharding செய்வதன் மூலம் — dataset மற்றும் load ஐ விநியோகிப்பது இதனால் Redis ஒற்றை சேவையகத்தின் நினைவகத்திற்கு அப்பாலான தரவு மற்றும் throughput ஐ கையாள முடியும். இது தரவை hash slots வழியாக பிভாகிக்கிறது மற்றும் உள்ளமைக்கப்பட்ட உচ்च கிடைக்கூடிய தன்மை வழங்குகிறது.
Hash slots மூலம் Sharding
Redis Cluster divides the keyspace into 16384 HASH SLOTS.
→ each key maps to a slot: slot = CRC16(key) mod 16384
→ slots are distributed across the cluster's primary nodes
→ each node owns a subset of slots (and thus a subset of the data)
→ This spreads data and load across nodes → scales memory and throughput horizontally.
