सभी उदाहरण

उदाहरण

नया कैश सर्वर जुड़ने पर कौन-सी कीज़ खिसकती हैं

हैश रिंग पर तीन कैश सर्वर और चार कीज़, हर की घड़ी की दिशा में अगले सर्वर के पास; चौथा सर्वर जुड़ता है और सिर्फ़ एक की उसके पास जाती है।

यह वीडियो सिस्टम डिज़ाइन स्किल से बना है।

  • 0:58
  • सिस्टम डिज़ाइन
  • Kore की आवाज़ में
  • अंग्रेज़ी

प्रॉम्प्ट से बना

Explain consistent hashing with a hash ring: which keys move when a server is added?

वीडियो की ट्रांसक्रिप्ट

Adding one cache server should not force every cached key to move.

We hash cache server A onto a circle, then place servers B and C.

Now hash apple, book, cat, and dog onto that same circle, using their keys.

Each key belongs to the first server clockwise around the ring. So dog wraps past the top to A.

What happens when you need more capacity? Add server D between A and B.

Only book moves from B to D; its hash falls between A and D.

With uniform hashes, adding a fourth server moves about one quarter of keys on average. Real caches must refill moved entries.

Keys mark data; servers own the preceding clockwise interval. Adding D changes only its new interval, keeping other owners stable.

और उदाहरण

आपका टॉपिक, करीब एक मिनट में बनकर तैयार।

आपके पहले 2 वीडियो फ़्री हैं, हर वीडियो 1 मिनट तक का, वॉटरमार्क के साथ। कार्ड की ज़रूरत नहीं। पूरा प्रोडक्ट, हर आवाज़ और हर स्टाइल समेत।