Тёмный

14: Distributed Logging & Metrics Framework | Systems Design Interview Questions With Ex-Google SWE 

Jordan has no life
Подписаться 50 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@martinwindsor4424
@martinwindsor4424 7 месяцев назад
Jordan might not be a pregnant, but he never fails to deliver.
@jordanhasnolife5163
@jordanhasnolife5163 7 месяцев назад
I might be pregnant
@jhonsen9842
@jhonsen9842 2 месяца назад
Jordan is pregnant, and he Delivers in All sys design.
@chadcn
@chadcn 7 месяцев назад
Congrats on 200 videos mate! Keep up the great work 🚀🚀
@jordanhasnolife5163
@jordanhasnolife5163 7 месяцев назад
Thanks man!! I guess I actually enjoy doing this 😄
@beecal4279
@beecal4279 10 дней назад
thanks for the video in 22:00 when we say Parquet files are partitioned by time, do we mean partitioned by the file creation time?
@jordanhasnolife5163
@jordanhasnolife5163 10 дней назад
I mean time of the incoming data/message, however that's probably similar
@frostcs
@frostcs Месяц назад
Hyper table is more of timescaledb concept which is more of b+tree not sure why you mention LSTM tree there 9:00
@jordanhasnolife5163
@jordanhasnolife5163 Месяц назад
Fair point I guess if it's built on postgres it would be a b tree
@Dozer456123
@Dozer456123 9 дней назад
Is it true that s3 files would still have to get loaded over the network for something like AWS Athena? That seems to be a data warehousing strategy that relies on native s3 and not loading all of it across network
@jordanhasnolife5163
@jordanhasnolife5163 8 дней назад
Unfortunately I can't claim to know very much about Athena, I'll have to look into it for a subsequent video.
@Dozer456123
@Dozer456123 8 дней назад
@@jordanhasnolife5163 Sorry, didn't mean to use you like Google :P. I researched it after I asked, and it's quite cool. Basically a serverless query engine that's direct-lined into S3
@DavidWoodMusic
@DavidWoodMusic 6 месяцев назад
My interview is in 9 hours I hear your voice in my sleep I have filled a notebook with diagrams and concepts And I am taking a poopy at this very second We just prevail
@jordanhasnolife5163
@jordanhasnolife5163 6 месяцев назад
Just imagine me doing ASMR as I tell you about my day in a life
@bezimienny5
@bezimienny5 4 месяца назад
Yo how did it go? Are you in your dream team? I sure hope so
@DavidWoodMusic
@DavidWoodMusic 4 месяца назад
@@bezimienny5 thanks friend. Offer was made but I turned it down. Turned out to be a really poor fit.
@bezimienny5
@bezimienny5 4 месяца назад
@@DavidWoodMusic oh damn. That's a Shame. I'm kinda struggling with a similar decision right now. I passed all the interview stages but even at the offer stage I'm still learning new key pieces of info about the position that no one told me about before.... But hey, you beat the systems design interview! That's an amazing win and now you know you can do it 😉
@siddharth-gandhi
@siddharth-gandhi 7 месяцев назад
Bro's single handedly making me question studying ml over systems. Bravo on these videos!
@timavilov8712
@timavilov8712 7 месяцев назад
U forgot to mention the tradeoff between polling and pushing for event producers
@timavilov8712
@timavilov8712 7 месяцев назад
Great video tho !
@jordanhasnolife5163
@jordanhasnolife5163 7 месяцев назад
I'm assuming you mean event consumers not producers. Yeah this is one of those things where it's kinda built into the stream processing consumer that you use, so under the hood I assume we'll be using long polling. I don't know that I see the case made here for web sockets since we don't need bidirectional communication. Server sent events may also be not great because we'll try to re-establish connections automatically, which may not be what we want if we rebalance our kafka partitions.
@doobie91
@doobie91 7 месяцев назад
Thanks a lot for your videos. Currently looking for a new job, brushing up/learning a lot about system design, watched lots of your videos recently. Appreciate your work. Keep it up!
@jordanhasnolife5163
@jordanhasnolife5163 7 месяцев назад
Thanks Andrii, good luck!
@prasenjitsutradhar3368
@prasenjitsutradhar3368 7 месяцев назад
Great content!....pls make a video on code deployment!
@shibhamalik1274
@shibhamalik1274 5 месяцев назад
Hey jordan what is the data source in the last diagram here ? Is it the VM pushing logs / serialised Java objects etc to kafka ?? U mean the application when it logs a statement that statement makes a push to kafka ? Then what should be the partition key of this kafka cluster ? Should it be server id or a combination of server id + app name or how should be we structure this partition key ?
@jordanhasnolife5163
@jordanhasnolife5163 5 месяцев назад
Yes the application is pushing to Kafka. I think that you should probably use the app/microservice name as the Kafka topic, and then within that partition by server ID in kafka
@nithinsastrytellapuri291
@nithinsastrytellapuri291 5 месяцев назад
Hi Jordan, I am trying to cover infrastructure-based system design questions like this one first. Can you please clarify if I need to watch video 11, 12, 13 to understand this? Any prerequistes ?( I have covered concepts 2.0). Is it same for 17, 18, 19 videos as well?
@jordanhasnolife5163
@jordanhasnolife5163 5 месяцев назад
Watch them in any order you prefer :)
@deepitapai2269
@deepitapai2269 3 месяца назад
Great video as always! Why do you store the files on S3 as well as a data warehouse? Why not just store on the data warehouse directly from Parquet files? Is it that we need a Spark consumer to transform the S3 files before putting the data into the data warehouse?
@jordanhasnolife5163
@jordanhasnolife5163 3 месяца назад
Depends on the format of the S3 data. If it's unstructured, then we'd likely need some additional ETL job to format it and load it into a data warehouse.
@VijayInani
@VijayInani Месяц назад
Why are you so underrated!!! You should have been famous until now (more than your current famous index!).
@jordanhasnolife5163
@jordanhasnolife5163 Месяц назад
I'm famous in the right circles (OF feet creators)
@mukundkrishnatrey3308
@mukundkrishnatrey3308 3 месяца назад
Hi Jordan, Regarding the post processing of unstructured data, can we do the batch processing in Flink itself, as it does support that, or it's not suitable for large scale of data? What could be the size of data which can dealt by flink itself, after which we might need to use HDFS/ Spark? PS :- Thanks for the amazing content, you're the best resource I've found till date for system design content :)
@jordanhasnolife5163
@jordanhasnolife5163 3 месяца назад
Flink isn't bounded in the amount of data it can handle, you can always add more nodes. The difference is that flink is for stream processing. Feel free to watch the flink concepts video, it may give you a better sense of what I mean here.
@mukundkrishnatrey3308
@mukundkrishnatrey3308 3 месяца назад
@@jordanhasnolife5163 Okay, got it now, thanks a lot again!
@zuowang5185
@zuowang5185 4 месяца назад
do these new videos replace the old? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_KoiMoZZ3C8.html
@jordanhasnolife5163
@jordanhasnolife5163 4 месяца назад
I'd think so
@sohansingh2022
@sohansingh2022 7 месяцев назад
Thanks
@helperclass8710
@helperclass8710 6 месяцев назад
Great video man. Thanks.
@shibhamalik1274
@shibhamalik1274 5 месяцев назад
Hey Jordan do u have a video on pull vs push based models of consumption ? I blv kafka is pull based but I want to understand who uses push based
@jordanhasnolife5163
@jordanhasnolife5163 5 месяцев назад
Nothing regarding which message brokers do push based messages, feel free to Google it and report back
@shibhamalik1274
@shibhamalik1274 5 месяцев назад
Ok @jordan. I think kafka is push based not pull based . Pull based could be custom implemented I think …
@31737
@31737 4 месяца назад
hey Jordan great video, does this require any sort of API design? given that we need to read through the data metrics does it makes sense to also describe the API structure, let me know your thoughts, thanks.
@jordanhasnolife5163
@jordanhasnolife5163 4 месяца назад
Sure. You need an endpoint to read your metrics by time range, and it probably returns paginated results. (Perhaps taking in a list of servers) Anything else you're looking for?
@31737
@31737 4 месяца назад
@@jordanhasnolife5163 right also for elastic search result you gonna need an API unless you wanna combine it with metrics which I don't think it's a good idea
@31737
@31737 4 месяца назад
Also a request for making a video for tracking autonomous cars + collecting other metrics sensors/etc, thanks man your work is gold and I love the depth them
@jordiesteve8693
@jordiesteve8693 2 месяца назад
thanks for your work!
@SunilKumar-qh2ln
@SunilKumar-qh2ln 7 месяцев назад
Very informative video as always. Was just thinking how the metric is pulled by prometheus (which will eventually store in the DB). How the different clients responsibility is assigned to the aggregator pods so that metric is pulled exactly once from each client pods.
@jordanhasnolife5163
@jordanhasnolife5163 7 месяцев назад
I'm not too familiar with prometheus personally, feel free to expand on what you're mentioning here!
@georgekousouris4900
@georgekousouris4900 3 дня назад
In this video you are using the push method, by having hosts connect to Kafka directly. This could be deemed too perturbing to the millions of hosts, so instead they can expose a /metrics endpoint that a consumer can use to fetch their current data. To answer the question above, we need to do some sort of consistent hashing to assign the millions of hosts to consumer instances and then put the data in Kafka (can create multiple messages, one for each metric). In the push method, we are putting the data directly to Kafka from each EC2 host where it is buffered before being consumed by our Spark Streaming instance that updates our DBs.
@shibhamalik1274
@shibhamalik1274 5 месяцев назад
Hey jordan nice video do u have any video on which databases support cdc and how ?
@jordanhasnolife5163
@jordanhasnolife5163 5 месяцев назад
I think you can figure out a way to make it work on basically any of the major ones, don't have a video on it though
@hoyinli7462
@hoyinli7462 6 месяцев назад
great job!
@aryanpandey7835
@aryanpandey7835 6 месяцев назад
sir please share slides with us
@jordanhasnolife5163
@jordanhasnolife5163 6 месяцев назад
I will try to do this soon
@bimalgupta3648
@bimalgupta3648 5 месяцев назад
Watching this while taking a dump
@jordanhasnolife5163
@jordanhasnolife5163 5 месяцев назад
Responding to this while taking a dump
@bimalgupta3648
@bimalgupta3648 5 месяцев назад
@@jordanhasnolife5163 No wonder you have no life
@user-se9zv8hq9r
@user-se9zv8hq9r 6 месяцев назад
can we design onlyfans or fansly
@jordanhasnolife5163
@jordanhasnolife5163 6 месяцев назад
Lol maybe at 100k
Далее
Iran launches wave of missiles at Israel
00:43
Просмотров 820 тыс.
Microservices are Technical Debt
31:59
Просмотров 387 тыс.
System Design Concepts Course and Interview Prep
53:38
Просмотров 311 тыс.
Google Systems Design Interview With An Ex-Googler
59:59