Notes / tag / networking

#networking

26 notes across 4 topics

What is Istio

CNCF-graduated (July 2023) service mesh — sidecar model plus the newer sidecar-less ambient mode (stable since 1.24), now extending into AI traffic via the Gateway API Inference Extension and 2026's Ambient Multicluster beta.

tech networking service-mesh kubernetes cncf
Aug 2, 2026

What is a Reverse Proxy (NGINX)

Forward vs reverse proxy, and NGINX as the canonical implementation — event-driven architecture, core proxy capabilities, its config model, and the 2026 shift toward NGINX Gateway Fabric as a Kubernetes Gateway API implementation.

tech networking reverse-proxy web-server
Aug 2, 2026

What is Envoy

CNCF-graduated L7 proxy built at Lyft — the de facto data plane for service mesh (Istio, Linkerd's predecessor lineage) — now extending into AI traffic via Envoy AI Gateway, which reached v1.0 with a native MCP Gateway in 2026.

tech networking service-mesh observability cncf
Jul 9, 2026

OSI Layer Model (L1-L7)

What L1 through L7 actually mean, why 'L7 gateway' and 'L4 load balancer' are load-bearing terms in system design interviews, and why this numbering is unrelated to the pipeline's own Layer 1/2/3 architecture labels.

system-design maang-prep networking

Protocol Inventory

Every protocol referenced across the telemetry ingestion pipeline design, plus a general L7-termination reference table for the broader 'design an API gateway / load balancer' interview question.

system-design observability telemetry maang-prep networking

HTTP/2 vs HTTP/1.1

Why the ingestion gateway prefers HTTP/2 (multiplexed gRPC) over HTTP/1.1 — connection reuse, binary framing, and header compression at 100K+ agent fan-in.

system-design observability telemetry maang-prep networking

gRPC

What gRPC actually is underneath the shorthand this design uses it for — call shapes, status-code backpressure, deadline propagation, and the connection-level load-balancing gotcha at 100K+ agent fan-in.

system-design observability telemetry maang-prep networking

TLS Offload

Terminating TLS at the ingestion frontier instead of in every backend pod — why it's a Layer 1 responsibility, what it costs in defense-in-depth, and how mTLS re-encryption closes the gap.

system-design observability telemetry maang-prep networking tls

# Infrastructure Platform Engineering

All Infrastructure Platform Engineering notes →

1 — Kubernetes Networking Model

Why the flat 'every Pod gets a routable IP, no NAT' contract is what lets Kubernetes treat networking as a pluggable implementation detail instead of a per-app concern.

kubernetes networking book

2 — CNI Architecture

CNI is a thin exec-based plugin contract, not a networking stack itself — which is why Calico, Cilium, and Flannel can implement wildly different dataplanes (iptables, eBPF, VXLAN) behind the same interface.

kubernetes networking book

3 — Services

A Service is a stable virtual IP backed by an ever-changing Endpoints/EndpointSlice list — the abstraction exists precisely because Pod IPs are ephemeral and cannot be a load-balancing target.

kubernetes networking book

4 — kube-proxy

kube-proxy doesn't proxy traffic in the IPVS/iptables modes — it only programs kernel-level NAT rules on each node, so a kube-proxy crash doesn't break existing connections, only new rule updates.

kubernetes networking book

5 — CoreDNS

CoreDNS resolves Service names by querying the API server, not by watching iptables — so a Service can be DNS-resolvable milliseconds before kube-proxy has actually wired up a route to it.

kubernetes networking book

6 — Ingress

The Ingress resource is a portable schema with no built-in implementation — every annotation you add to make it actually do something ties you to one specific controller, quietly breaking portability.

kubernetes networking book

7 — Gateway API

Gateway API splits the single Ingress object into role-scoped resources (GatewayClass, Gateway, HTTPRoute) specifically so platform teams and app teams can own different layers without stepping on each other's config.

kubernetes networking book

8 — Network Policies

NetworkPolicy is default-permissive until the first policy selects a Pod — the moment you write one ingress rule for a Pod, all other traffic to it is implicitly denied, which is a common outage-by-surprise.

kubernetes networking book

9 — Service Mesh Overview

A service mesh moves retries, mTLS, and traffic shaping out of application code into a sidecar proxy — trading a real latency and operational-complexity cost for uniform policy enforcement across every service.

kubernetes networking book