YouTube High Level System Design with

  Рет қаралды 85,291

Keerti Purswani

Keerti Purswani

11 ай бұрын

Most people ask how can we discuss system design in an hour, well this is half an hour video.
Also, note that I taught some of these concepts to papa in previous video. How different the discussion is with a beginner than with an experienced person!
Thank you @harkirat1 for being such a sport! ✌🏻😇
𝐂𝐇𝐄𝐂𝐊𝐎𝐔𝐓 𝐃𝐄𝐓𝐀𝐈𝐋𝐒 𝐀𝐍𝐃 𝐄𝐍𝐑𝐎𝐋 𝐅𝐎𝐑 𝐓𝐇𝐄 𝟓-𝐖𝐄𝐄𝐊 𝐋𝐈𝐕𝐄 𝐇𝐋𝐃 𝐂𝐎𝐔𝐑𝐒𝐄-
www.keertipurswanicourses.com
If you like my work, Please 𝐬𝐮𝐛𝐬𝐜𝐫𝐢𝐛𝐞 here - / keertipurswani
You can also connect with me on-
𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧 - / keertipurswani
𝐃𝐢𝐬𝐜𝐨𝐫𝐝 - / discord
𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 (for personal, raw and real side of my life) - keerti.purs...
𝐓𝐰𝐢𝐭𝐭𝐞𝐫 - KeertiPurswani?s=09
#systemdesign #softwareengineer #hld

