Anycast IP - How does it help in reducing latency?

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 68

  • @amartyajha9109
    @amartyajha9109 2 ปีที่แล้ว +1

    Great video, this is exactly what I was looking for, don't stop here, keep posting.

  • @sushantkulkarni97
    @sushantkulkarni97 ปีที่แล้ว +2

    Thanks, this helped me understand aws global accelerator

  • @manascoolguy
    @manascoolguy 2 ปีที่แล้ว +1

    Very clearly described. It's a good way to take use case and explain the concept.

  • @rajtheo
    @rajtheo 3 ปีที่แล้ว +1

    Great step by step approach of tackling the Do's and Doesn't s. . Thanks

    • @AdityaKamat
      @AdityaKamat  3 ปีที่แล้ว

      Glad you liked it :)

  • @evolagenda
    @evolagenda 3 ปีที่แล้ว +3

    I feel like the actual interesting bit about anycast was 2 minutes long near the end and it didn't really explain the implementation details very well. The primer at the start is useful for setting up context but another 5 minutes on anycast implementation would've been more useful.

    • @rajtheo
      @rajtheo 3 ปีที่แล้ว

      I quite agree it was a bit of rush without much saying about how ipv6 - Anycast works

  • @amitp7848
    @amitp7848 4 ปีที่แล้ว +1

    Thank you aditya.. Appreciate ur efforts for simplifying the concept.. I was searching from long time..

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว

      Thanks for watching Amit! Glad you liked it :)

  • @nelsonlim5189
    @nelsonlim5189 3 ปีที่แล้ว +1

    very informative, now i get the big picture about anycast ip

    • @AdityaKamat
      @AdityaKamat  3 ปีที่แล้ว

      Thanks Nelson! Glad you found it informative.

  • @Diduoyknow
    @Diduoyknow 6 หลายเดือนก่อน

    Anycast server IP and server IP will be different but all the dns servers will sit in same DNS anycast pool.
    Anycast IP is used by all the users instead of user configure dns servers located locally or at remote location.
    May be you could cover ospf also along with BGP in the session.
    Great session . Congratulations

  • @seshagirik4066
    @seshagirik4066 4 ปีที่แล้ว +1

    Very informative, end to end issues and solution discussed. Thanks for sharing.

  • @sahilsingh716
    @sahilsingh716 2 ปีที่แล้ว +1

    superb!!!!!
    subscribed

  • @hashworld23
    @hashworld23 9 หลายเดือนก่อน

    Man, you have a good talent of making people understand a concept. Why are you running a scam like Heycoach these days?

  • @hbhole7882
    @hbhole7882 4 ปีที่แล้ว

    Good one....now I understood the concept of Anycast IP in GCP load balancing...Thank you Aditya for this information..!! :)

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว

      That's good to hear. Thanks for watching :)

  • @MuhammedBasil
    @MuhammedBasil 6 หลายเดือนก่อน

    Thank you. Very informative.

  • @karlxu1548
    @karlxu1548 4 ปีที่แล้ว +1

    Emmm
    12:17
    How does the POP(point of present)s sync with each other?

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว +1

      Static contents which have to be present on this can have a push model from a central DC, or you have a P2P based approach where the PoPs sync with each other the latest version which they have on them. The centralised approach will be preferable in cases where you want to ramp a feature only to a specific set of user groups based on geographies(canary deployments).

    • @karlxu1548
      @karlxu1548 4 ปีที่แล้ว +1

      @@AdityaKamat Thanks for the indepth answer.

  • @arunbennur
    @arunbennur 2 ปีที่แล้ว +1

    HI Aditya ! Thank you so much for the video .. it's crystal clear.
    I have one doubt say if one of the POP is down. How does it manages to reroute the traffic the active one

    • @AdityaKamat
      @AdityaKamat  2 ปีที่แล้ว

      Whenever a PoP goes down, it stops advertising in the BGP peering process and hence its address gets removed from the routes. This ensures that the traffic stops going to that PoP.
      This ofcourse can lead to some traffic going to that PoP during the new routes are broadcasted. This is avoided to a large extent by using proactive health checks.

  • @7989romeo
    @7989romeo 4 ปีที่แล้ว +1

    Very informative... keep it up the good work 👍

  • @rohittahiliani4417
    @rohittahiliani4417 4 ปีที่แล้ว +1

    Nice explanation Aditya.

  • @mformadhur
    @mformadhur 4 ปีที่แล้ว +2

    Great video! Keep creating more. Would've been helpful if you could have quickly explained the difference between a PoP v/s a DC.

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว +1

      Thanks, Madhur!
      Yes, I should have quickly differentiated between PoP and DC, the only problem is that there is a very thin line between them. You can have a PoP consist of just few routers and a couple of servers to hundreds of servers. The only abstract differentiation would be that a DC is usually much larger than a PoP, and a PoP is mostly used for serving cached content and then it is able to route the request to the DC if it does not have what is being requested for.

    • @mformadhur
      @mformadhur 4 ปีที่แล้ว +1

      @@AdityaKamat That description definitely helps! Not sure if TH-cam comments are the right way to "discuss" but a follow up question - Is there any dedicated connection between a PoP and the DC? Or the traffic has to flow over the general Internet?

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว +1

      In most of the cases that I have come across, I have seen a dedicated connection from PoP to DC. This helps reduce latency in fetches for requests from servers in DC, plus the sync of static content between DC and PoP is also quicker.

  • @Openspeedtest
    @Openspeedtest 2 ปีที่แล้ว

    How to prevent BGP hijacking?
    I can advertise like I own particular IP address of a well known service. And redirect users to my server. Like DNS poisoning. How to prevent this or what are the safety mechanism present to avoid this situation when we use anycast.

    • @AdityaKamat
      @AdityaKamat  2 ปีที่แล้ว

      BGP hijacking is much easier said than done. I've personally never seen ways to prevent it as yet.

  • @jackalhu8228
    @jackalhu8228 2 ปีที่แล้ว

    11:10 Let's look at how anycast works
    18:52 Let's consider a DDoS attack

  • @SivaVgt
    @SivaVgt 2 ปีที่แล้ว +1

    Quite an informative video. There were a few points I could not really get though more related to POP on what it is and why do we need it? Is it an instance of the base website at each location? If yes, then do we need anycast IP to access the POP as we already have the instance. I know it is a lot of questions, but any info would be great. Thanks!

    • @AdityaKamat
      @AdityaKamat  2 ปีที่แล้ว +1

      Just having an instance serving the website is not enough. You also need an IP address so your requests can reach the server. Hope it is clear so far.
      Now if each PoP have their individual IP address then there needs to be some logic at your end to pick the correct instance and send your request there, which is a huge task for the client. This is where an anycast IP helps and the internet helps you make that decision about which instance to send your request to.

    • @Diduoyknow
      @Diduoyknow 6 หลายเดือนก่อน

      Applications usually are hosted on one or set of servers for providing redundancy and anycast helps in choosing the shortest path and route the traffic to closest authoritative dns server to answer the query.
      You need to remember only anycast IP and rest anycast will do it for you by routing the query to Closest DNS server.
      Routing on layer 3 switches or router will decide what is the best route

  • @tusharindia9163
    @tusharindia9163 4 ปีที่แล้ว +1

    Very Good Informative Video...

  • @gangchen2762
    @gangchen2762 4 ปีที่แล้ว

    great post to explain anycast. well done!

  • @sauravdatta3124
    @sauravdatta3124 4 ปีที่แล้ว +1

    Thanks for the video..it's really very interesting..
    I have one query..
    In aneycast, end users will connect to pop and pop will route the traffic to the dc where the web server is hosted..in case of DDOS attack all traffic will reach to the web server through different POPs, and web server will be down..
    Does a single web server can be protected by anycast ip or we need to place multiple web server in multiple regions?

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว

      Thanks for watching the Video and glad you liked it. Anycast IP is not for DDOS protection, you would need IP pattern filtering mechanisms and firewalls in place for those. It would also make sense to distribute your web servers in multiple regions if you can afford the cost of that.

  • @sarathnoc5577
    @sarathnoc5577 4 ปีที่แล้ว +1

    what will be the answer for if two pop having same metric ?? is it loadbalancing

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว +1

      Only one of the POPs will usually be chosen for a client. I haven't seen load balancing of a client happening between POPs

    • @sarathnoc5577
      @sarathnoc5577 4 ปีที่แล้ว +1

      Aditya Kamat can you tell on which basis it will preferred

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว +2

      It depends on what parameters are prioritized in the routing logic on these POPs. If the application is time critical, parameters based on latency will be compared between the pops. If its more like a video streaming/heavy data transfer service they would look for bandwidth related parameters between the two pop's. If you take a zero probability case where all parameters are the same between both the POPs, it would then choose randomly.

  • @sdbyrdclt
    @sdbyrdclt 4 ปีที่แล้ว

    Great explanation of Anycast!

  • @mikethompson7406
    @mikethompson7406 4 ปีที่แล้ว

    Almost 500 subscribers now!!

  • @anantchoudhari2898
    @anantchoudhari2898 4 ปีที่แล้ว

    Hey thanks for the great video. You mentioned about BGP peering video. But there is no link. Do you mind sharing the link?

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว +1

      th-cam.com/video/Q_YpTh0Qq_k/w-d-xo.html
      I talk about BGP peering at 10:50, sorry I'm on mobile and not able to share the video link with time in it.
      And thanks for watching :)

    • @anantchoudhari2898
      @anantchoudhari2898 4 ปีที่แล้ว +1

      @@AdityaKamat Thanks for the quick response

  • @amantarar9077
    @amantarar9077 4 ปีที่แล้ว +1

    I will definitely subscribe ur channel and suggest my friends too

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว

      Thanks a lot Aman, means a lot to me :)

  • @ofsofd7832
    @ofsofd7832 4 ปีที่แล้ว +1

    Good job. Thanks!

  • @saifnawaz9559
    @saifnawaz9559 ปีที่แล้ว

    So basically for 13 root servers, you are saying that we have other redundant servers over the globe and they have the same IPs as of root servers. is the ip just same or its a complete replica of the root servers.

    • @Diduoyknow
      @Diduoyknow 6 หลายเดือนก่อน

      Ip address of the anycast server will be different and servers IP will be different.
      Anycast will have a route to each of the server and have to put dns servers which are authoritative to answer the query in same anycast pool

  • @roman7139
    @roman7139 3 ปีที่แล้ว

    Best video! Thanks a lot

    • @AdityaKamat
      @AdityaKamat  3 ปีที่แล้ว

      Glad you liked it :)

  • @RandomThingsHere9
    @RandomThingsHere9 5 ปีที่แล้ว +1

    Great stuff

    • @AdityaKamat
      @AdityaKamat  5 ปีที่แล้ว

      Thanks Somashekhar. Glad you liked it!

  • @amantarar9077
    @amantarar9077 4 ปีที่แล้ว +1

    It's sounds more familiar 😂,u don't have to worry about subscribers , India me hi boht hai log

  • @CyberTronics
    @CyberTronics 2 ปีที่แล้ว

    Amazing

  • @amantarar9077
    @amantarar9077 4 ปีที่แล้ว +1

    Video is very gud .bro ur English is gud but still I will recommend u use Hinglish

    • @AdityaKamat
      @AdityaKamat  4 ปีที่แล้ว

      Sure, thanks for the suggestion!

  • @ApexArtistX
    @ApexArtistX 4 ปีที่แล้ว +1

    Bsnl launch anycast dns .. good luck