Proxies | System Design Tutorials | Part 4 | 2020

Поделиться
HTML-код
  • Опубликовано: 19 сен 2020
  • This is the fourth video in the series of System Design Primer Course. We talk about one of the basic components of System Design: Proxies and it's different types and respective pros and cons. We want software engineers and aspiring software engineers to develop basics and get ready for the world of interviews as well as excelling as a Software Engineer.
    More on the video:
    ✒ en.wikipedia.org/wiki/Reverse....
    ✒ www.cloudflare.com/learning/c...
    ✒ www.nginx.com/resources/gloss...
    ✒ www.jscape.com/blog/bid/87783...
    ------------------------------------------------------------------
    Recommendations
    ------------------------------------------------------------------
    Our full courses on youtube:
    ✒ System Design Primer Course: • System Design Primer C...
    ✒ REST APIs made easy: • REST APIs MADE EASY
    Some paid courses that we recommend:
    ✒Educative.io: bit.ly/3qnW5ku
    ✒Interviewready.io: get.interviewready.io/ (Use coupon code SUDOCODE for extra discount)
    ------------------------------------------------------------------
    About Us
    ------------------------------------------------------------------
    Created and Instructed by:
    Yogita Sharma
    ✒ LinkedIn - / yogita-sharma-83400b55
    ✒ Instagram - / sudo.code1
    ✒ Facebook - / sudo.code
    ✒ Medium - / yogita088
    Post-production(editing, thumbnail etc) managed by:
    CiKi
    ✒ Website: www.ciki.co.in
    ✒ LinkedIn: / 74735937
    Colors and design by:
    Naini Todi
    ✒ LinkedIn - / nainitodi
    Both Arpit and Yogita are software engineers and want to help other software engineers become better by providing high quality and well researched content by adding their creativity and teaching twist.
    ------------------------------------------------------------------
    Join Us
    ------------------------------------------------------------------
    Hangout with sudoCode:
    ✒Discord Server: / discord
    For business:
    ✒Email: sudocode.yogita@gmail.com
    Quiz for this video.
    Can one server behave as a forward as well as a reverse proxy? Think why or why not?

