System Design Book My Show/ Flash Sale / Meeting Rooms booking

Join the discord community to share more learnings on system design and distributed systems:
/ discord

Пікірлер: 11

  • @akramwasim805
    @akramwasim805 Жыл бұрын

    Nice explanation, please keep creating this type of content, very neat and to the point.

  • @javiergrijalva303
    @javiergrijalva303 Жыл бұрын

    loved this explanation!

  • @ibrahimshaikh3642
    @ibrahimshaikh36425 ай бұрын

    Nice one

  • @sakshamjain16
    @sakshamjain16 Жыл бұрын

    How to handle deadlock situation in such case?

  • @MegaCPfan101
    @MegaCPfan10110 ай бұрын

    What are some other solutions for a similar problem?

  • @arupde6320
    @arupde63204 ай бұрын

    be regular

  • @vipinbansal6892
    @vipinbansal689210 ай бұрын

    Instead of having each seat as a row in the database and using locks, we can use a saga pattern. As part of the transaction, we will decrease the availability (of seats or products). If the transaction fails down the line (failure in payment), we can implement a compensating transaction which will increase the availability by the same amount. What do you think?

  • @Adi-yi6qq

    @Adi-yi6qq

    5 ай бұрын

    This does not solve the problem of double booking though.

  • @gopalchakraborty5834

    @gopalchakraborty5834

    Ай бұрын

    Saga pattern is built for breaking down a long transaction into small transaction and commit in every step until and unless all the smaller transaction is successful the final commit will not happen .it could not help with validate the concurrent booking for a shared resource.

  • @mahanteshambali
    @mahanteshambali Жыл бұрын

    Very nice info. Thank you for sharing. What's the software you're using for presentation.

  • @LeoLeo-nx5gi

    @LeoLeo-nx5gi

    Жыл бұрын

    excalidraw