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
Thanks for making clear difference between Concurrency and Parallelism.
Nice and easy way to explain Concurrency and parallelism 🔥
Thank you!
Yeah but where is the source and info on: "How 100 milliseconds cost Amazon 3 BILLION DOLLARS"? I want see the proof.
Such a crisp explanation💯.
Loved the explanation and insightful
Glad you liked it!
Love the explanation.
Thanks for sharing this content
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.
Thanks for mentioning it!
Great explanation!
Amazing explanation; also nice matching glasses 🤓
Hahaha, thank you! 😃
Nice explanation
gaurav sensei is back
Restaurant example makes the story easy.
Background tasks
Processese
Concurrency
Parrallelism
Both concurrency and parallelism
Thank you!
Thanks
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
Man JS is a mess when I started to code with typescript it felt much better
Nice explanation.
But even great job at caption. Caption is super catchy. I came to the view thinking there would be some case study 😆
🙏💯👍
who the fuck is closing a page because it take longer than .5 seconds to load
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.
Nice explanation
Thank you!