1. Network Protocols, High Level Design | Client Server vs Peer 2 Peer Model | webSocket vs WebRTC

  Рет қаралды 52,033

Concept && Coding - by Shrayansh

Concept && Coding - by Shrayansh

Жыл бұрын

➡️ Join this channel to get access to member only perks:
/ @conceptandcoding
today we have started the HLD series and covered the 1st topic, rest we will cover in upcoming videos
System Design : HLD
#1:
- Network Protocols
- what is Client server Model
- Peer to Peer Model (and learn about Web sockets)
- HTTP vs TCP vs UDP vs FTP vs SMTP(POP, IMAP)
- Examples
#2
- Latency vs throughput
- Availability vs consistency (CAP theorem)
- Performance vs scalability
- Vertical Scaling
- Horizontal Scaling
#3
- Api Design
- REST
- Synchronous and Asynchronous Calls
- Blocking and Non Blocking Calls
- Rate limiting
#4
- Monolithics Vs Microservices
- cover all important Microservices pattern like SAGA etc.
#5
- Caching
- Cache writing policies
- Types of Cache REDIS, JUNO ( L1 cache, L2 cache etc).
- CDN
- Load Balancer
- GSLB and other different ways of doing load balancing
#6
- Publish Subscribe pattern
- Queues
- Pull vs Push
- Consistent Hashing
- ZooKeeper
- Kafka
- Elastic search, SOLR etc.
#7 Cloud Concepts
- s3 for amazon, google filestore etc.
#8.1
Database1: - Relational vs Non Relational
- ACID property
- Indexing
- Data partitioning and Sharding- Vertical vs HorizontalSharding
- In Memory Databases
#8.2
Database2:
- Replication and Mirroring
- Leader Election
From #9 Onwards
- Solve Interview Questions
Questions:

