Design a High-Throughput Logging System | System Design

  Рет қаралды 47,972

Interview Pen

Interview Pen

Күн бұрын

Пікірлер: 24
@wizz0056
@wizz0056 10 ай бұрын
Kafka -> Loki -> S3 If you're looking for an existing solution :)
@interviewpen
@interviewpen 10 ай бұрын
Yep, S3 does a lot of the things discussed here behind the scenes. Thanks for watching!
@lunaxiao9997
@lunaxiao9997 8 ай бұрын
great video,very clear
@interviewpen
@interviewpen 8 ай бұрын
Thanks!
@developerjas
@developerjas 10 ай бұрын
Great Video man! Would how would you go about designing the data ingestion part?
@interviewpen
@interviewpen 10 ай бұрын
Great point! There’s a lot that goes into ingesting logs while optimizing network performance and maintaining context. Check out our full video on monitoring systems on interviewpen.com :)
@sahanahunashikatti3935
@sahanahunashikatti3935 10 ай бұрын
😊😊 ok 0​@@interviewpen
@supragya8055
@supragya8055 6 ай бұрын
i dont understand , if under same bucket lets say for (2021-2022) we have multiple nodes , how are reads any faster ? for the same bucket logs will be distrubuted across servers and still need to be queried across servers which is slow . Bucketing didnt help in improving read performace , is my understanding .
@interviewpen
@interviewpen 6 ай бұрын
Yes, sharding improves write performance at the expense of query latency (unless we shard by something more clever!). However, we can still handle a high throughput of reads. This latency vs throughput problem is a common tradeoff with large-scale systems! Hope that helps :)
@sahanagn4485
@sahanagn4485 7 ай бұрын
Great video!!! Please slow down the speed of video as someone new to topic its bit fast to grasp the concept.
@interviewpen
@interviewpen 7 ай бұрын
Ok, noted!
@GoofGoof-cs6ny
@GoofGoof-cs6ny 6 ай бұрын
So in 2018 every service was writing logs to node 3, didn't we went back to bad write complexity by doing bucketing?
@interviewpen
@interviewpen 6 ай бұрын
Yep, bucketing makes query performance better, so we introduce sharding as well to distribute writes within a bucket.
@michatobera6049
@michatobera6049 10 ай бұрын
Great video
@interviewpen
@interviewpen 10 ай бұрын
Thanks!
@didimuschandra6680
@didimuschandra6680 10 ай бұрын
Greatt video!! thanks! but, can you create video to develop Effective and efficient Ticketing System?
@interviewpen
@interviewpen 10 ай бұрын
Sure, we'll add it to the backlog. Thanks for watching!
@prakharsrivastava6644
@prakharsrivastava6644 3 ай бұрын
I love the cute computer in the background
@interviewpen
@interviewpen 2 ай бұрын
Thank you :)
@weidada
@weidada 10 ай бұрын
Suppose every two years, it ingest 2PB and migrate 1PB, how could three sets be enough to cycle after 12 years?
@interviewpen
@interviewpen 10 ай бұрын
Great question! At any given time, we have three "hot" nodes--two are migrating data to cold storage and one is ingesting new data. We only showed one cold storage node in the example, but we would need at least 2 to make this work long-term. Hope that helps!
@ankushraj3599
@ankushraj3599 5 ай бұрын
Why not use Kafka for high through put?
@interviewpen
@interviewpen 5 ай бұрын
Kafka is an event streaming platform, so it wouldn't solve any of the log storage problems we're addressing here. But if you have any thoughts on how to incorporate it, feel free to share!
@RaushanKumar-co3wj
@RaushanKumar-co3wj 5 ай бұрын
@@interviewpen Use kafka stream + cassandra . process the event through consumers and save inside a Hbase db for analytics .
How does Netflix's CDN scale to over 100TB/s? | System Design
8:38
Interview Pen
Рет қаралды 28 М.
Basic System Design for Uber or Lyft | System Design Interview Prep
16:18
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 46 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,7 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 157 МЛН
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 129 М.
Design a Data Warehouse | System Design
14:08
Interview Pen
Рет қаралды 29 М.
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 М.
I ACED my Technical Interviews knowing these System Design Basics
9:41
Design an ML Recommendation Engine | System Design
8:46
Interview Pen
Рет қаралды 15 М.
How do Databases Work? | System Design
9:46
Interview Pen
Рет қаралды 23 М.
How to Check if a User Exists Among Billions! - 4 MUST Know Strategies
12:44