Redis Cluster একাধিক Redis নোড জুড়ে ডেটা শার্ডিং করে হরাইজন্টাল স্কেলিং সক্ষম করে — ডেটাসেট (এবং লোড) বিতরণ করে যাতে Redis একটি একক সার্ভারের মেমরির বাইরে ডেটা এবং থ্রুপুট পরিচালনা করতে পারে। এটি hash slots এর মাধ্যমে ডেটা পার্টিশন করে এবং অন্তর্নির্মিত উচ্চ প্রাপ্যতা প্রদান করে।
হ্যাশ স্লটের মাধ্যমে শার্ডিং
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.
