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
System design is the discipline of planning how the parts of a software system fit together to meet requirements for scale, latency, availability and cost. It deals with load balancing, caching, databases and partitioning, messaging, networking and observability, and with the trade-offs between consistency and availability. Engineers use it to build services that cope with growth and failure, and it is a standard part of senior engineering interviews.
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…