How 100 milliseconds cost Amazon 3 BILLION DOLLARS: Latency, Concurrency and Parallelism

Поделиться
HTML-код
  • Опубликовано: 12 июн 2024
  • Can a 500-millisecond increase in page load times cost a website 20% of its incoming search traffic?
    Yes. The impact of latency on user experience is disproportionately large, and both front-end and back-end software engineers are expected to know how to write async programs.
    This helps businesses respond to user demands as soon as possible. There are two types of async programming techniques:
    1. Concurrency
    2. Parallelism
    In this video, we explain the benefits and drawbacks of each technique using manufactured and real-world examples.
    00:00 Who should watch this
    00:20 What are Async Processes?
    00:50 The Impact of Reduced Latency
    01:54 Concurrency Example
    02:28 Parallelism Example
    03:02 Putting them together
    03:40 Drawbacks of Async Processes
    04:26 The Impact of Increased Complexity
    05:36 Real-world examples
    Blog Link: developer.chrome.com/blog/ins...
    System Design Course at InterviewReady: interviewready.io/
    You can follow me on:
    Github: github.com/InterviewReady/sys...
    LinkedIn: / interview-ready
    Twitter: / gkcs_
    #SystemDesign #InterviewReady #Coding

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

  • @TheKundan11
    @TheKundan11 9 месяцев назад +2

    Thanks for making clear difference between Concurrency and Parallelism.

  • @abhishekvishwakarma9045
    @abhishekvishwakarma9045 9 месяцев назад +10

    Nice and easy way to explain Concurrency and parallelism 🔥

    • @gkcs
      @gkcs  9 месяцев назад +1

      Thank you!

    • @mhavock
      @mhavock 9 месяцев назад +1

      Yeah but where is the source and info on: "How 100 milliseconds cost Amazon 3 BILLION DOLLARS"? I want see the proof.

  • @SketchInkAnime
    @SketchInkAnime 9 месяцев назад

    Such a crisp explanation💯.

  • @manoharlutikurthi221
    @manoharlutikurthi221 9 месяцев назад

    Loved the explanation and insightful

    • @gkcs
      @gkcs  9 месяцев назад

      Glad you liked it!

  • @thesouravkumar
    @thesouravkumar 9 месяцев назад

    Love the explanation.

  • @praveenj3112
    @praveenj3112 9 месяцев назад

    Thanks for sharing this content

  • @abhilashm3278
    @abhilashm3278 9 месяцев назад +9

    5:00
    Its also worth mentioning that we have GIL (a mutex) in Python for the very same reason, which ensures that we don't end up with undesirable values.

    • @gkcs
      @gkcs  9 месяцев назад +3

      Thanks for mentioning it!

  • @mohitvishwkarma9391
    @mohitvishwkarma9391 9 месяцев назад

    Great explanation!

  • @abhilashm3278
    @abhilashm3278 9 месяцев назад +1

    Amazing explanation; also nice matching glasses 🤓

    • @gkcs
      @gkcs  9 месяцев назад +1

      Hahaha, thank you! 😃

  • @devkratos711
    @devkratos711 9 месяцев назад +1

    Nice explanation

  • @epicujjwal
    @epicujjwal 9 месяцев назад +1

    gaurav sensei is back

  • @HARI-nm2iz
    @HARI-nm2iz 9 месяцев назад +1

    Restaurant example makes the story easy.
    Background tasks
    Processese
    Concurrency
    Parrallelism
    Both concurrency and parallelism

    • @gkcs
      @gkcs  9 месяцев назад

      Thank you!

  • @whonayem01
    @whonayem01 9 месяцев назад

    Thanks

  • @tharunrajoptimus5229
    @tharunrajoptimus5229 9 месяцев назад +5

    Another perk of living with a deadly language JavaScript is that it makes you learn this concept by default lmao
    The animations are fire 🔥 when you spoke about too many threads doing parallelism and being concurrent

    • @kazeryuu3603
      @kazeryuu3603 7 месяцев назад

      Man JS is a mess when I started to code with typescript it felt much better

  • @vaibhavlodha5398
    @vaibhavlodha5398 9 месяцев назад +1

    Nice explanation.
    But even great job at caption. Caption is super catchy. I came to the view thinking there would be some case study 😆

  • @mrrishiraj88
    @mrrishiraj88 9 месяцев назад

    🙏💯👍

  • @noodle7788
    @noodle7788 9 месяцев назад

    who the fuck is closing a page because it take longer than .5 seconds to load

    • @gkcs
      @gkcs  9 месяцев назад

      I don't think visitors close the page. It it subconsciously registers (this page is slow). They are then reluctant to make payments to the website.
      The Google result is about SEO. They optimize for user experience, so fast pages are ranked higher and get more traffic.

  • @joyjitpal
    @joyjitpal 9 месяцев назад +1

    Nice explanation

    • @gkcs
      @gkcs  9 месяцев назад

      Thank you!