System Design of a Ticket Booking System: BookMyShow

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

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

  • @the_rocker7786
    @the_rocker7786 8 дней назад

    Hey gaurav, I have a query.i have a cron job in which I have a scenario of same row getting inserted by multiple thread through concurrency which I want to avoid.how can we achieve this?
    Technologies used: jpa springboot webflux

  • @dhruvgupta2634
    @dhruvgupta2634 Месяц назад +4

    Must needed video after Coldplay's concert tickets demand.... 💀
    Bhaiya, aapko mili kya ticket? 🥲

  • @charan775
    @charan775 11 дней назад +1

    43:00
    why is queue required here for concurrent bookings?
    can't this be implemented using optimistic locking?
    whichever intent comes first, we update their status = locked
    so other two booking intents are going to fail because they needed to update on open status row only
    cause if I open two tabs simulatenously and try to book overlapping seats then one of them fails

    • @swamysriman7147
      @swamysriman7147 16 часов назад

      I guess they were assuming lockless or local lock design there.

  • @RohitKumar-ve3fi
    @RohitKumar-ve3fi Месяц назад

    will the booking be synchronous? how long does the server keep the connection of the client? let's say user has to wait for 5 mins in the queue, will the user see a buffering in the device?

  • @lakanavarapunagamanikantaa7299
    @lakanavarapunagamanikantaa7299 Месяц назад +2

    how we can scale the event queue service

    • @patelaryan0914
      @patelaryan0914 Месяц назад

      event queue is not a service we need to scale we just need to handle the single point of failure as multiple request comes it just goes into queue

  • @charan775
    @charan775 11 дней назад

    40:30 isn't this wrong? not updating status from locked to open even though technically its open.

    • @B-Billy
      @B-Billy 8 дней назад

      Yeah, it got missed... the bookingStatus will be 'Booked'.

  • @ayushgupta-je8kx
    @ayushgupta-je8kx Месяц назад

    Cant we use versioning to prevent double booking?

  • @keeplearning8102
    @keeplearning8102 Месяц назад

    At the end you have make it like, i will provide you seat number, customer dont have that liberty, this is not going to wrk

  • @ankurbrdwj
    @ankurbrdwj Месяц назад

    koi nahi bacha payga , sabka ticket katega 🎟😆

    • @shashibhushan3289
      @shashibhushan3289 Месяц назад

      sabka katega ticket ,sabko is duniya se jana hai

  • @paritosh944
    @paritosh944 Месяц назад

    💀💀