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

➡️ 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:

Пікірлер: 101

  • @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

    Ай бұрын

    This is true... A lot of support and respect to this genuine guy... 🙏🙏

  • @techtransformers7464
    @techtransformers7464Күн бұрын

    Thanks for the great effort for making HLD and LLD playlists for free🙏🙏

  • @geekydanish5990
    @geekydanish59902 жыл бұрын

    Awsome looking forward for more such HLD videos 🙏🙏🙏

  • @learningfoundation6601
    @learningfoundation6601Ай бұрын

    amazing video sir gaurav sen ke baad idhar aaya hun ab lag rha hai system design interesting hota hai , amazing content sir

  • @mayankb9
    @mayankb918 күн бұрын

    God bless you ! Very nice explanation !

  • @user-zt3gl8ix5h
    @user-zt3gl8ix5h3 ай бұрын

    keep it up you are doing amazing job❤❤❤

  • @shubhamagarwal1434
    @shubhamagarwal143424 күн бұрын

    Very well explained...Super..

  • @MrBaaz-do9ny
    @MrBaaz-do9ny Жыл бұрын

    videos next level bhaiya.. 10k subs ho jayega future dekh liya mene

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    ☺️ thanks 🙏🙏

  • @BalaSai-wi8vq
    @BalaSai-wi8vq9 ай бұрын

    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

    9 ай бұрын

    Yes will add more videos buddy

  • @nayanjyotibhagawati939
    @nayanjyotibhagawati9395 ай бұрын

    Very new to this channel.. awesome content

  • @sohelsheikh1934
    @sohelsheikh1934 Жыл бұрын

    Awesome content🖤

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    thank you

  • @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

  • @sarthakbhatia7639
    @sarthakbhatia763911 ай бұрын

    Understood thanks :)

  • @dreamyme543
    @dreamyme5432 ай бұрын

    Thank you ❤️❤️

  • @dhareppasasalatti6766
    @dhareppasasalatti6766 Жыл бұрын

    Thank you for the amazing content 😍

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    thank you

  • @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

  • @VishalSharma-jz8yn
    @VishalSharma-jz8yn16 күн бұрын

    Thanks bhai

  • @devforall2006
    @devforall2006 Жыл бұрын

    love u man

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    🙂 thanks

  • @mohitladia
    @mohitladia10 ай бұрын

    great content

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Thank you

  • @avinashak3302
    @avinashak33022 жыл бұрын

    loved it thanks for covering from basics. LLD series done?

  • @ConceptandCoding

    @ConceptandCoding

    2 жыл бұрын

    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

    2 жыл бұрын

    @@ConceptandCoding awesome 😎 thanks bro!!

  • @rambeersharma2091
    @rambeersharma2091 Жыл бұрын

    Very nice

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    Thank you

  • @goyaldeekshant
    @goyaldeekshant Жыл бұрын

    gooooooooooooood

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    thank you

  • @harshitkaur1
    @harshitkaur1Ай бұрын

    What should we expect in case study interviews for around having time slot of around 3 hours

  • @subbunittala2012
    @subbunittala20126 ай бұрын

    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

    6 ай бұрын

    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

  • @pawanjinger747
    @pawanjinger747 Жыл бұрын

    SFTP can be used now for secured file transfer.

  • @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. :)

  • @thelogicalindian5394
    @thelogicalindian53945 ай бұрын

    Could you please share the link for your one note notebook? Much appreciated. Thank you.

  • @countmusic6831
    @countmusic6831Ай бұрын

    Bro please make one video that how can we shoe system design skills in resume

  • @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

  • @user-iz4xx2ii1y
    @user-iz4xx2ii1y10 ай бұрын

    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

    10 ай бұрын

    Depends , if some signals miss is okay UDP can be used.

  • @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.

  • @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..

  • @arimardanyadav4500
    @arimardanyadav450027 күн бұрын

    ### **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.**

  • @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

  • @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

  • @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!!

  • @gauravraj2604
    @gauravraj2604Ай бұрын

    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?

  • @girishanker3796

    @girishanker3796

    24 күн бұрын

    it uses TCP/IP. Actually initially the client-server uses a http request to establish the connection which is further upgraded to web-socket on agreement by both server and client

  • @DivyamUpneja
    @DivyamUpneja3 ай бұрын

    I heard about XMPP protocol is used for messaging applications instead of webSockets. Can you please explain ?

  • @ConceptandCoding

    @ConceptandCoding

    3 ай бұрын

    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

    3 ай бұрын

    @@ConceptandCodingthank you for ACK 😀

  • @saiswaroopkandula9997
    @saiswaroopkandula999711 ай бұрын

    Please do videos in English so that it will be useful for everyone

  • @ConceptandCoding

    @ConceptandCoding

    11 ай бұрын

    Yes i switched to English and all latest videos are in English only buddy

  • @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

  • @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

  • @aravindkumarn1776
    @aravindkumarn1776 Жыл бұрын

    Please atleast enable the caption. So that we can use English subtitle to understand

  • @ConceptandCoding

    @ConceptandCoding

    Жыл бұрын

    From Hindi to English caption, youtube is not giving me an option, i have write word by word in English buddy

  • @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.

  • @ashb8552
    @ashb85526 ай бұрын

    31k views 464k likes Cool 😎😂

  • @GetXPercentBetter
    @GetXPercentBetter3 ай бұрын

    Please share link of notes if anyone have?

  • @mbk8569
    @mbk85699 ай бұрын

    can you please do this video in only english ?

  • @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

  • @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.

  • @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

  • @AkshaySharma-bg3oj
    @AkshaySharma-bg3oj11 ай бұрын

    yo anyone made notes, to drive link share kardo. Shoutout milega xd

  • @ashoksingh1970
    @ashoksingh19703 ай бұрын

    "transport layer me do hote hai" - kafi vague language use kar rahe, kya do hota hai?

  • @vishnuvadhandevandla4110
    @vishnuvadhandevandla411011 ай бұрын

    Hi , your explanation very nice but pls explain in English this video

  • @ConceptandCoding

    @ConceptandCoding

    11 ай бұрын

    Yes i have switched to English

  • @swethagowda6708
    @swethagowda67085 ай бұрын

    please use english instead of hindi