How Distributed Lock works | ft Redis | System Design

Поділитися
Вставка
  • Опубліковано 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

  • @AchintBhat
    @AchintBhat 15 днів тому +2

    Great content! Very informative!

  • @ASSASSINakaInTRO
    @ASSASSINakaInTRO 9 днів тому +1

    Thx for the video and channel

  • @Zmey5656
    @Zmey5656 20 днів тому +2

    Thanks for locking and unlocking

  • @tarunstv796
    @tarunstv796 13 днів тому

    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