CodingLevel 7

Incident response

Easynot started
Mediumnot started
Hardnot started
Cascading failuresHow a tiny blip in one service can accidentally DDOS your entire system via retries.3 minCache & queue incidentsWhy one bad payload can block millions of healthy messages.3 minData loss & corruptionWhat happens when two disconnected databases both think they are in charge.3 minSecurity incidentsStop the exfiltration first. Do forensics later.3 minReading the golden signalsWhy your dashboard says "50ms average", but your biggest customers are timing out.3 minNetwork incidentsThe network is never perfectly reliable; cables get cut and routers crash.3 minIncident response & triageStop the bleeding first. Figure out why it happened later.3 minThundering herds (cache miss storm)When a single expired cache item takes down your whole backend.3 minSplit-brainA network partition tears one cluster into two halves, and if each half still thinks it's in charge, both keep writing and the data diverges.4 minServer-side request forgery (SSRF)If your server fetches whatever URL a user hands it, the attacker borrows your server's place inside the trusted network, and points it at things they could never reach themselves.3 minData exfiltrationThe break-in is loud; the theft is quiet, data leaving slowly looks almost like normal traffic.3 minDelegating to AI agents safelyHand off the work, not the accountability, bound what it can touch, and check the trace where a wrong turn would compound.3 minLateral movementThe breach rarely lands where it matters, the attacker hops from a low-value foothold to the crown jewels.4 minCDN time-to-live (TTL)Balancing server load against serving hopelessly outdated data.3 minCold storageTrading speed for massive cost savings on data you rarely need.3 minCredential stuffingAttackers don't guess passwords, they replay millions of real ones leaked from somewhere else.3 minInference queue backlogWhy buffering too many LLM requests makes things worse for everyone.3 minCDN invalidation stormWhen telling the cache to forget everything takes down your backend.3 minModel drift and calibrationWhen the world changes faster than your AI's underlying math.3 minOAuth token leakA bearer token is a key that opens any door it touches, so the moment it rides along inside a request it can quietly walk out the front door to a stranger's server.4 minPrivilege escalationA low-privilege account quietly gains powers it was never granted, and starts acting as admin.3 minSilent replica divergenceThree copies of the same key quietly drift apart while every read still looks happy.3 minWrite amplification and compactionOne write from your app becomes many writes on disk, the storage engine keeps re-copying the same data downhill.4 minA rebalance that halts with hot nodes still hotThe plan was right, even out the load, but the moves never drained, so the overloaded node stayed overloaded.4 minA restore that stallsThe progress bar climbed, then froze, and the volume sat in read-only limbo while the job still claimed to be running.4 minBatch scoring nulls (ML pipelines)When a single missing value ruins predictions for an entire batch.3 minCache eviction stormsWhen protecting the cache accidentally destroys the database.3 minCold storage SLAsDeciding how much you're willing to pay when lawyers demand old data.3 minCompaction stallsAn LSM-tree storage engine throttles your writes when the background merge falls behind the incoming flood.4 minCompromised CI tokenYour pipeline holds the keys to everything it deploys, steal its token and you inherit production.4 minContent delivery networksKeep a copy of the answer near the person asking. The first visitor pays the long trip; everyone after them gets it from next door.3 minDurability (bitrot and scrubbing)How storage systems prevent your data from slowly decaying.3 minEmbedding store latencyWhy fetching high-dimensional vectors to feed an ML model destroys real-time performance.3 minFlagging bad inputs (ML)Teaching your ML model to explicitly recognize when data is missing or broken.3 minFsync and commit latencyWhy guaranteeing you won't lose data makes your database slow.3 minHealth flappingWhen a server repeatedly crashes, restarts, and immediately receives traffic before it's ready.3 minLate data (streaming ML)When a user's phone goes into a tunnel and events arrive out of order.3 minModel serving recommendation stale cacheA cache makes recommendations cheap and fast, until the model moves on and the cache keeps handing out yesterday's answer.4 minMultipart upload that never finishedA big file uploaded in pieces, then abandoned mid-flight, the pieces linger in the bucket, unseen but still billed.3 minOnline learning feedback loopsWhen a recommendation algorithm becomes a self-fulfilling prophecy.3 minPhishing and session hijackingA stolen session cookie lets an attacker walk in as you without ever knowing your password.3 minPipeline stall (staleness)When your real-time machine learning model is secretly operating on yesterday's data.3 minPoint-in-time leakageWhen your ML model accidentally memorizes the future.3 minPoint-in-time recoveryRewind a database to the instant before a bad write by replaying its change log onto an old snapshot.4 minPublic bucket exposureA storage bucket left readable by anyone on the internet, no login, no token, just a URL away from your private data.4 minRead-after-write consistencyYou just saved a file, ask for it back, and the system says "never heard of it", because your read landed on a copy that hasn't caught up yet.3 minSSTable durability and corruptionHow databases detect bit-rot and silent disk failures.3 minStale mounts (block storage)When the operating system is lying to the application about the disk.3 minThe TLS handshakeTwo strangers shouting across a crowded room agree on a secret nobody else can reconstruct, prove who they are, then whisper privately.5 minThundering restore stormWhen everyone reaches for the fire exit at once, the door becomes the fire, pace the crowd or nobody gets out.3 minTraining job OOM (out of memory)Why you can't just load a 100-Gigabyte dataset into a 16-Gigabyte RAM chip.3 minVector DB search latencyWhy searching a Vector DB inside an LLM's streaming generation loop is a terrible idea.3 minWAF blocking a SQL-injection spikeA wave of injection attempts hits at 2am. The firewall holds the line while you triage, contain, and chase down why the query was ever exploitable.4 min