Why Memcached Uses Cuckoo Hashing, While Redis Does Not

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 10

  • @haloboy777
    @haloboy777 หลายเดือนก่อน +1

    Thank you Ma'am. Please don't stop. These are really informative!

    • @TechCareerBytes
      @TechCareerBytes  หลายเดือนก่อน

      Thank you for your kind words 🙏

  • @manoharprabhu7076
    @manoharprabhu7076 หลายเดือนก่อน +1

    Your videos are really helpful, please continue on such videos

  • @development_account
    @development_account 25 วันที่ผ่านมา

    You're brilliant ma'am. Thank you for the amazing contents.

    • @TechCareerBytes
      @TechCareerBytes  25 วันที่ผ่านมา

      Glad you like them! Please share it in your circle 🙏

  • @shahilyadav453
    @shahilyadav453 หลายเดือนก่อน +1

    Hiee Ma'am, ur content is actually very gold. Where everybody just compares a framework or next language in their yt videos. Ur channel is real gold, i never thought in this way that hash value could also collide. Ma'am please may you provide an example when this happens in real life. If a key is already present in hashmap wouldn't it just update that ? Just a doubt ma'am.

    • @TechCareerBytes
      @TechCareerBytes  หลายเดือนก่อน

      Suppose Memcached stores a user session under the key "user:123:session" and a recent search result under the key "search:latest:results". Both keys are hashed to determine their storage location in Memcached’s hash table. Due to the hashing function, it’s possible that both "user:123:session" and "search:latest:results" might map to the same index, say index 42. This results in a collision, as both pieces of data would ideally occupy the same slot in the table.

    • @shreyasd6794
      @shreyasd6794 หลายเดือนก่อน +1

      ​@@TechCareerBytes thankyou for that example!

  • @nishantsharma8824
    @nishantsharma8824 หลายเดือนก่อน +1

    thankyou for this. your videos are in very detail! I'm a software engineer !

  • @shahilyadav453
    @shahilyadav453 หลายเดือนก่อน +1

    8th Like ig 🎉