Intro to ACID Database Transactions | Systems Design Interview: 0 to 1 with Google Software Engineer

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 19

  • @rishabhgoyal8110
    @rishabhgoyal8110 20 годин тому +1

    the smiley logo on the tshirt for ACID topic. hats off on the effort Jordan

  • @firoufirou3161
    @firoufirou3161 Рік тому +3

    According to wikipedia, consistency is more about keeping the DB always in a state that respects the rules:
    Consistency ensures that a transaction can only bring the database from one consistent state to another, preserving database invariants: any data written to the database must be valid according to all defined rules, including constraints, cascades, triggers, and any combination thereof. This prevents database corruption by an illegal transaction. Referential integrity guarantees the primary key-foreign key relationship

    • @jordanhasnolife5163
      @jordanhasnolife5163  Рік тому +3

      Yeah that's fair to say, just mainly the database doesn't go bonkers due to multithreading.

    • @firezdog
      @firezdog 5 місяців тому

      i think this concern is addressed in the video during the discussion that a consistent database is a database that respects the invariants -- for example the invariant that there is always at least one worker listed for a given shift. (it's interesting that some of the invariants are user defined and some are internal to the database, for example foreign key references -- so maybe part of the expectation would be that a database will always pass an integrity check pragma or something)

  • @quanghoang3801
    @quanghoang3801 Рік тому +3

    wow, congratzz, you survived the first wave

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

    okay. I was under my table after the foot picture transaction

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

      That'll be $5

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

      no foot pics no $$$. work hard play hard@@jordanhasnolife5163

    • @TwoiChai
      @TwoiChai 8 місяців тому

      @@jordanhasnolife5163 double it and give it to the next person🙏

  • @ethanwcheatham
    @ethanwcheatham 8 місяців тому +2

    Feels like a fever dream watching this now getting hit with the bath water

  • @dalgonacovfefe
    @dalgonacovfefe Рік тому +3

    sir not the riley reid

  • @prashlovessamosa
    @prashlovessamosa Рік тому +3

    Hey yo.

  • @chrisrectenwald7307
    @chrisrectenwald7307 Рік тому +2

    You should provide the readings that helped you come up with this vidya

    • @jordanhasnolife5163
      @jordanhasnolife5163  Рік тому +2

      All these beginning videos are almost completely ripped off of "Designing data intensive applications" by Martin Kleppmann. In the future I'll start to diverge from this book and then will attach them.

    • @chrisrectenwald7307
      @chrisrectenwald7307 Рік тому +6

      @@jordanhasnolife5163 So you're saying that I should just read the book that I bought.

    • @xmnemonic
      @xmnemonic Рік тому +5

      @@chrisrectenwald7307 lol maybe? there are 1,000 beginner python tuts in video, books, blogs... choose the medium, style that you like

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

      @@chrisrectenwald7307 Lol yeah I hate reading too, alas sometimes you must, that being said I think this still has supplemental value as visual examples