← Knowledge Base

Network & Ops

IP geolocation and route analysis, Cron scheduling, and practical approaches to network troubleshooting.

Articles in this topic

API Idempotency, Retries and Timeouts: Making Failure Predictable

Retries turn a blip into an avalanche when idempotency and budgets are missing. Three timeout layers, retryable errors, jittered backoff, idempotency keys.

9 min readAPIPitfalls
IP Route Analysis: What CN2 / 163 / 9929 / CMI Mean

Not all datacenter routes perform the same. Reading the ASNs in a traceroute tells you whether traffic uses CN2, 163, 9929 or CMI.

3 min readNetworkIP
HTTP Status Codes and Caching Headers: A Practical Guide

401 vs 403? 301 vs 308? Status code confusions, four caching headers, and ready-to-use strategies for assets, HTML and APIs.

7 min readHTTPCaching
Cron Expressions Explained: 5 vs 6 Fields and Pitfalls

Five fields or six? What happens when day-of-month and day-of-week are both set? Cron formats and frequent mistakes.

4 min readCronPitfalls
What an IP Lookup Reveals, and What It Cannot

Can an IP locate your doorstep or reveal your name? The real limits of IP lookups, plus common privacy misconceptions.

5 min readIPPrivacy
What CORS Actually Blocks: Same-Origin and Preflight

Why the browser blocks cross-origin requests. Same-origin policy, simple requests vs preflight, and common misconfigurations.

4 min readHTTPSecurityBeginner
How to Version an API: URL, Header, or None

How to change an API without breaking old clients. URL vs header vs media-type versioning, plus deprecation and migration cadence.

4 min readAPIPitfalls
CIDR and Subnets: Reading 192.168.1.0/24

What the number after the slash means: subnet masks, private ranges, and how to tell if two IPs are on the same network.

6 min readIPNetworkBeginner
Why Cache Invalidation Is Hard: Keys, TTL and Stampede

Caches absorb load but also serve stale data. Cache-key design, TTL strategy, and the three failure modes: penetration, stampede, avalanche.

4 min readCachingAPIPitfalls
What HTTPS and TLS Actually Protect

HTTPS is HTTP plus TLS, not a new protocol. What certificate validation checks, common myths, and why internal traffic needs it too.

8 min readTLSSecurityBeginner
Choosing a Rate Limiter: Fixed Window / Sliding / Token Bucket / Leaky Bucket

Edge cases and trade-offs of four rate-limit algorithms, plus distributed counting, 429s and retry backoff.

4 min readAPINetworkPitfalls
HTTP Security Headers to Check Before Launch

What HSTS, CSP and X-Content-Type-Options actually protect, plus a launch-day checklist you can copy.

5 min readHTTPSecurity
TCP vs UDP: Reliability, Ordering and Latency Trade-offs

Retransmit or not? Ordering? Jitter tolerance? Compare TCP and UDP across five dimensions, and what you must rebuild on top of UDP.

6 min readProtocolsNetwork
DNS Resolution and Record Types: Cache Chain, Records, Debug Commands

What A, AAAA, CNAME, MX and TXT each do, the cache chain a lookup walks, how to pick TTLs, plus debug commands and three common traps.

6 min readDNSNetworkBeginner
The Life of an HTTP Request: Seven Stages and How to Debug Them

From typing a URL to a rendered page: parsing, DNS, connecting, sending, processing, responding, sub-resources, plus where time goes and how to debug.

7 min readHTTPNetworkBeginner
WebSocket vs Polling: Choosing Real-Time Communication

Polling wastes requests, long-polling is semi-real-time, WebSocket is a bidirectional long connection. When each fits, plus heartbeat and reconnect.

3 min readNetworkBeginner
How a CDN Brings Content Close to You

Requests are routed to the nearest edge node. DNS-based routing, cache hits versus origin fetch, purge and prefetch, and what belongs on a CDN.

3 min readNetworkBeginner
Forward vs Reverse Proxy: Telling Them Apart

A forward proxy represents the client going out; a reverse proxy represents the server facing users. Position, use, and the gateway role.

2 min readNetworkBeginner
What HTTP/2 and HTTP/3 Improve Over HTTP/1.1

Head-of-line blocking, multiplexing, header compression. HTTP/2 gains, and why HTTP/3 moves to QUIC over UDP.

3 min readHTTPBeginner
Circuit Breaking and Degradation: Stop One Failure Taking Down All

Endless retries on a slow downstream only cause an avalanche. The three breaker states, half-open probing, and serving a fallback instead of blocking.

3 min readNetworkCI/CDBeginner
What Message Queues Solve: Async, Buffering, Decoupling

The producer drops a task in the queue and returns; the consumer handles it later. Async, peak buffering, decoupling, plus duplicate and ordering caveats.

3 min readNetworkBeginner
GET vs POST: What Differs and When to Use Each

GET can be cached, sits in history, has length limits; POST carries a body and is not cached. Semantics, safety, idempotency, and when it matters.

4 min readHTTPBeginner
REST API Design and Resource Modeling

Treat things as resources and HTTP methods as actions. Resources, status codes, pagination, versioning, and the verb-in-path anti-pattern.

3 min readAPIBeginner

Related tools

Other topics