SQL vs NoSQL - Who Wins? | Systems Design Interview 0 to 1 with Ex-Google SWE

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

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

  • @bulioh
    @bulioh 7 месяцев назад +8

    i appreciated the your mom jokes probably way more than i should have

    • @jordanhasnolife5163
      @jordanhasnolife5163  7 месяцев назад +5

      So does she

    • @KM-zd6dq
      @KM-zd6dq 4 месяца назад +1

      @@jordanhasnolife5163 lmao, ok this guy is pretty funny

  • @firoufirou3161
    @firoufirou3161 Год назад +20

    I like the video, just about the conclusion about the choice between relational vs non relational db, I think it shouldn't rely on whether there are relations between the data or not, but rather on the need to denormalize vs normalize the data. Sometimes we have data that have relations, but we want to denormalize it, because updates and deletes may be rare that we can afford for these operations to take some time, but we want fast reads.
    I think the choice, of whether to normalize vs denormalize, will depend on the SLAs we want for each operation (read, update, delete, write) and how the queries will look like (we want to optimize reads, we want that updates), if the choice is to normalize, then the DB is better be relational to have the relations, foreign keys and the ability to join handled for us. But on the other hand, if we decide to denormalise, we can sometimes find relational DBs that perform better based on the usecase and on how other parts are implemented (Indexes, ...)

  • @LokendraSingh-42
    @LokendraSingh-42 4 месяца назад +4

    I like to think of SQL as the starting point. When we want to scale, we'll have to compromise on certain functionalities of SQL. We can start by dropping foreign key constraints, partitioning tables, sharding based on certain keys and somewhere in between NoSQL will start to make sense to meet the SLAs

    • @jordanhasnolife5163
      @jordanhasnolife5163  4 месяца назад

      I think that's a really cool way of putting it! Thanks for sharing!

  • @psychechip
    @psychechip 6 месяцев назад +2

    I laughed hard at the decommissioned mom station. Really caught me off guard there

  • @jh0720
    @jh0720 Год назад +4

    Do a Chiraq vlog!! Lots of transactions each day, records constantly being created and destroyed and an ever-changing many to many relationship

  • @12akul
    @12akul 5 месяцев назад +3

    Hi Jordan, great video as always! This might be a silly question. In the Train station example using SQL, is it possible to store both tables in the same database? This way we can avoid 2PC and also network calls.

    • @jordanhasnolife5163
      @jordanhasnolife5163  5 месяцев назад +1

      Yep - just keep in mind that as things scale this isn't always possible.

  • @karan-lh8mj
    @karan-lh8mj Год назад +5

    What books do you read for system design?
    What are your sources?
    Please tell

    • @jordanhasnolife5163
      @jordanhasnolife5163  Год назад +6

      Too many to count since I've watched a lot of random RUclips videos, but mainly DDIA

  • @chrisrectenwald7307
    @chrisrectenwald7307 Год назад +2

    Where u working now

    • @jordanhasnolife5163
      @jordanhasnolife5163  Год назад +2

      In trading but afraid to say exactly where for fear of getting fired

    • @AP-eh6gr
      @AP-eh6gr 7 месяцев назад

      @@jordanhasnolife5163 Chicago, so maybe IMC

  • @CTde110
    @CTde110 8 месяцев назад +1

    420 BLAZE IT BRO

  • @graceharper2619
    @graceharper2619 Год назад +1

    Thanks