How Distributed Lock works | ft Redis | System Design

Поделиться
HTML-код
  • Опубликовано: 30 июн 2024
  • Distributed locking is a key concept in ensuring data integrity and consistency in distributed systems. In this video we explore distributed locking mechanisms including centralized locking, token-based locking, and quorum-based locking, explaining their principles, advantages, and limitations.
    We then look into Redis based Redlock, a widely adopted quorum-based locking algorithm that provides high availability and fault tolerance. We break down the Redlock algorithm step by step, highlighting how it leverages multiple Redis instances to achieve consensus on lock acquisition.
    Throughout the video, I emphasize the importance of distributed locking in maintaining data integrity and preventing conflicts in concurrent systems.
    We also discuss real-world applications of distributed locking, such as managing inventory in e-commerce systems and coordinating access to shared resources in cloud environments.
    LinkedIn: / bytemonk
    System Design Interview Basics Playlist:
    ► • System Design Intervie...
    AWS Certification:
    ►AWS Certified Cloud Practioner: • How to Pass AWS Certif...
    ►AWS Certified Solution Architect Associate: • How to Pass AWS Certif...
    ►AWS Certified Solution Architect Professional: • How to Pass AWS Certif...

Комментарии • 4

  • @ASSASSINakaInTRO
    @ASSASSINakaInTRO 12 дней назад +1

    Thx for the video and channel

  • @AchintBhat
    @AchintBhat 18 дней назад +2

    Great content! Very informative!

  • @Zmey5656
    @Zmey5656 23 дня назад +2

    Thanks for locking and unlocking

  • @tarunstv796
    @tarunstv796 16 дней назад

    what if someone else use a different lock_key to perform the same ciritical section operation?
    I mean somehow lock_key should be same for all the operations+service combination