Design a Faster App Store | System Design

  Рет қаралды 5,671

Interview Pen

Interview Pen

Күн бұрын

Пікірлер: 8
@pieter5466
@pieter5466 9 ай бұрын
Another great video. Happy to report this is exactly the architecture I would have drawn up, so that's progress from some months ago. (Except maybe for the time series db.)
@interviewpen
@interviewpen 9 ай бұрын
Great, thanks!
@fireball787b
@fireball787b 4 ай бұрын
imho, the downside of the timeseries db is that you will repeat calculations every time you want to know the total downloads or the top ones. In that case, I would have stored the data in the database on a field that counts the total downloads and then search from there. The issue in this case is that you will probably have deadlocks or concurrency problems because of the reads and writes, mostly on the top used apps. in this case, the db should be sharded so reads occur in one db shard and writes on the other ones. then automatically the db will update the data from one shard with the other ones. Aside from that, great design and i think the combination of db and elastic is a great choice
@interviewpen
@interviewpen 3 ай бұрын
This is a great thought. Unfortunately sharding here will not work--we can't distribute a single row. However, if we're willing to sacrifice consistency, adding a simple TTL cache of the total downloads for each app would be a good way to solve this. Thanks!
@bephrem
@bephrem 9 ай бұрын
great video
@drhdev
@drhdev 9 ай бұрын
Hey guys, what is the purpose of signing up if you are putting all the videos out for free?
@zebra2752
@zebra2752 9 ай бұрын
To support i guess?
@interviewpen
@interviewpen 9 ай бұрын
We have a full course on our platform that's designed to teach you all the fundamentals of system design from the ground up! We also have much more in-depth problems than this one that dive into the specifics of how a system like this would scale at a low level. Think of this video as a teaser--if you liked it but want to dive deeper and learn about the concepts behind this design, you should sign up! Thanks for asking :)
Design a Video Streaming Protocol (HLS, DASH) | System Design
5:23
Design a Low-Latency Social Media Platform | System Design
8:19
Interview Pen
Рет қаралды 7 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 7 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 74 МЛН
Design a Distributed Geospatial Data Platform | System Design
7:00
How Apps Store Images | System Design | AWS S3, CDN
20:05
Code with Irtiza
Рет қаралды 14 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 1 МЛН
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 13 М.
Design a Simple Authentication System | System Design Interview Prep
17:22
Design a Fault Tolerant E-commerce System | System Design
8:17
Interview Pen
Рет қаралды 29 М.
What makes Kafka special? | System Design
6:27
Interview Pen
Рет қаралды 17 М.
Systems Design in an Hour
1:11:00
Jordan has no life
Рет қаралды 26 М.
Design a Data Warehouse | System Design
14:08
Interview Pen
Рет қаралды 29 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 7 МЛН