Skip to main content
InterviewHubPRO
Section Overview
Q40

Question 40 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

80%
Networking & Protocols (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

BGP (Border Gateway Protocol) and Anycast: How the global internet routes traffic.

senior Levelnetworking-protocolsAdvanced Internals

In Simple Words:

  • BGP: The routing protocol of the global internet that exchanges routing tables between Autonomous Systems (ASNs like Comcast, Cloudflare, AWS, Google).
  • Unicast: An IP address belongs to exactly one physical server in one building.
  • Anycast: The exact same IP address is announced from hundreds of data centers globally:
    • When a user in London pings 1.1.1.1, BGP routes packets across the shortest hop to the London edge router.
    • When a user in Tokyo pings 1.1.1.1, BGP routes to the Tokyo edge router.
    • Eliminates trans-oceanic latency and absorbs multi-terabit DDoS attacks across hundreds of edge locations.