Deadlock in Java

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 29

  • @abhinavramnath7919
    @abhinavramnath7919 Рік тому +4

    I haven't revisited this concept since my University days. This video was a perfect refresher, thank you.

    • @JakobJenkov
      @JakobJenkov  Рік тому

      You are welcome! ... glad it was helpful! :-)

  • @sakuragi1111
    @sakuragi1111 3 роки тому +3

    Thank you, so clear! I am not afraid of deadlock anymore!

    • @JakobJenkov
      @JakobJenkov  3 роки тому +1

      Fantastic! :-) ... glad my video helped you !

    • @sakuragi1111
      @sakuragi1111 3 роки тому +1

      @@JakobJenkov
      Could you make some tutorials about RxJava if possible?
      I am very interested in this topic but can not find good tutorials about this topic on UA-cam at the moment.

  • @mehdisilber9811
    @mehdisilber9811 3 роки тому +2

    The best java tutorials , even better than paid ones ... keep up Mr Jacob

  • @empowercode
    @empowercode 4 роки тому +11

    Hey Jacob, nice to meet you! I just found your channel, love what you're doing!
    I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your UA-cam Journey, can't wait to see you succeed! Your content really stands out and you've put so much thought into your videos, I applaud you on that!
    Cheers, take care, and keep up the great work ;)

    • @JakobJenkov
      @JakobJenkov  4 роки тому

      Thank you :-) I see you do Python and Data Science. Those are also very interesting and useful topics! :-)

  • @ashutoshkedar1577
    @ashutoshkedar1577 3 роки тому +4

    I love each and every video of yours. You are doing a great job.

    • @JakobJenkov
      @JakobJenkov  3 роки тому

      Thanks :-) Glad you like them !!

  • @pramithasdhakal5367
    @pramithasdhakal5367 28 днів тому

    11:05 Is it because the SQL queries inside the transactions are dependent upon each other or that there is no way to know beforehand the order in which the queries will be executed? Btw, awesome tutorial and I'm thoroughly enjoying it.

    • @JakobJenkov
      @JakobJenkov  28 днів тому

      No. It is because there can be a break in between the executed statements. If a connection executes statement 1, then 2, and then 3, and the database only sees one statement at a time, the database cannot change the order of the statements to improve performance, locking etc.
      If a conmection locks table A, and then locks table B, both table A and B are locked.
      If another connection first locks table B and then table A, you could end up with a deadlock situation.

  • @krzmaciek6010
    @krzmaciek6010 3 роки тому +1

    Another high quality video :)

  • @np8688
    @np8688 4 роки тому +1

    Hi Jakob,
    Your tutorials are awesome !
    Thanks

    • @JakobJenkov
      @JakobJenkov  4 роки тому

      Thank you very much! Glad they are helpful! :-)

  • @RakibAmin
    @RakibAmin 4 роки тому +2

    You're an inspiration.

    • @JakobJenkov
      @JakobJenkov  4 роки тому +1

      Thank you very much :-) ... just hope my videos help people learn faster and easier!

  • @kashifahmed_1995
    @kashifahmed_1995 3 роки тому +1

    Awesome people, awesome tutorial and a very helpful website.

    • @JakobJenkov
      @JakobJenkov  3 роки тому

      Thank you very much! I am glad you think so! :-)

  • @rajchavan860
    @rajchavan860 4 роки тому +1

    Good bless you sir😊

  • @RoshiniAjoy
    @RoshiniAjoy 3 роки тому

    Thanks you so much Sir

  • @mytube3486
    @mytube3486 4 роки тому +1

    waiting

    • @JakobJenkov
      @JakobJenkov  4 роки тому +1

      Hope it was worth the wait :-)