Комментарии • 117

  • @suvratsaraswat7783
    @suvratsaraswat7783 3 года назад +100

    A VPN would act as a forward proxy shielding the identity of the client.
    Reverse proxies are in place in large systems where server is spread over multiple units. e.g. Database of Gmail users is split into many servers. A client doesn't exactly know the server's IP on which his/her credentials are stored. A reverse proxy is placed at the server end which resolves the client's request and passes it on to the server where the required credentials are stored.

    • @YOTUBE8848
      @YOTUBE8848 3 года назад +9

      *That is not right, VPN sits between user and client application not between client and server. Her example of by-passing org rules using forward proxy is misleading.*

    • @sidharthvijayakumar3521
      @sidharthvijayakumar3521 7 месяцев назад

      VPN would act as a proxy sounds wrong from my point of view. Proxy and vpn are different things almost does the same but maybe proxy could be compared to NAT gateway where client wants to access internet and then it goes through the NAT to get the access to internet

  • @mohitshaw1025
    @mohitshaw1025 3 года назад +43

    I have been looking for system design videos that are simple, concise and to the point. And all the 4 videos that had been released so far resonate with the same. Thanks Yogita for all the good work. Looking forward for more videos on these topics.

    • @sudocode
      @sudocode  3 года назад +9

      Thanks a lot Mohit. What you just described is actually the reason we are creating this course. Keep learning 🙂

  • @Rahul0508-n9m
    @Rahul0508-n9m 3 года назад

    Finally best system design video on youtube. Our team has also integrated proxy server, Has implemented securities before sending data to original server.

  • @geoaxis
    @geoaxis 10 месяцев назад +2

    I love the example of proxy that happens in your school/college lectures. Brings back good memories from so 2 decades ago (even though it was undesirable behaviour, but that's what you would need if you had a unreal-tournament LAN tournament the night before).
    Not sure if kids in this age of zoom would understand what that even means.
    PS: great content. thank you so much. really helpful. greetings from Sweden.

  • @explore_with_ganesh
    @explore_with_ganesh 2 года назад +1

    This is One of the great and simplified system design play list.
    I added it favourite ❤️ and shared with my friends. Thanks yogita for this great tech content!

  • @abhinavjain8962
    @abhinavjain8962 2 года назад

    I really like that this quality of content which is highly structured is freely available on the internet on System designs. #50k

  • @dalskiBo
    @dalskiBo 6 месяцев назад

    So much quality info in such a short time, thank you so much.

  • @stutijindal3413
    @stutijindal3413 2 года назад +2

    These are great videos. Please continue making such System Design videos

  • @satadhi
    @satadhi 2 года назад

    YOGITA you are really good ! love your teaching style.

  • @chetansahu1505
    @chetansahu1505 3 года назад +8

    The analogies given by you to establish your point takes everything to another level of understanding and that probably would never fade away from me.

  • @sfllhrz
    @sfllhrz 3 года назад

    great work, really easy and simple style of explanation, keep it up :)

  • @ramakrishna-lz3ep
    @ramakrishna-lz3ep 10 месяцев назад

    Videos is very clear and understandable. Thanks for this tutorial 🎉

  • @VikasSharma-cv1su
    @VikasSharma-cv1su 2 года назад

    great work, I am really impressed with this content!

  • @AngadSingh97
    @AngadSingh97 3 года назад +2

    Very nicely explained, I'm looking forward to the rest of the course! 🎉

    • @sudocode
      @sudocode  3 года назад +2

      Awesome, thank you, Angad. As you already know new videos every Monday ;)

  • @imranshaikh115
    @imranshaikh115 3 года назад

    Just Awesome, Keep it up good work Thanks a lot

  • @abhi9074470124
    @abhi9074470124 2 года назад

    Thanks Yogita It is very simple way explaining I like it very much thanks to share valuable knowledge

  • @shriyanshjain3736
    @shriyanshjain3736 3 года назад +2

    Nice explanation 👍 in the future videos you can explain a widely used reverse proxy servers as well like nginx which is used many organisations and products.

  • @jaikrishnaverma7909
    @jaikrishnaverma7909 Год назад

    Mam your videos are very easy , understandable and effective .. thanku for this

  • @avanishkumar1689
    @avanishkumar1689 6 месяцев назад

    Thanks for wonderful content and knowledge.

  • @nagesh007
    @nagesh007 Год назад

    Thanks for the video 🥳

  • @muhammaddanishkhan6
    @muhammaddanishkhan6 3 года назад

    Thanks for such a nice and concise course on system design... Very Helpful Keep It Up! Blessings

    • @sudocode
      @sudocode  3 года назад

      Glad it was helpful!

  • @webdevelopment6542
    @webdevelopment6542 2 года назад +1

    Torrent sites are best example for proxy sites

  • @mallikarjunamaddi6748
    @mallikarjunamaddi6748 2 года назад +2

    This content is quite easy, even a layman can understand it. Thanks Yogita.
    I have a query. Where does a proxy stands in network ?

  • @TheGhumanz
    @TheGhumanz 2 года назад +3

    I'm experienced Technical Manager but wanted to brush up my knowledge to prepare for an interview, this whole channel is a lifesaver. Thanks Yogita for your hard work.

    • @sudocode
      @sudocode  2 года назад +2

      Great to hear!

  • @subee128
    @subee128 9 месяцев назад

    Thanks

  • @stephenselvaraj8960
    @stephenselvaraj8960 2 года назад

    Super :)

  • @myLifeSk98
    @myLifeSk98 2 года назад

    #50k soon ❤️ thanks sudocode

  • @tathagata51
    @tathagata51 2 года назад

    VPN can act as forward proxies, pirate proxy can be an example of reverse proxy

  • @priyaranjankumar5549
    @priyaranjankumar5549 3 года назад +1

    was waiting for this from yesterday...thanks di!!

    • @sudocode
      @sudocode  3 года назад

      That's great Priyaranjan. Hope you understood the things explained well ?

    • @priyaranjankumar5549
      @priyaranjankumar5549 3 года назад

      @@sudocode if possible can we get videos more frequently?

    • @sudocode
      @sudocode  3 года назад

      @@priyaranjankumar5549 We will try :)

  • @ganesh_130
    @ganesh_130 3 года назад +1

    Haproxy,ngnix provide proxy with server, ELB etc.

  • @samratdas8286
    @samratdas8286 3 года назад

    Your videos are so good

    • @sudocode
      @sudocode  3 года назад

      Glad you like them!

  • @the_mahasagar1985
    @the_mahasagar1985 3 года назад +1

    Awesome work 👍👍

    • @sudocode
      @sudocode  3 года назад

      Thanks Sagar 👍🤟

  • @kulkarnineeraj
    @kulkarnineeraj 3 года назад +2

    Great work..i am at managerial level and every course i take for eg- angular, reacts or devops people start coding while teaching. The way you have designed this course, in similar way if you can design course which will teach reactjs and angular or devops or cloud at conceptual level , I am sure many people will benifit

  • @anupamkarn1009
    @anupamkarn1009 2 года назад +2

    For the quiz: I can not see any difficulty or blocker for making a proxy act in both way, reverse and forward.

  • @theotherside4338
    @theotherside4338 3 года назад +1

    Super clear madam 🙏

    • @sudocode
      @sudocode  3 года назад

      Thanks Anchal 🤟👍😀

  • @kirankumbhar2884
    @kirankumbhar2884 3 года назад +4

    A very simple explanation of proxy. Thank you for making such videos. Subbed! One suggestion is It will be helpful if you add one example for both reverse and forward proxy. I have one doubt. Can we say VPN installed on mobile acts as a forward proxy? At the same time, AWS or any cloud vendor's VPN setup on the server side acts as a reverse proxy?

    • @sudocode
      @sudocode  3 года назад +3

      Both of those are correct examples. Good job.

    • @kirankumbhar2884
      @kirankumbhar2884 3 года назад

      @@sudocode Thank you. Keep it up 🙂👍🏼

  • @-MayurDewangan
    @-MayurDewangan 2 года назад +1

    A single server cannot act as a forward as well as reverse proxy because there are logical operations that cannot be performed by a single server , also there will be threat to security if we use a single server for both the proxies.

  • @sreevanin3777
    @sreevanin3777 2 года назад

    In both cases of forward and reverse proxy, the client and server donot know their respective IPs. Thats the idea of proxies.. Can you pl share any good implementations of Nginx as forward and reverse proxies...Nginx has been a popular reverse proxy. though

  • @ashshettyvlogs3220
    @ashshettyvlogs3220 2 месяца назад

    is proxties like a must have? any applications today they haven't used and alternatives they opted? any real life usecases of implications of not using at all in ur applications?

  • @shubhamrana8231
    @shubhamrana8231 Месяц назад

    I think it should be possible to do this . A single server can have networking rules application which can handle incoming data from clients for security purposes or business purposes. The same server could also support outgoing traffic by keeping a check on data and have rules if needed .
    Example: vpn or maybe a dns.
    My query
    How to decide in what cases we should use fwd vs reverse case?

  • @nadeem3819
    @nadeem3819 2 года назад

    Doesn't this increase the latency of request ? If yes, then how we can overcome it or is it a tradeoff to achieve other non functional requirements?

  • @mepolob
    @mepolob 2 года назад

    Very crisp, concise and straight to the point. Thanks a lot, Yogita. 🙏.
    I have one question.
    Can we use Nginx as reverse proxy as well as load balancer?
    Thanks again.

    • @vasumangal995
      @vasumangal995 Год назад

      Yes, there should be no issues adding load balancers to your Nginx instance(s).

  • @mohamedhassan-ub4kj
    @mohamedhassan-ub4kj 2 года назад

    Answer :
    if a server can make requests to other servers and collect data and respond by it back to the client request, then it can be used as a reverse proxy

  • @raj.blazers
    @raj.blazers Год назад

    What is the difference between nginx and AWS load balancer? Both can be reverse proxy right?

  • @japanboy31415
    @japanboy31415 2 года назад +1

    so let me get this straight:
    forward proxy : client wants to talk to server but does it through the proxy.
    reverse proxy: client talks to the server but doesnt know who the pit boss is but sends the message through the proxy.

  • @RanjithKumar-gr6dx
    @RanjithKumar-gr6dx Год назад

    Can one server behave as a forward as well as a reverse proxy? Think why or why not?
    ans :It's also possible to use the same software to configure both a forward and a reverse proxy. For example, Nginx and the Apache web server are both commonly used as a reverse proxy in enterprise architectures. These two pieces of software can be configured to act as a forward proxy as well

  • @ashutoshkumar3300
    @ashutoshkumar3300 2 года назад

    can you please make a video on expenses, savings, income , ease of finding tech job in Dubai and whether something is deducted on sending money to India

  • @vivekmankar9643
    @vivekmankar9643 3 года назад +4

    The best course on the internet to get a proper understanding of system design!
    Can API gateway be an example of reverse proxy?
    Thank you!

    • @sudocode
      @sudocode  3 года назад +2

      Yes api gateway can play the role of reverse proxy

    • @virendrasharma1921
      @virendrasharma1921 2 года назад

      @@sudocode After watching this video, I was about to ask same question. But before asking I checked the comments if anyone has already asked this.
      Thank you for good content and reply on the comments ☺️😅

  • @samaga123
    @samaga123 3 года назад +4

    @Yogita please increase the frequency of uploads. Waiting for a week is really hard ma'am.

    • @sudocode
      @sudocode  3 года назад +1

      Will try :)

    • @samaga123
      @samaga123 3 года назад

      @@AshishChourasia1996 My statement started with a “please.” So it was a request.
      Read the comment, understand, and then ask someone to be grateful.

  • @VIVEK1898
    @VIVEK1898 3 года назад

    Please make a video about web servers, how they are different from application server, and why they are used.

  • @yuvrajagarkar8942
    @yuvrajagarkar8942 Год назад

    So in case of reverse forward proxies is it a possibility for a client to know IP address of server ?

  • @theotherside4338
    @theotherside4338 3 года назад

    But rp server is not generally used by trusted websites ,may I know y ?

  • @harshraj8858
    @harshraj8858 Год назад

    so like when we try to fetch an API ...does that API works as a proxy to the user ???

  • @santhoshkumara342
    @santhoshkumara342 3 года назад +1

    Nginx is ex of reverse proxy

  • @jenaamarnath
    @jenaamarnath 2 года назад

    Eg for both proxy

  • @maggieconlin1027
    @maggieconlin1027 Год назад

    Ex forward proxy: MyChart (Electronic Medical Records)
    Ex reverse proxy: credit card companies sending data to individual websites for purchasing merchandise.
    Is this correct?

  • @anuragsingh-nn5no
    @anuragsingh-nn5no 3 года назад +2

    First of all a big thanks for your efforts yogita🙌👏 .I watched all four videos n i would say it is something i always wanted as part of understanding the system design concepts because its is short,clear and easy to understand.Waiting for next ones..
    i tried to answer the quiz question may be i am wrong here please correct me in that case.
    forward proxy as you explained in the video act behalf as a requestor and reverse proxy act behalf as a server that responds to request. So, one server cannot behave as forward and reverse proxy.

    • @sudocode
      @sudocode  3 года назад +4

      Thanks a lot for good word Anurag. :) And yes, you are right, one server cannot act as a forward and reverse proxy at the same time.

  • @sayamgandhak6105
    @sayamgandhak6105 Год назад

    are load balancers proxies ?

  • @nagesh007
    @nagesh007 Год назад

    In case of reverse proxy , It will be single point failure .... How to overcome ?

  • @nagarjuna119
    @nagarjuna119 2 года назад

    broker is a proxy already :)

  • @ankuragarwal4014
    @ankuragarwal4014 3 года назад +1

    The server can work behave as a forward and reverse proxy because it depends on the side it is assigned, it may be on the client-side or it may be on the server-side also. Can you please tell me is it right or not?@YogitaSharma

    • @sudocode
      @sudocode  3 года назад

      That's on point.

    • @rimpiranibaruah7922
      @rimpiranibaruah7922 9 месяцев назад

      ​@@sudocode you replied in one comment that a server cannot behave as both forward and reverse proxy, but here you are saying the opposite.I am confused

  • @AyushKumar-fk5lm
    @AyushKumar-fk5lm 2 года назад

    VPNs are a somewhat similar to proxy servers

  • @stentechy3346
    @stentechy3346 Год назад

    forward proxy: VPN
    reverse proxy: NGINX

  • @j3ck390
    @j3ck390 2 года назад

    Can we say DNS server is a reverse proxy?

  • @arghyamitra3281
    @arghyamitra3281 3 года назад

    Great video 🎉 .. mam can we compare reverse proxy as API gateway ?

    • @sudocode
      @sudocode  2 года назад

      One of the functions of API gateway can be to serve as a reverse proxy

  • @abhigyannayak4151
    @abhigyannayak4151 3 года назад

    does client know the IP of server in forward proxy?

  • @seth5546
    @seth5546 2 года назад

    Correct answer for the quiz?

  • @parthkumarjha2517
    @parthkumarjha2517 3 года назад

    @Yogita , What is difference b/w Proxies and LB ?

    • @sudocode
      @sudocode  3 года назад +7

      Proxy and Load balancers are names given to machines which carry certain features like redirecting traffic, anonymity, traffic control in case of proxy and traffic distribution and redirection in case of load balancers. One machine can behave as reverse proxy and load balancer while it is rare that forward proxy also does load balancing. Also, proxy and load balancer can be on different machines as well. More on this when I release load balancer video. :)

    • @parthkumarjha2517
      @parthkumarjha2517 3 года назад

      Thanks Yogita . Looking forward to know more about LB.

  • @ankitdon007
    @ankitdon007 3 года назад +5

    VPN and dark web will be good example of reverse proxy......

    • @raghavddps2
      @raghavddps2 3 года назад +5

      Isn't VPN an example of Proxy, because we need to keep the client as Anonymous? Correct me if I am wrong

    • @adilkhatri3370
      @adilkhatri3370 3 года назад +1

      VPN is an example of a forward proxy!

    • @parthparmar9798
      @parthparmar9798 Год назад

      Dark web mostly works on TOR and onion routing. And that's not a kind of proxy i think

  • @raghavddps2
    @raghavddps2 3 года назад +3

    My answer to quiz
    A single server cannot behave as both forward and reverse proxy because
    that proxy server can either sit on the client-side or at the server-side.

  • @abhinavsingh8783
    @abhinavsingh8783 3 года назад

    Could an Enterprise Auth Server become an example of Proxies?

  • @PrakashKumar-ts6xl
    @PrakashKumar-ts6xl Год назад

    VPN act as a forward proxy
    firewall Act as a reverse Proxy

  • @VIVEK1898
    @VIVEK1898 3 года назад

    Do web servers act as a proxy??

  • @ankitpahwa8571
    @ankitpahwa8571 3 года назад

    In a N-tier arch , does proxy acts as a layer ? or we consider as part of client/server ?

    • @sudocode
      @sudocode  3 года назад +2

      It can be either on server or client layer. It can be considered as a layer in some scenarios.

    • @ankitpahwa8571
      @ankitpahwa8571 3 года назад

      Got it , thanks

  • @tanmaiysethiajain4367
    @tanmaiysethiajain4367 3 года назад +1

    had started watching these videos to learn from basics , but you are using jargons from the very beginning , very confusing

    • @sudocode
      @sudocode  3 года назад

      Hey Tanmaiy. Can you please tell me what sounded jargon to you? I will try and clarify it.

    • @tanmaiysethiajain4367
      @tanmaiysethiajain4367 3 года назад

      @@sudocode thanx for your response, i had a very vague idea of cashe , so if you can brief about it , apart from that i have no idea on what is SSL /TSL which u had mentioned in the video

    • @sudocode
      @sudocode  3 года назад +2

      Here is a video on cache that you can start understanding it with - ruclips.net/video/Ez1GK2imrsY/видео.html
      Also, you can just get a basic idea of SSL and TSL. That should be enough. You can go ahead and read this blog about it - www.csoonline.com/article/3246212/what-is-ssl-tls-and-how-this-encryption-protocol-works.html

  • @man904u
    @man904u 2 года назад

    VPN - Forward Proxy
    Load Balancer - Reverse Proxy
    Her examples are a little misleading.

  • @nintyeigher2752
    @nintyeigher2752 3 года назад

    I started watching this series and I love your lectures but you look a lot like my ex and Its soooo damn distracting. 🥺

    • @sudocode
      @sudocode  3 года назад +2

      Silver lining: you can learn system design and get over ex at the same time ;)