Пікірлер: 144
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Go from this basic level to advanced level in 5-Week LIVE HLD Course - www.keertipurswanicourses.com
@hackingskillset6603
@hackingskillset6603 11 ай бұрын
Please give discount code di extra discount code
@aliikhlas141
@aliikhlas141 11 ай бұрын
For whom you have designed the course?
@shivamnegi4873
@shivamnegi4873 11 ай бұрын
Harkirat has now become a common face in Indian Youtech community ❤
@java3269
@java3269 8 ай бұрын
The video started with Keerti interviewing Harkirat; and ended with a 180-degree role reversal. Harkirat is a smooth operator. 😂
@dakshayagarwal2560
@dakshayagarwal2560 6 ай бұрын
He is not a smooth operator. He lacks System design experience & doesn't know many basic things. Being Overconfidence over his face, & doesn't even behaving like a interviewee. Hence Interviewer took the responsibility to continue the design, because she needed content for KZbin video.
@rohitjain7626
@rohitjain7626 6 ай бұрын
@@dakshayagarwal2560 +1 It all started with him not listing watch feature in functional requirements and then saying no idea in non functional requirements. He failed the interview in the first 2 minutes.
@user-dk4oe6dy3y
@user-dk4oe6dy3y 3 ай бұрын
Harikirat is god
@sudheersingh2515
@sudheersingh2515 5 ай бұрын
The way keerti is explaining the concepts and logic shows she has more theoretical knowledge and Harkirat is being more practical here like there will be need of updating user’s profile picture if storing that in meta data etc… and i think that should be the approach to any system design problem which is way more than just drawing boxes.
@Manney45
@Manney45 11 ай бұрын
That tcp and udp discussion was superb.. Thanks keerti di for this wonderful video ❤❤
@shivinunitholi2493
@shivinunitholi2493 10 ай бұрын
The fact that Harkirat's channel has grown massively over the last few months is because he has this original element in his content and ppl can relate with what he says. Being someone who's pivoting from Non tech to Tech, I'm truly inspired by Harkirat.
@avegeta1
@avegeta1 10 ай бұрын
From this awesome System design discussion I could clearly see that these two folks have a very different thought process. Where Keerti likes to discuss about the Highlevel system design. And The dude likes to see the knitty gritty of the problem and visualizes how it will actually look physically.
@BosscoderAcademy
@BosscoderAcademy 9 ай бұрын
The way you explain KZbin system design is truly commendable. We also believe in making these concepts accessible by makin video on system design of Microsoft teams
@JohnSnow-gi7iv
@JohnSnow-gi7iv 8 ай бұрын
This guy has very good real world work experience which is very clear from his questions and suggestions while Keerti has a lot of theoretical knowledge, just an observation.
@Rajdeep11082
@Rajdeep11082 9 ай бұрын
Great informative video! Just to add more on TCP/UDP part, KZbin and other social media platforms where live streaming is performed, they use Dynamic Adaptive Streaming over HTTP (DASH) protocol which is based on TCP since it gives adaptive bit rate streaming - different resolutions , also video meta data with chunks adding functionality and most importantly as it uses TCP, the video quality is guaranteed . On the other hand, WebRTC uses combination of TCP and UDP, which result into poor quality at some point of time due to lost packet. WebRTC is more reliable for real time communication like video calling, peer to peer communication etc.
@amansingh-os9gd
@amansingh-os9gd 10 ай бұрын
very nice walkthrough of the system design, kudos harkirat for opening up the network tab
@vm1662
@vm1662 8 ай бұрын
Thanks Keerti and Harkirat. I liked the format of the video. It was more like a discussion rather than an interview. This led to a very free flowing conversation. Looking forward to more! :)
@normy_one
@normy_one 10 ай бұрын
Upload to view ratio might be a lot lower than 1:100, I guess. About TCP vs UDP, apart from consistency and quality, TCP allows the user to seek back. WebRTC is also an expensive choice btw, and is used for real-time use cases only. Overall feedback: 1. The information about ABR and the manifest file was interesting. 2. Designing KZbin is a huge topic, but nice that you covered the basics well. It will be amazing to see more granular and detailed videos for each sub-topic. 3. Didn't feel like an interview, but was a good discussion. 4. Good video overall. Thanks. 👍
@DurgaShiva7574
@DurgaShiva7574 11 ай бұрын
nice content, really looking forward for your upcoming you-tubes component wise videos which will explain more minute components in more detail. keep up the good work !
@pranilscode
@pranilscode 11 ай бұрын
Thank You Mam 👏👏👏 , It's really getting More Information about System Design, Please Keep It Mam ,Do More Video Like This🙏 .
@SuryaKarigar
@SuryaKarigar Ай бұрын
These discussions are mind refreshing as there are two different perspective of thinking for the same system, one is coder and other is a system designer. As a coder I can say she’s amazing at doing it theoretically with explaining it but with a practical coder, it even becomes more clearer to understand and design a better system all together ❤❤
@dhineshbabu9376
@dhineshbabu9376 11 ай бұрын
Very useful discussion and excellent piece of content❤👌. Sharing it with my team for learning. Thank you for your contributions to the community.. 😊
@pawnstar8771
@pawnstar8771 2 ай бұрын
"I agree with you I know about it" LMAO that was funny
@vikram_saha7
@vikram_saha7 11 ай бұрын
Great discussion !! Learned a lot.
@pleaseexplain4396
@pleaseexplain4396 11 ай бұрын
When you say that the splitter service will be splitting a video using a queuing service like RabbitMq, what do you really mean? Just using terms like splitting will happen using RabbitMq doesn't make any sense. RabbitMq is a MessageQueuing service i.e. something similar to AWS SQS wherein you send messages from a client to a server or vice versa. The input to such a splitting service can't be an entire video rather the video needs to be uploaded into an archival service for instance an S3 bucket and the path to the video must be passed to the splitting service in a RabbitMq message where the splitting service will then start to chunkify the video and do miscellaneous things with it.
@rittikdasgupta8772
@rittikdasgupta8772 11 ай бұрын
Designing youtube is a very large example. The outcome of building such a system will only result in a very vague solution and it might not be that helpful. I would love to see designing videos of different components of youtube (example, there will be a lot of details and tradeoffs required in uploader and splitter service) instead of whole youtube and going a bit more in detail. There are a lot of creators who create such vague system design videos, but I would highly appreciate if any indian creator makes system design videos that are actually practical and are in much more depth. This will highly benefit the tech community. BTW love the content of this channel. Hope to see such good content in future too. 😊
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Hey, you see so many educators teaching like this because this is what is expected in interviews and people are scared of. But it’s a good feedback and an interesting challenge, I assure you that I will come up with such videos 😇
@KishorePurswani
@KishorePurswani 11 ай бұрын
I love your attitude of accepting such challenges ❤❤
@TheHaribols
@TheHaribols 10 ай бұрын
@@KeertiPurswani bro youtube has 2.3 billion user per month and not per day , also they only have 122 million daily active users.
@amandeshpande8981
@amandeshpande8981 10 ай бұрын
The discussion in this video is pure gold 🌟
@codezard1
@codezard1 10 ай бұрын
Great Discussion, Subscribed🤟
@sameer_sah
@sameer_sah 8 ай бұрын
16:46 A user having lots of videos would mean a coloumn in user table with data as array of videoID/ video URLs. This would make the table unnormalised (breaking 1NF). I think a better way would be to have userID as foriegn key in video info table (videoId, videoURL, userId).
@sayandeepghosh2911
@sayandeepghosh2911 6 ай бұрын
Many times people choose to have denormalized data just to avoid joins.....because if you are trying to build highly scalable database, you need to shard the data and if you are going with normalized data then might need to join data from two shards which is very expensive as the data from different shards need to be brought to a single machine first for processing the join.
@AftabAnsari-vm5dz
@AftabAnsari-vm5dz 11 ай бұрын
Thank you for the system design video. What is the tool name that yiu are using as whiye board for design amd writing the requirements
@deepakbasoiya975
@deepakbasoiya975 9 ай бұрын
the first study video i enjoing so much , i think thats video going to my life , becouse know i devloped intreast in system design
@pappu10714
@pappu10714 11 ай бұрын
All wanted to help students😂
@kpurswani4133
@kpurswani4133 11 ай бұрын
Great going. keep up the good work
@razorr1920
@razorr1920 10 ай бұрын
As much as I enjoy your videos / content and appreciate the fact that you take out time to do all this great work by sharing your knowledge and experience, it makes me kinda wonder if I over value your work. Me being an ex-Flight Engineer and understanding nearly everything you discuss, makes me think that you need to UP your game. Much more depth is expected from you. Sorry for blowing the heat, but if it improves the overall dynamics of coming to your channel and viewing your content, then it is worth to share a thought honestly. And Yes, we're it your dad and you, I would have totally be happy. But two icons talking meager...I better demand more.
@rahulrahul-cm4mn
@rahulrahul-cm4mn 11 ай бұрын
What a lovey way to explain
@ssk7690
@ssk7690 10 ай бұрын
this is amazing!
@asmitamishra4965
@asmitamishra4965 11 ай бұрын
Very nicely explained
@Md_sadiq_Md
@Md_sadiq_Md 11 ай бұрын
Pushing the algorithm ❤
@PraveenKumar-wx5yt
@PraveenKumar-wx5yt 8 ай бұрын
Hey Keerti, loved the video. But please go more in-depth into why and how, and the tradeoffs. Start simple, go in-depth, then expand the functionalities. Thanks a ton. Get to learn a lot.
@viBytes7
@viBytes7 9 ай бұрын
Believe user Id should not be used as it creates a security gap . Using api key or cookie to get the user Id in backend would be the right approach.
@md.asadujjaman3445
@md.asadujjaman3445 11 ай бұрын
Nice to see you back with the interview video. I love your interview video and it's very helpful, keep shining.
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Thank you so much! Means a lot 😇
@deepakbasoiya975
@deepakbasoiya975 9 ай бұрын
i am commenting this comment now i m going to recheck this comment after 3 years , lets see at that time in which position i am working on at what salary , currently iam student doing mca from nitk....
@mdjafaruddinsomrat5160
@mdjafaruddinsomrat5160 5 ай бұрын
A littile correction is 2.7 bilion is monthly active user not daily.Daily active user is 127 milion.Great work
@BhavikaRajani
@BhavikaRajani 11 ай бұрын
What an idea !
@soulofjack7294
@soulofjack7294 29 күн бұрын
It's a very high level design, if you can directly stream your data to s3 then why do we need splitter service? Also your encoding service will anyways going to create the hls chunks
@BKMahapatra-dh8hp
@BKMahapatra-dh8hp Ай бұрын
Sorry if I'm wrong and I'm quite new to system design but curious about this aspect: storing video URLs in the user data table. Wouldn't this practice potentially violate solid principles? 18:00
@Shubham-sv5wo
@Shubham-sv5wo 10 ай бұрын
for beginners who comes from different backgrounds can you please make a roadmap for them how to enter into sde role
@akshitsachdeva8262
@akshitsachdeva8262 10 ай бұрын
Awesome video❤
@vasutyagi9569
@vasutyagi9569 10 ай бұрын
makes sense ...❤
@tvb4026
@tvb4026 8 ай бұрын
Two developers Harkirat with more practical knowledge and Keerti with more theoretical knowledge it was great video.
@dhananjaymalhotra7854
@dhananjaymalhotra7854 8 ай бұрын
This guy is way too smart, someone tailor made for coding (atleast it seems to be like that).
@KeshavKumar-df1sz
@KeshavKumar-df1sz 6 ай бұрын
TCP/UDP discussion was great.
@shivamdeshwal_
@shivamdeshwal_ 11 ай бұрын
@KeertiPurswani Just to clarify 2.1 Billion are monthly active users not daily, its approximately 122 million/day.
@sachinaghera8189
@sachinaghera8189 11 ай бұрын
This was awesome video. Can you make system design for book my show and how to prevent double booking? It really help us. Thanks !!
@vighneswarmulaga9088
@vighneswarmulaga9088 11 ай бұрын
@KeerthiPurswani another great discussion over designing KZbin with @harkirat1. I have a suggestion and a question. Suggestion - On the DB design how about having channels table with unique channelID which gets referred in the users table as foreign key. Channels table will have S3 bucket ID containing all the video uploads of a user. Question- Will there be multiple manifest files corresponding to different bit rates or one file will contain all the chunks of different bit rates? How the switch between the bit rates happen depend on the bandwidth?
@Iamkaashif
@Iamkaashif 11 ай бұрын
Why not refer to the user in the channels table with the user ID? Genuine question*
@harshilmantri
@harshilmantri 4 ай бұрын
Which note taking app is this ?
@thatsenoughdixit
@thatsenoughdixit 11 ай бұрын
Commenting so I get this more of these on my feed.
@DigitalMindWaves
@DigitalMindWaves 10 ай бұрын
How are chunks handled, how does the actual storage work?
@rogerthat7190
@rogerthat7190 11 ай бұрын
Thank you di! Would this also be important for people who want to work as ML engineers?
@xundansingh5618
@xundansingh5618 10 ай бұрын
20:20 this is how you should think even the others knows too . just by using logical thinking .
@mohammadshaqibsiddique9291
@mohammadshaqibsiddique9291 10 ай бұрын
27:56 server sending the next *chunk* in higer bitrate not the next *packet* . it nothing to do with packet management.
@unpredictableme5562
@unpredictableme5562 Ай бұрын
Can we use it and extend it for e-learning system design ?
@IrkyMan
@IrkyMan 11 ай бұрын
Don't mess with Harkirat, he knows everything
@stormshadow76
@stormshadow76 11 ай бұрын
Yessss
@Arjun-tg1go
@Arjun-tg1go 8 ай бұрын
CAP= in the event of network partition you can either get C or A
@kishorepurswani8727
@kishorepurswani8727 11 ай бұрын
Very informative
@stanleyjr_
@stanleyjr_ 11 ай бұрын
22:05 when does it checks the plagiarism?
@ru2979
@ru2979 10 ай бұрын
bro joined goldman and literally became a gold man 😮😂
@atharvkulkarni9112
@atharvkulkarni9112 9 ай бұрын
Who is interviewer and who is interviewee
@nammi895
@nammi895 2 ай бұрын
Ok who is the interviewer here 😂 Hari so smoothly reversed the role
@_aka5h
@_aka5h 10 ай бұрын
How to handle corrupt files or malicious files upload?
@ekanshmishra4517
@ekanshmishra4517 11 ай бұрын
Explain protocols also Why no one talks about protocols HLS, Dash etc hearing about them first time😢
@advait2943
@advait2943 11 ай бұрын
Just finished watching. Great video!! 👍
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Thanks! 😇
@cloud_Engineer
@cloud_Engineer 11 ай бұрын
Interesting content!!!
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Glad you like it! 😇
@vinitchuri9729
@vinitchuri9729 11 ай бұрын
Mam the upload service gets the whole video from the user before sending it to splitter right, why do we need splitter the only pre processing that is required is encoding the video right , what other pre processing is required for the video to be split into chunks?
@vinitchuri9729
@vinitchuri9729 11 ай бұрын
also the CDN, does every cdn servers distributed accross the world have all the databse content cached into it? also how does security in the cdn works? does the client directly communicate with cdn? but the auth occurs on the server right
@ayushtiwari1666
@ayushtiwari1666 11 ай бұрын
Hari kirat🤣🤣
@ShubhamRaj-jj2tn
@ShubhamRaj-jj2tn 11 ай бұрын
How do we figure the number of chunks video needs be broken down into? And each packets size?
@adabooost
@adabooost 10 ай бұрын
I think the chunks have a predefined size limit. Like how mongodb breaks blob into chunks of 250kb when using gridfs... that's my assumption for yt..
@navyasri5077
@navyasri5077 Ай бұрын
I watch 300-400 shorts a day easily .on weekends it is double triple.
@syedishrathullah
@syedishrathullah 11 ай бұрын
Humble K meets a bit of know it all H ..I am subscribed to both for the knowledge but would say K is next level in terms of humility . hope H learnt a thing or two .. nice video in terms of content .
@sr-xd8jb
@sr-xd8jb 11 ай бұрын
H earns in crores sitting in India from the US. Pride will be there.
@syedishrathullah
@syedishrathullah 11 ай бұрын
one more question sorry : I take it the upload service is classed as a micro service and not a monolithic one as the upload is just one service we are demonstrating here..there will be other services as well( I don't know what but just have a. feeling there are)
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Yes yes! If the entire logic of upload, watch and other things were in one service then it would have been monolithic. These are microservices 😇
@chirut4327
@chirut4327 7 ай бұрын
I wish the real interviews are as interactive as this. But no, this will not happen because in real life the interviewers think they designed all of the greatest applications in the world and have a ton of ego driving them.
@thelongweekend92
@thelongweekend92 11 ай бұрын
First comment! Great content!
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Thank you! 😇
@jainilmodi3704
@jainilmodi3704 7 ай бұрын
There are about 120 million daily active users on youtube. And 2.7 billion monthly active users. I think she got confused between daily and monthly.. since 2.5 billion per day would just be insane
@awais_ansarii
@awais_ansarii 11 ай бұрын
@u2521
@u2521 11 ай бұрын
❤❤
@syedishrathullah
@syedishrathullah 11 ай бұрын
I also didn't get how you classed Like/Dislike ,Comments as Meta Data (is that because it data about data which means it is data related to the KZbin video?)..
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Yup, that was my thought process - data about data
@abhimanyuraizada7713
@abhimanyuraizada7713 11 ай бұрын
why are we storing video packets in databse? Why not s3?
@harkirat1
@harkirat1 11 ай бұрын
Dont think video packets are being stored in the DB. Their location (urls) might be, but all chunks would be stored in S3
@syedishrathullah
@syedishrathullah 11 ай бұрын
what is the best way to differentiate a functional requirement to an NFR..is there like a thumb rule ? how does one make that split to say this is FR versus NFR?
@prasannaagnihotri430
@prasannaagnihotri430 11 ай бұрын
generally if you notice NFRs are basically the qualities (scalability, security, reliability etc) that the system should have not the actual functions.
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
For FR - think of the functions that system has to be support. For NFR - think of the quality attributes or behaviour. Latency, consistency and all tell how the system behaves vs upload and watch are its functions. Hope you understood?
@syedishrathullah
@syedishrathullah 11 ай бұрын
@@prasannaagnihotri430 Got it , so Security comes under NFR --like designing Access Control and defence in depth solutions are NFRs..
@panasonictv2856
@panasonictv2856 11 ай бұрын
Harkirat extra class hogi kya iss week?
@dasarimanoj3086
@dasarimanoj3086 11 ай бұрын
Hi Keerthi maam. is your HLD course taught in english or Hindi?
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Hey, it’s taught in english. All details mentioned on the site. Do check it out! 😇
@omnimansgoodboyhihi2180
@omnimansgoodboyhihi2180 10 ай бұрын
systuuuummm
@pawnstar8771
@pawnstar8771 2 ай бұрын
bro was not allowed to speak in his interview :/
@akashshrestha01
@akashshrestha01 11 ай бұрын
nice
@Suman522i1
@Suman522i1 11 ай бұрын
Demn
@user-os1fp6pk5p
@user-os1fp6pk5p 11 ай бұрын
very nice. Dil maange more
@dileepnagendra2572
@dileepnagendra2572 11 ай бұрын
So She was here to sell her course.
@ssg9758
@ssg9758 9 ай бұрын
These guys are masters at their respective field. If anyone who is thinking of getting at their level coming from a low tier college, non tech, different work experience with not much skills then they need atleast 10+ years of experience and even then it will be difficult. These guys are really smart, high iq hard working folks of our country.
@AlokYadav-SKB
@AlokYadav-SKB 8 ай бұрын
For Likes/Dislike, shares Graph DB would have been better choice
@salman1098
@salman1098 8 ай бұрын
Around 20:00 I was having same question why would be store image name instead we can store Id and harkirat pointed it out immediately he thinks like me😂
@amitpatel9670
@amitpatel9670 10 ай бұрын
Looks like keerti is on harkirat channel😂
@ashutoshkumar4565
@ashutoshkumar4565 6 күн бұрын
so the interviewer always writes on screen? I don't have a digital pen
@KeertiPurswani
@KeertiPurswani 6 күн бұрын
When did I say this is mock interview
@abhilashpatel6852
@abhilashpatel6852 9 ай бұрын
who is interviewing who here? I could not say.
@adobeashugupta2249
@adobeashugupta2249 11 ай бұрын
She said harikirat 💀
@prodigysonhiddenforareason1239
@prodigysonhiddenforareason1239 10 ай бұрын
Hari is nervous? 😓
@sumitbhadola
@sumitbhadola 11 ай бұрын
Didi, apne papa k saath aap video banao please, It's very Friendly to watch and learn.. podcast le aao papa k saath...
@cloud_Engineer
@cloud_Engineer 11 ай бұрын
Video will be multipart file??? What format we use to store in s3??
@KeertiPurswani
@KeertiPurswani 11 ай бұрын
Did you watch the video? 🫢
@cloud_Engineer
@cloud_Engineer 11 ай бұрын
@@KeertiPurswani yupp
@atul6585
@atul6585 4 ай бұрын
Before 2018, system design was not a thing… what?
High Level System Design Basics explained in Easiest Way Possible!
17:50
Web Crawler System Design Concepts Nobody Talks About
21:42
Pratiksha Bakrola
Рет қаралды 2,9 М.
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 79 МЛН
Miracle Doctor Saves Blind Girl ❤️
00:59
Alan Chikin Chow
Рет қаралды 61 МЛН
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 1,2 МЛН
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 1,4 МЛН
How to prepare your Frontend System Design Interview
13:21
I Code It
Рет қаралды 16 М.
How I Mastered System Design Interviews
10:22
Ashish Pratap Singh
Рет қаралды 84 М.
How to Crack Any System Design Interview | Scalable System Design
27:20
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 868 М.
How to Crack Any System Design Interview
8:19
ByteByteGo
Рет қаралды 298 М.
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 79 МЛН