Palestra

Level 2: The Network

How data moves between systems: DNS, CDNs, load balancers, proxies, and protocols.

Welcome to Level 2

Every distributed system is built on top of a network. Understanding the building blocks of network infrastructure — DNS, CDNs, load balancers, proxies, and protocols — gives you the vocabulary to reason about how requests travel from users to servers and back.

What you will learn

ModuleTopicCore Idea
2.1DNSHow domain names resolve to IP addresses and DNS as infrastructure
2.2Content Delivery NetworksMoving content to the edge for speed and scale
2.3Load BalancingDistributing traffic across servers — L4 vs L7, algorithms
2.4Reverse Proxies and API GatewaysThe middlemen that add reliability, security, and routing
2.5ProtocolsHTTP/2, HTTP/3, WebSockets, SSE, gRPC — choosing the right protocol
2.6Global Delivery DesignAnycast, multi-region, and edge computing for worldwide users
2.7CheckpointDesign the network layer for a global application

The network layer is where many system design interviews begin: 'How does a request get from the user to your service?' Understanding this layer lets you draw the first boxes in any architecture diagram with confidence.

Key Takeaway

The network layer is the foundation of every distributed system. DNS resolves names, CDNs cache content at the edge, load balancers distribute traffic, and the right protocol choice can make or break performance.

Connect

Start with Module 2.1: DNS. It is the first thing that happens in every web request and one of the most commonly overlooked components in system design discussions.