XSS Prevention for Backend Engineers: Output Encoding, CSP, and Trust Boundaries
XSS Prevention for Backend Engineers covers encoding, CSP, and trust lines. Learn where output must be escaped and…
Category
These system design guides cover how to build software that scales and stays up. There are over a hundred posts, grouped by topic.
For a start, read load balancing and caching. Then high availability covers uptime. Also, each sub section goes deeper into one area.
112 articles
XSS Prevention for Backend Engineers covers encoding, CSP, and trust lines. Learn where output must be escaped and…
Helm Charts for Kubernetes covers packaging, templates, versions, and releases. Learn what breaks on upgrade, how to pin…
Redis caching in practice: cache-aside with a TTL on every write, the redis TTL strategy, and the stampede,…
The three ways caches fail when it matters: the cache stampede on an expired key, cache avalanche from…
Kubernetes for Backend Engineers covers scheduling, autoscaling, and failure modes. Learn how pods fail, how to set limits,…
Distributed caching beyond one node: consistent-hash routing, cache tiers, hot keys, cross-node invalidation, and the redis vs memcached…
Cache-aside vs read-through, write-through vs write-back, LRU eviction, and the hit-ratio math that decides whether a cache pays…
L4 vs L7 load balancing compared: the layer 4 load balancer's connection-level speed, the layer 7 load balancer's…
Memory Leaks in Backend Services grow RSS until the host kills the process. Learn how to find retained…
Long polling vs SSE compared: how server sent events work, where websockets fit, sse vs polling costs, and…
Garbage Collection Tuning cuts pause time without starving throughput. Learn which collector to pick, which knobs matter, and…
What are websockets: the websocket vs http comparison, the websocket connection lifecycle in six steps, and scaling websocket…
Dependency Hell in Backend Systems breaks builds when library versions clash. Learn lockfiles, upgrade paths, and how to…
The rate limiting algorithms that matter (token bucket, leaky bucket, sliding window) how distributed enforcement works across a…