Пікірлер: 96
@NeverGiveUp186
@NeverGiveUp186 Жыл бұрын
Where all other so-called influencers are busy doing advertising and brand endorsement, you are the only one who is genuinely helping the community by providing high quality content.. that too absolutely free of cost. You are an inspiration man!! God bless you... and may this country get more people like you!!
@ConceptandCoding
@ConceptandCoding Жыл бұрын
thanks a lot buddy, means lot to me 🙏
@utkarshrazzz9964
@utkarshrazzz9964 10 күн бұрын
This is true... A lot of support and respect to this genuine guy... 🙏🙏
@learningfoundation6601
@learningfoundation6601 5 күн бұрын
amazing video sir gaurav sen ke baad idhar aaya hun ab lag rha hai system design interesting hota hai , amazing content sir
@geekydanish5990
@geekydanish5990 Жыл бұрын
Awsome looking forward for more such HLD videos 🙏🙏🙏
@user-zt3gl8ix5h
@user-zt3gl8ix5h 2 ай бұрын
keep it up you are doing amazing job❤❤❤
@nayanjyotibhagawati939
@nayanjyotibhagawati939 5 ай бұрын
Very new to this channel.. awesome content
@dreamyme543
@dreamyme543 Ай бұрын
Thank you ❤️❤️
@BalaSai-wi8vq
@BalaSai-wi8vq 8 ай бұрын
Hi Shreyansh, the content which you make is always a high quality stuff!!. Please make more videos on HLD that covers more real-life systems like webcrawler, tinder etc
@ConceptandCoding
@ConceptandCoding 8 ай бұрын
Yes will add more videos buddy
@sarthakbhatia7639
@sarthakbhatia7639 10 ай бұрын
Understood thanks :)
@sohelsheikh1934
@sohelsheikh1934 Жыл бұрын
Awesome content🖤
@ConceptandCoding
@ConceptandCoding Жыл бұрын
thank you
@harshitkaur1
@harshitkaur1 4 күн бұрын
What should we expect in case study interviews for around having time slot of around 3 hours
@bablushaw6856
@bablushaw6856 Жыл бұрын
I was learning HLD from here & there earlier and I came across WebSocket & WebRTC. There I was told we use WebSocket for WhatsApp and WebRTC for live streaming but now I know why I should prefer one over another. Now I am able to decide what and why to use for any mixed situation. All thanks to you.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Thanks bablu.
@farazahmed7
@farazahmed7 Жыл бұрын
BABLU JIIIII
@MrBaaz-do9ny
@MrBaaz-do9ny Жыл бұрын
videos next level bhaiya.. 10k subs ho jayega future dekh liya mene
@ConceptandCoding
@ConceptandCoding Жыл бұрын
☺️ thanks 🙏🙏
@vinoths7140
@vinoths7140 Жыл бұрын
Brother, your way explanation is amazing, very easy to understand, please make LLD and HLD playlist in English.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Yes, all latest videos are in English only
@gauravraj2604
@gauravraj2604 12 күн бұрын
So, 1. live streaming should be using web-RTC application protocol and UDP as transport protocol. 2. messaging app should be using web-socket application protocol. But which transport protocol a messaging app should be using?
@thelogicalindian5394
@thelogicalindian5394 4 ай бұрын
Could you please share the link for your one note notebook? Much appreciated. Thank you.
@mohitladia
@mohitladia 10 ай бұрын
great content
@ConceptandCoding
@ConceptandCoding 10 ай бұрын
Thank you
@dhareppasasalatti6766
@dhareppasasalatti6766 Жыл бұрын
Thank you for the amazing content 😍
@ConceptandCoding
@ConceptandCoding Жыл бұрын
thank you
@rambeersharma2091
@rambeersharma2091 Жыл бұрын
Very nice
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Thank you
@pawanjinger747
@pawanjinger747 Жыл бұрын
SFTP can be used now for secured file transfer.
@devforall2006
@devforall2006 Жыл бұрын
love u man
@ConceptandCoding
@ConceptandCoding Жыл бұрын
🙂 thanks
@arimardanyadav4500
@arimardanyadav4500 Күн бұрын
### **Introduction:** - This is the first video in a series on high-level design, focusing on network protocols. - Explains the role of network protocols in communication between computers. - Introduces the concept of client-server and peer-to-peer models. - Provides insights on choosing the right protocol for specific applications like WhatsApp, Google Meet, etc. ### **Network Protocols:** - **Definition:** Network protocols define the rules and regulations for communication between systems over a network. - **OSI Model:** Refers to the Open Systems Interconnection Model, a layered architecture for network communication (not covered in detail). - **Key Layers:** - **Application Layer:** Handles user-facing communication (e.g., web browsing, email). - **Transport Layer:** Manages reliable data transfer between applications (e.g., TCP/UDP). ### **Application Layer Protocols:** - **Client-Server Model:** - **Client:** Initiates requests (e.g., web browser). - **Server:** Responds to requests (e.g., web server). - **Examples:** HTTP, FTP, SMTP, IMAP, Web Sockets. - **Peer-to-Peer Model:** - **Peers:** all machines can send and receive requests from each other - **Example:** File sharing, instant messaging, WebRTC. **HTTP (Hypertext Transfer Protocol):** - **Key Points:** - Most widely used protocol for web communication. - Connection-oriented. - Used for accessing web pages, web applications. - **Example:** WhatsApp (uses web sockets over HTTP for messaging). **FTP (File Transfer Protocol):** - **Key Points:** - Transferring files between computers. - Two connections: Control connection and Data connection. **SMTP (Simple Mail Transfer Protocol):** - **Key Points:** - Sending emails. - Works with IMAP for receiving and reading emails. **IMAP (Internet Message Access Protocol):** - **Key Points:** - Receiving and reading emails. - Allows access to emails from multiple devices. ### **Transport Layer Protocols:** - **TCP (Transmission Control Protocol):** - **Key Points:** - Connection-oriented (establishes a virtual connection). - Divides data into packets and sequences them for reliable transmission. - Provides error checking and retransmission. - **Use Case:** WhatsApp, applications requiring reliable data transfer. - **UDP (User Datagram Protocol):** - **Key Points:** - Connectionless. - Sends data in packets without establishing a connection. - No guarantee of delivery or order. - Faster and more efficient than TCP. - **Use Case:** Live streaming, video calling, applications where some data loss is acceptable. ### **Key Takeaways:** - **Understanding network protocols is crucial for designing distributed systems.** - **Client-server and peer-to-peer models are fundamental architectures for communication.** - **TCP provides reliable data transfer, while UDP prioritizes speed.** - **The choice of protocol depends on the specific requirements of the application.**
@subbunittala2012
@subbunittala2012 5 ай бұрын
Hi shreyansh,..please if possible do a video on throughput and some performance metrics which we need to look out for an api
@ConceptandCoding
@ConceptandCoding 5 ай бұрын
noted
@avinashak3302
@avinashak3302 Жыл бұрын
loved it thanks for covering from basics. LLD series done?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
no, LLD is not finished, but need to switch between HLD, DSA too. HLD, 2 topics i have covered, one is this video and next is also ready. Now i have picked one LLD question, need to take out some time to implement that. May be this Sunday i will upload.
@avinashak3302
@avinashak3302 Жыл бұрын
@@ConceptandCoding awesome 😎 thanks bro!!
@user-iz4xx2ii1y
@user-iz4xx2ii1y 9 ай бұрын
Hi @Concept & coding , which protocol is used by sensors to send data to main service , for eg. i have small sensor in each city to collect weather data and sent it to central system which analyse and do forecast?
@ConceptandCoding
@ConceptandCoding 9 ай бұрын
Depends , if some signals miss is okay UDP can be used.
@countmusic6831
@countmusic6831 Ай бұрын
Bro please make one video that how can we shoe system design skills in resume
@charuagarwal8405
@charuagarwal8405 Жыл бұрын
What are the books/ resources you use to learn these things? Would love to read more and do a more in depth learning :)
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Charu, it's a tough question to answer. The bigger problem is what exactly to learn. If you know what to learn then it's just googling till your all doubts are not satisfied. And how to know what to learn, that i would say comes with an exp. :)
@SUNNYKUMARSINGH-te2nn
@SUNNYKUMARSINGH-te2nn Жыл бұрын
Hi Shrayansh, could you please attach the ppt in the description because that would be easy for us to refer back to the notes.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Noted
@arghyadeepmandal4458
@arghyadeepmandal4458 Жыл бұрын
Just started this playlist.Awesome content.Is this hld series enough for freshers?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
For freshers yes, but this playlist is just started, many things going to come :)
@arghyadeepmandal4458
@arghyadeepmandal4458 Жыл бұрын
@@ConceptandCoding ok
@saurabhkiet8877
@saurabhkiet8877 Жыл бұрын
Hi Shreyas , good video but I think UDP is slower than TCP. TCP is fast because in TCP there is a dedicated connection so it is fast.Please guide me on this.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
I did not get it when you say dedicated connection. UDP is also a dedicated connection between server and client too.
@hanselSequeira
@hanselSequeira 8 ай бұрын
You're ignoring the additional factors causing an overhead in TCP due to this dedicated connection - sequencing the packets, ensuring you receive an ACK for each packet, retransmission of the packets, increasing/decreasing the window size, reordering the packets at the receiver end based on the sequence number, etc.
@goyaldeekshant
@goyaldeekshant Жыл бұрын
gooooooooooooood
@ConceptandCoding
@ConceptandCoding Жыл бұрын
thank you
@pradeepravi9608
@pradeepravi9608 Жыл бұрын
Sir is there any english version of HLD ? if there is any chance pls cover the tpoics which is coverd in hindi do it in english also sir 🙏
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Sure. I think only 1-2 videos are in hindi, rest is English only. I will cover
@srinivasa6981
@srinivasa6981 Жыл бұрын
Hi @Concept && Coding, if there is no acknowledgement in the UDP protocol, how will the client know if a data packet is lost or not received. Will it simply ignore the packet and proceed with the newly received ones? Please explain.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Yes Srinivas, it ignores. So no guarantee of receiving of the packet
@SumanPal-wo2xw
@SumanPal-wo2xw Жыл бұрын
@@ConceptandCoding This loosing of packets results in the data loss. And this data loss leads to bad quality of video,while video streaming / gaming..correct me if i am wrong !
@rishabhjain8990
@rishabhjain8990 Жыл бұрын
@@SumanPal-wo2xw yes, you are correct..
@DivyamUpneja
@DivyamUpneja 2 ай бұрын
I heard about XMPP protocol is used for messaging applications instead of webSockets. Can you please explain ?
@ConceptandCoding
@ConceptandCoding 2 ай бұрын
Hi Divyam, both are used, but XMPP has some additional features like presence detection, message acknowledgment etc. i will cover XMPP too in depth soon.
@DivyamUpneja
@DivyamUpneja 2 ай бұрын
@@ConceptandCodingthank you for ACK 😀
@rgb4158
@rgb4158 Жыл бұрын
As a fresher, what is mostly asked in system design interview rounds lld or hld or both? And as a fresher how to know if you're prepared to crack the interview? Thank you.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
For freshers, LLD is first priority and HLD you will see after 2yr of exp
@rgb4158
@rgb4158 Жыл бұрын
@@ConceptandCoding Thank you so much! Also just started with the playlist, and as a fresher, I'm finding it very easy to understand. Thanks!!
@allussainathreddy7476
@allussainathreddy7476 Жыл бұрын
Hi Shrayansh, I am a frontend developer. Can you please make frontend system design playlist?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Hi Allus, i am backend engineer, so i am not sure about frontend system design buddy
@abhishekvithal8060
@abhishekvithal8060 Жыл бұрын
Where can we get the pdf of the same that you have taught in the videos?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Hi i haven't saved the notes. Sorry for that, i will do from future
@jainamshah3691
@jainamshah3691 Жыл бұрын
What will be the prerequisites to learn HLD and LLD from your playlists
@ConceptandCoding
@ConceptandCoding Жыл бұрын
LLD you should know OOPs fundamentals (inheritance, polymorphism etc) HLD no prerequisite, i covered from very Basics
@jainamshah3691
@jainamshah3691 Жыл бұрын
@@ConceptandCoding thanx for the prompt response👍👍
@jainamshah3691
@jainamshah3691 Жыл бұрын
@@ConceptandCoding one more doubt I know the basics of oops, what should I start first the LLD or HLD
@ConceptandCoding
@ConceptandCoding Жыл бұрын
@@jainamshah3691 if you have experience
@GetXPercentBetter
@GetXPercentBetter 2 ай бұрын
Please share link of notes if anyone have?
@mbk8569
@mbk8569 8 ай бұрын
can you please do this video in only english ?
@ashb8552
@ashb8552 5 ай бұрын
31k views 464k likes Cool 😎😂
@veeresharadhya1430
@veeresharadhya1430 Жыл бұрын
I got to know about your videos on LinkedIn and I was expecting it to be in English. As I don't know Hindi it is not useful for me 😔
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Hi Veeresh, only initial videos are in Hindi and i already switched to English. But yes i can understand. Sorry for the inconvenience.
@aravindkumarn1776
@aravindkumarn1776 11 ай бұрын
Please atleast enable the caption. So that we can use English subtitle to understand
@ConceptandCoding
@ConceptandCoding 11 ай бұрын
From Hindi to English caption, youtube is not giving me an option, i have write word by word in English buddy
@UtkarshSingh-cb8fq
@UtkarshSingh-cb8fq Жыл бұрын
P2P is faster than Client-server. 1. What do you mean by fast ? Do u mean msg transferring/communication is fast ? Less latency ? 2. What are the metrics to choose that it is faster ?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Hi Utkarsh, As far as i can recall, while telling WebRTC i told it is fast and it's peer to peer connection. It is faster because it's based on UDP protocol not TCP and does not require set up of 3 way handshake.
@saiswaroopkandula9997
@saiswaroopkandula9997 10 ай бұрын
Please do videos in English so that it will be useful for everyone
@ConceptandCoding
@ConceptandCoding 10 ай бұрын
Yes i switched to English and all latest videos are in English only buddy
@BY-gb9qg
@BY-gb9qg Жыл бұрын
Can we download these notes? Can you upload somewehere and paste the link in comments.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Hi, i haven't saved the old notes. But i have all latest one. I will upload and share the link
@ashoksingh1970
@ashoksingh1970 3 ай бұрын
"transport layer me do hote hai" - kafi vague language use kar rahe, kya do hota hai?
@AkshaySharma-bg3oj
@AkshaySharma-bg3oj 11 ай бұрын
yo anyone made notes, to drive link share kardo. Shoutout milega xd
@udhayasankar113
@udhayasankar113 Жыл бұрын
Pls add subs to this series
@ConceptandCoding
@ConceptandCoding Жыл бұрын
I started making in English and are you from PayPal? i think this DP seems familiar
@udhayasankar113
@udhayasankar113 Жыл бұрын
@@ConceptandCoding no not ...person in this pic is indian bowler bhuvaneshwar Kumar 😅
@paarttipaabhalajimanohar5141
@paarttipaabhalajimanohar5141 Жыл бұрын
Kindly add subtitles please
@vishnuvadhandevandla4110
@vishnuvadhandevandla4110 10 ай бұрын
Hi , your explanation very nice but pls explain in English this video
@ConceptandCoding
@ConceptandCoding 10 ай бұрын
Yes i have switched to English
@swethagowda6708
@swethagowda6708 4 ай бұрын
please use english instead of hindi
2. CAP Theorem | High Level Design for Beginners | CAP Partition Tolerance explained
18:41
Concept && Coding - by Shrayansh
Рет қаралды 34 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 959 М.
Uma Ki Super Power To Dekho 😂
00:15
Uma Bai
Рет қаралды 56 МЛН
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 171 МЛН
Top 8 Most Popular Network Protocols Explained
6:25
ByteByteGo
Рет қаралды 225 М.
YouTube High Level System Design with @harkirat1 !!
35:02
Keerti Purswani
Рет қаралды 83 М.
Reverse Proxy vs API Gateway vs Load Balancer
3:06
ByteByteGo
Рет қаралды 93 М.
Good APIs Vs Bad APIs: 7 Tips for API Design
5:48
ByteByteGo
Рет қаралды 194 М.