SkillPilotAI

Free Tech Shorts

One cache key took the database down

Never let a hot key expire for everyone at once.

Free Tech Shorts

One post, ten crore feeds

Push for most users, pull for celebrities.

Free Tech Shorts

One slow service took the whole app down

Retries without backoff turn a slowdown into an outage.

Free Tech Shorts

The server came back, and fell again in 2 seconds

Recovery is a spike too. Add jitter.

Free Tech Shorts

100 requests a minute, across 50 servers

Many servers, one limit: count in one shared, atomic place.

Free Tech Shorts

One hot key took down a Redis shard

More shards don't fix one hot key. Copies and local caches do.

Free Tech Shorts

Posted a comment, refreshed, and it was gone

Others can wait. The writer must see their own write.

Free Tech Shorts

Order saved, event lost

Write the event in the same transaction. Publish it later.

Free Tech Shorts

Two servers both thought they were the leader

The majority decides the leader. Alone is never enough.

Free Tech Shorts

The lock expired and two workers wrote the same file

A lock can expire under you. Fence every write.

Free Tech Shorts

Kafka delivered the same payment twice

At-least-once delivery needs idempotent consumers.

Free Tech Shorts

Same group chat, different order on every phone

Decide the order in one place, per conversation.

Free Tech Shorts

Unique IDs on thousands of servers without asking anyone

Time + machine + counter = unique, sortable IDs.

Free Tech Shorts

A server clock silently deleted your update

Order writes with versions, not wall clocks.

Free Tech Shorts

One rename on a huge table took production down

Never rename in place. Expand, backfill, then contract.

Free Tech Shorts

Four shards, but one does all the work

Pick a shard key that spreads load, not one that follows time.

Free Tech Shorts

How can WhatsApp not read your messages?

The server delivers your message. It cannot read it.

Free Tech Shorts

Phone was off all night, still every message arrived

The server waits, delivers, then forgets.

Free Tech Shorts

What happens in the 3 seconds of a UPI payment

UPI is a switch: resolve, debit, credit, confirm.

Free Tech Shorts

How Login with Google works without your password

OAuth shares access, never your password.

Free Tech Shorts

Why can't someone on café WiFi read your password?

HTTPS hides what you send, not where you go.

Free Tech Shorts

How does an authenticator app work without internet?

TOTP = shared secret + current time.

Free Tech Shorts

How Uber finds the nearest driver in seconds

Don't search the world. Search your cell and its neighbors.

Free Tech Shorts

How Google searches the web in under a second

Fast search means the work was done before you searched.

Free Tech Shorts

Why Netflix rarely buffers

Bring content closer, and let quality bend instead of breaking.

Free Tech Shorts

How Shazam recognises a song in seconds

Turn sound into hashes, and searching becomes easy.

Free Tech Shorts

How Chrome catches bad sites without sending your history

Check locally, share only a tiny hash prefix.

Free Tech Shorts

How Google Maps knows about traffic

Your phone is the traffic sensor.

Free Tech Shorts

Change one number, see someone else's order

Logged in is not allowed. Check ownership every time.

Free Tech Shorts

The database leaked. Why are the passwords still safe?

Salt it, and hash it slowly.

Free Tech Shorts

One git push, a huge cloud bill

A pushed secret is a public secret. Rotate it, don't just delete it.

Free Tech Shorts

Your JWT was stolen. Why doesn't logout stop it?

Short access tokens, revocable refresh tokens.

Free Tech Shorts

A 4-digit OTP with no limit: hacked in a minute

Short codes need strict attempt limits.

Free Tech Shorts

The server handed its own cloud keys to an attacker

Never let your server fetch any URL a user gives it.

Free Tech Shorts

The npm worm that spread by itself

Every npm install runs someone else's code. Pin versions, lock tokens.

Free Tech Shorts

The company AI told an intern everyone's salary

Filter by permission before the model sees the data.

Free Tech Shorts

The AI agent deleted production during a code freeze

A prompt is a request, not a permission.

Free Tech Shorts

An email made the AI assistant leak your data

Any text the AI reads can try to command it.

Free Tech Shorts

Why the LLM bill jumped 10x

You pay for every token you send, not just the question.

Free Tech Shorts

Why ChatGPT types its answer word by word

Stream early. Users feel the first token, not the last.

Free Tech Shorts

Lakhs of users, a few GPUs: design ChatGPT

GPUs are the scarce resource: queue, batch and limit.

Free Tech Shorts

460 million dollars lost in 45 minutes

Dead code isn't dead until it's deleted.

Free Tech Shorts

Facebook vanished for 6 hours and engineers were locked out

Your way back in must not depend on the thing that broke.

Free Tech Shorts

Production DB deleted, and 5 backups failed

A backup you never restored is just a hope.

Free Tech Shorts

One update crashed 8.5 million Windows PCs

Roll out every change in stages, even 'just a data file'.

Free Tech Shorts

One typo took down AWS S3, and its status page

Powerful tools need safety limits. Keep the blast radius small.

Free Tech Shorts

The hotel blocked ₹5,000. Why does the refund take 7 days?

A hold is a promise, not a payment. Capture only what you actually charge.

Free Tech Shorts

Ten friends, one trip: how Splitwise settles in fewer payments

Settle balances, not every individual bill.

Free Tech Shorts

How a stock exchange matches lakhs of orders a second

One ordered stream, one thread, one truth.

Free Tech Shorts

The restaurant never accepted your order. Now what?

Every order state needs an exit and a deadline.

Free Tech Shorts

One crore likes on one post at the same time

Spread hot writes across shards, add them up on read.

Free Tech Shorts

Why YouTube views used to freeze at 301

Fast counts and correct counts can be two different pipelines.

Free Tech Shorts

Two people edit the same line in Google Docs at once

Don't send the document, send the operation, and transform it.

Free Tech Shorts

How the search box suggests in 50 ms on every letter

Precompute the answers for every prefix.

Free Tech Shorts

Design bit.ly: billions of short links

Unique ID + base62 to write, cache + redirect to read.

Free Tech Shorts

5 crore notifications in one minute at the IPL toss

Fan out through queues and many workers, with priorities.

Free Tech Shorts

A live leaderboard for one crore players

Ranks belong in a sorted set, not in ORDER BY.

Free Tech Shorts

A 2 GB upload broke at 90%. Start again?

Upload in chunks, resume from the last good one.

Free Tech Shorts

Run a job exactly once a day on 10 servers

One lease, one runner, and a job that is safe to repeat.

Free Tech Shorts

No deploy, yet the database got 10x slower overnight

Same query, new plan. Watch your statistics.

Free Tech Shorts

They had a backup, and restore still took 3 days

A backup you have never restored is only a hope.

Free Tech Shorts

Why big companies avoid two-phase commit

2PC buys consistency with blocking. Sagas buy availability.

Free Tech Shorts

Added one server, and the whole cache went empty

Adding a server should move a slice, not everything.

Free Tech Shorts

The network split: what does a bank choose, and what does Instagram?

During a partition, choose consistency or availability, per feature.

Free Tech Shorts

"Username taken" in milliseconds, among a billion

Bloom filter: "no" is certain, "yes" means maybe.

Free Tech Shorts

The balance is wrong. Prove how it got there.

Store what happened, not just the result.

Free Tech Shorts

How does WhatsApp Web stay live without refresh?

Don't keep asking. Keep one connection open.

Free Tech Shorts

Bad network, but the video call doesn't drop

Drop quality, never the call.

Free Tech Shorts

How does google.com turn into an IP address?

DNS is a chain of referrals, made fast by caching.

Free Tech Shorts

How does Git keep years of history so small?

Git stores content by its hash, so nothing is stored twice.

Free Tech Shorts

Why does a torn QR code still scan?

Store a little extra, survive a lot of damage.

Free Tech Shorts

Tap to pay, without giving your card number

Share a token, never the card.

Free Tech Shorts

One quote in the login box, and the database opened

Never build SQL from strings. Bind parameters.

Free Tech Shorts

One review comment stole the admin's login

Treat every user input as text, never as code.

Free Tech Shorts

Opened a link, money left your account

A cookie proves who you are, not that you meant it.

Free Tech Shorts

SIM swap: your OTP isn't yours anymore

Your phone number is not your identity.

Free Tech Shorts

Passkeys: login without a password

Nothing secret ever leaves your phone.

Free Tech Shorts

Your app wasn't hacked, but accounts were

Assume your users' passwords are already leaked.

Free Tech Shorts

One log line hacked the server (Log4Shell)

Logs are input too. Know your dependencies.

Free Tech Shorts

The chatbot made up a refund policy, the airline paid

Your chatbot's answer is your company's promise.

Free Tech Shorts

AI suggested a package that didn't exist, then an attacker made it

Verify every package the AI suggests.

Free Tech Shorts

The AI agent looped all night and ran up the bill

Every agent needs a budget and a brake.

Free Tech Shorts

Same question, new words: why pay the LLM again?

Cache meaning, not text, but guard the threshold.

Free Tech Shorts

Fine-tuning or RAG? The interview answer

RAG for knowledge, fine-tuning for behaviour.

Free Tech Shorts

One regex took Cloudflare's CPUs to 100%

Regex can be a DoS. Use engines with time guarantees.

Free Tech Shorts

43 seconds of network loss, 24 hours of trouble

Failover moves data and traffic. Test both, and how to come back.

Free Tech Shorts

Roblox was down for 73 hours

Never let your monitoring depend on what it monitors.

Free Tech Shorts

One valid customer setting took down Fastly

Contain first, debug later.

Free Tech Shorts

One extra second froze servers worldwide

Wall clock time lies. Measure durations with a monotonic clock.

Free Tech Shorts

One script deleted 883 customer sites

Delete softly. Practise restoring one customer fast.

Free Tech Shorts

On 1 January 2022, Exchange emails got stuck

Every number type has a ceiling. Know when you'll hit it.

Free Tech Shorts

Why Google login failed for 45 minutes

Automation that removes capacity needs a human brake.

Free Tech Shorts

How the bank spots card fraud in 100 ms

Precompute the past so you can judge the present in milliseconds.

Free Tech Shorts

Charged twice in the app, but paid once?

Pending is a hold. Posted is the payment.

Free Tech Shorts

Where did one paisa go?

Keep money as integer paise. Assign every paisa.

Free Tech Shorts

Who decides the surge price?

Surge is a feedback loop: price shifts demand and supply.

Free Tech Shorts

UPI says success in 2 seconds. When does money really move?

Messages move instantly. Money moves later, netted.

Free Tech Shorts

Gateway says success, bank says failed. Who is right?

Real-time status is fast. Reconciled status is true.

Free Tech Shorts

Gift cards stolen just by guessing codes

Unguessable codes, plus limits on guessing.

Free Tech Shorts

How UPI AutoPay charges you without a PIN

Approve once, verify every time.

Free Tech Shorts

Invoice numbers with no gaps, from ten servers

Unique is easy. Gapless needs a locked counter.

Free Tech Shorts

The trading app crashes exactly at market open

Known spike? Scale before it. Protect the money path.

Free Tech Shorts

How a reel starts in zero seconds

Instant means the work happened before you asked.

Free Tech Shorts

"Only 2 left in stock": is it true?

Show from the cache. Commit against the truth.

Free Tech Shorts

Page 1 is instant, page 50,000 takes seconds

Don't skip rows. Seek to them.

Free Tech Shorts

One page ran 501 database queries

One page, one batch. Never one query per row.

Free Tech Shorts

The database was healthy, the app was down

Never let one slow query own the whole pool.

Free Tech Shorts

Ten thousand connections on one server

Idle connections are cheap. Idle threads are not.

Free Tech Shorts

How a load balancer picks a server

Spread by load, not by turn. Never send traffic to a dead server.

Free Tech Shorts

Added a server, users got logged out

Keep servers stateless. Keep state in a shared store.

Free Tech Shorts

Autoscaling was on. The app still went down.

Autoscaling reacts. For known spikes, scale before them.

Free Tech Shorts

One photo, twenty sizes

Resize once, on demand, then let the CDN serve it.

Free Tech Shorts

Three partitions, but one does all the work

Your partition key is your scaling plan.

Free Tech Shorts

Fast producer, slow consumer, crashed server

A queue without a limit is just a slower crash.

Free Tech Shorts

Average is 50 ms, so why does the app feel slow?

Users feel the tail, not the average.

Free Tech Shorts

Price changed, the website still shows the old one

Delete on write, keep a TTL, and confirm money at checkout.

Free Tech Shorts

Thousands of reads, a few writes, one model for both?

Shape reads for reading and writes for writing.

Free Tech Shorts

Upload done. Why does it still say processing?

Upload fast, process in the background, publish in stages.

Free Tech Shorts

Mumbai region is down. Can Singapore take over?

Decide how much data you can lose before you pick regions.

Free Tech Shorts

Deploy without failing a single request

Drain, check readiness, then switch traffic.

Free Tech Shorts

One row out of ten million in three steps

An index turns a full scan into a few hops.

Free Tech Shorts

Why Cassandra writes are so fast

LSM trees trade some read work for very fast writes.

Free Tech Shorts

Power cut right after commit. Is the data safe?

Log first, fsync, then say OK.

Free Tech Shorts

Delete my account: when is the data really gone?

Deleting a user means deleting every copy.

Free Tech Shorts

Ten million metrics a minute: how to store them

Keep detail for recent data, summaries for old data.

Free Tech Shorts

The report's totals didn't match

Same transaction doesn't mean same data. Pick the isolation level.

Free Tech Shorts

Two admins edited the same product. One change vanished.

Save only if nobody changed it since you read it.

Free Tech Shorts

One report slowed down checkout

Never run analytics on the database that takes orders.

Free Tech Shorts

When does a search box need Elasticsearch?

Database for truth, search engine for finding.

Free Tech Shorts

Price updated, search still shows the old one

Write once to the database, let its log update the rest.

Free Tech Shorts

Primary key: auto-increment or UUID?

Unique like a UUID, ordered like a counter: UUIDv7.

Free Tech Shorts

The feed got slow because of joins

Copy data for fast reads, but own every copy.

Free Tech Shorts

Why photos don't belong in the database

Files in object storage, facts about files in the database.

Free Tech Shorts

One SaaS customer saw another company's invoices

Make the database refuse other tenants' rows.

Free Tech Shorts

Moving a live database without downtime

Sync, compare, flip, and keep a way back.

Free Tech Shorts

How does the browser know the website is real?

The padlock means a trusted CA vouched for this domain.

Free Tech Shorts

What happens after you press Enter on a URL

One Enter key: DNS, TCP, TLS, HTTP, render.

Free Tech Shorts

How Gmail knows a mail from your bank is fake

SPF says who may send, DKIM proves it, DMARC decides.

Free Tech Shorts

What a VPN actually hides, and what it doesn't

A VPN hides your traffic from the network, not your identity from websites.

Free Tech Shorts

The journey of a 6-digit OTP

An OTP is a short-lived, hashed, single-use secret.

Free Tech Shorts

How Spotify knows what you'll like

Recommendations = people like you + songs like yours.

Free Tech Shorts

Why a photo can't unlock Face ID

A photo is flat. Your face is 3D.

Free Tech Shorts

How GPS finds you without internet

GPS only listens: time × light speed = distance.

Free Tech Shorts

How an AirTag reports location without GPS or SIM

Strangers' phones carry the location; only you hold the key.

Free Tech Shorts

How a file shrinks 180 times without losing data

Compression removes repetition, not information.

Free Tech Shorts

Why a container starts in a second and a VM doesn't

A VM virtualises the machine; a container virtualises the OS view.

Free Tech Shorts

Who restarted the pod at 3 AM?

Declare the state; the loop keeps it true.

Free Tech Shorts

How Gmail's Undo Send pulls back an email

Undo works only before the irreversible step.

Free Tech Shorts

How one checkbox knows you're not a robot

The checkbox is a risk score; the server must verify it.

Free Tech Shorts

Saw shoes on one site, the same ad on another

One script on many sites + one cookie = you, tracked.

Free Tech Shorts

One four, one crore phones, one second

Don't let millions ask. Publish once, push to all.

Free Tech Shorts

How a signature proves nobody changed the message

Sign with the private key, verify with the public key.

Free Tech Shorts

Why your password manager can't read your passwords

Encrypt on the device; the server only keeps a locked box.

Free Tech Shorts

How Git merges, and when it gives up

Git merges by comparing both sides with their common base.

Free Tech Shorts

How online and last seen work for crores of users

Online means a recent heartbeat, not a promise.

Free Tech Shorts

Ransomware encrypted the whole company, backups too

A backup the attacker can delete is not a backup.

Free Tech Shorts

A perfect copy of your bank's login page

Passkeys only work on the real domain, so phishing has nothing to steal.

Free Tech Shorts

A terabit per second of attack traffic

Spread it, scrub it, hide the origin.

Free Tech Shorts

One click on a free iPhone deleted your account

Tell the browser who may frame your site.

Free Tech Shorts

Dot dot slash read the server's secret file

Resolve first, then check the path stays inside.

Free Tech Shorts

The API key inside your app made someone else's bill yours

If it ships to the phone, it is public.

Free Tech Shorts

A loose redirect rule handed your login to an attacker

Exact redirect URIs plus PKCE.

Free Tech Shorts

Forgot password became account takeover

A reset link is a password. Make it random, short-lived and single-use.

Free Tech Shorts

A bucket made public for testing leaked customer KYC

Private by default. Share with expiring links.

Free Tech Shorts

One public package name got into 35+ companies

Never let a public package shadow an internal name.

Free Tech Shorts

Inside the VPN, why isn't everything trusted?

Trust each request, not the network.

Free Tech Shorts

A correct comparison that still leaks the key

Compare secrets in constant time.

Free Tech Shorts

Encrypted in transit, at rest, end-to-end: who can read it?

Who holds the key decides who can read the data.

Free Tech Shorts

IP rate limit on, thousands of accounts still hacked

Limit per account, not just per IP.

Free Tech Shorts

The backdoor hidden in almost every Linux system

Trust in open source needs verification, not just reputation.

Free Tech Shorts

Searched cheap phone, found budget mobile

Embeddings match meaning, keywords match exact words. Use both.

Free Tech Shorts

The bot promised a refund the policy forbids

Bad chunks, bad answers. Split by meaning, not by size.

Free Tech Shorts

Why the LLM's JSON breaks sometimes

Never parse an LLM blindly. Schema, validate, retry.

Free Tech Shorts

Same prompt, different answer: why?

Low temperature for facts, higher for ideas.

Free Tech Shorts

In a long chat the AI forgot the start

Manage the context window: summarize, store, retrieve.

Free Tech Shorts

Users ruined a chatbot in one day

User input is untrusted, even when it's training data.

Free Tech Shorts

How do you measure an AI feature's accuracy?

No eval set, no prompt change.

Free Tech Shorts

Why send every question to the biggest model?

Right-size the model for every request.

Free Tech Shorts

The AI agent deleted tests to make CI green

Green CI from an agent is a claim. Read the diff.

Free Tech Shorts

Engineers pasted confidential code into a chatbot

A prompt to an external AI is data leaving your company.

Free Tech Shorts

How a vector DB finds the nearest in crores

Vector search is fast because it is approximate. Measure recall.

Free Tech Shorts

A deepfake video call took 25 million dollars

Verify payments out of band. Video is not identity.

Free Tech Shorts

A routine scaling job slowed AWS us-east-1 for hours

Retries and monitoring must survive the failure they handle.

Free Tech Shorts

A bank moved everyone in one weekend and it broke

Migrate in small steps you can undo.

Free Tech Shorts

A Mars mission lost to pounds vs newtons

Every number crossing an interface needs its unit.

Free Tech Shorts

A rocket lost to one number conversion

Reused code carries old assumptions. Re-check them.

Free Tech Shorts

A race condition in a radiation machine

Safety-critical systems need checks the software can't skip.

Free Tech Shorts

One unpatched library, 147 million people's data

You can't patch what you don't know you run.

Free Tech Shorts

29 February broke a cloud

Dates have edge cases. Use a library and test 29 February.

Free Tech Shorts

Year 2038: the next Y2K

2038 is a date bug you can test for today.

Free Tech Shorts

How did the form catch your card typo instantly?

A card's last digit checks the other fifteen.

Free Tech Shorts

Your card expired, yet the subscription renewed

Store a network token, not a card number.

Free Tech Shorts

Refund done, but the customer kept the cashback

Never edit money records, post linked reversals.

Free Tech Shorts

The bank took the money back three months later

A card payment is never final on day one.

Free Tech Shorts

One employee, fake refunds, lakhs gone

No single person should move money alone.

Free Tech Shorts

Daily interest: where does the fraction of a paisa go?

Keep full precision, round once, carry the rest.

Free Tech Shorts

Paid in dollars, settled in rupees: when is the rate locked?

Lock the rate in a quote with an expiry.

Free Tech Shorts

Why does the payment page say don't press back or refresh?

Trust the server-to-server webhook, never the browser.

Free Tech Shorts

What does the 3D Secure OTP page actually do?

3D Secure proves it's you and shifts fraud risk to the bank.

Free Tech Shorts

Why does your wallet have a monthly limit?

Wallet limits grow with proof of identity.

Free Tech Shorts

One card, three countries, two minutes

If the card moved faster than a plane, it isn't you.

Free Tech Shorts

Your EMI auto-debit failed. What happens next?

Read the reason code, then retry when money is likely there.

Free Tech Shorts

How do apps track 0.0013 grams of gold?

Store tiny quantities as whole numbers of a small unit.

Free Tech Shorts

A payment gateway went down, yet your payment succeeded

Route each payment to whichever gateway is succeeding right now.

Free Tech Shorts

Why do payment links expire in a few hours?

Sign the link and put the expiry inside the signature.

Free Tech Shorts

Why does cashback take 48 hours, not instantly?

The wait is a cooling period, not a slow system.

Free Tech Shorts

10,000 seller payouts, 37 failed. Now what?

Never retry a batch, retry the items.

Free Tech Shorts

How can a crypto exchange prove it holds your money?

A Merkle proof lets you check your own balance is counted.

Free Tech Shorts

Why companies don't store your card number

The safest card number is the one you never stored.

Free Tech Shorts

Round tax per item or on the total?

One rounding rule, everywhere, and allocate the leftover paisa.

Free Tech Shorts

How is a fake bank statement PDF caught?

Don't judge documents, fetch signed data from the source.

Free Tech Shorts

How did the loan app get your statement without your bank password?

Share data by signed consent, never by password.

Free Tech Shorts

Loyalty points expire after a year. How, for crores of users?

Store points in dated buckets, expire only what's due today.

Free Tech Shorts

Diwali sale: the payment API hits its rate limit

A rate limit is a contract: plan for it, then respect it.

Free Tech Shorts

What about fees on ₹1 micro-payments?

Combine many tiny payments into one real money movement.

Free Tech Shorts

10 lakh photos, yet the gallery scrolls smoothly

Render what's visible, recycle what scrolled away.

Free Tech Shorts

How are trending topics found in real time?

Count approximately in tiny memory, compare windows to spot spikes.

Free Tech Shorts

Count unique visitors among crores, without storing them all

HyperLogLog counts unique items in 12 KB with under 1% error.

Free Tech Shorts

The 'typing…' indicator across crores of chats

Some signals should live for seconds, not in a database.

Free Tech Shorts

1 lakh food orders at lunch, all at once

Split by a key that never crosses, buffer the burst with a queue.

Free Tech Shorts

10 lakh quiz answers in one second

Absorb the burst in a queue, write to the database in batches.

Free Tech Shorts

Why your live stream is 20 seconds behind

Smaller chunks, delivered the moment they exist, mean less delay.

Free Tech Shorts

Your photo uploads in a second, the safety check runs later

Reply fast, do the heavy work in a queue.

Free Tech Shorts

Why doesn't Google count results exactly?

When a number only needs to look right, estimate it.

Free Tech Shorts

Why a New posts button instead of auto refresh?

Push a tiny hint, let the user pull the heavy data.

Free Tech Shorts

Slow the first time, fast the second: cold start

Someone pays the cold start. Make sure it is not your customer.

Free Tech Shorts

CPU at 20%, yet the API is slow

Low CPU and high latency means requests are waiting, not working.

Free Tech Shorts

The server needs a restart every 3 days

A restart is a painkiller. A heap snapshot is the diagnosis.

Free Tech Shorts

One 30-second timeout froze the whole system

Every call gets the time that is left, never a fixed 30 seconds.

Free Tech Shorts

Stop one feature's problem from sinking the whole app

Give every dependency its own pool, so one leak cannot sink the ship.

Free Tech Shorts

Sending the same request twice made it faster?

Ask a second server when the first one is late. Take the first answer.

Free Tech Shorts

Write-behind cache: fast, until data vanishes

Write-behind buys speed with risk. Choose it only for data you can lose.

Free Tech Shorts

How do you cache a personal page on a CDN?

Cache the shared shell, add the personal part at the edge.

Free Tech Shorts

Turned on compression, server CPU hit 100%

Compress once at build time, compress lightly at request time.

Free Tech Shorts

What did HTTP/2 change on one connection?

HTTP/2: many requests, one connection, interleaved frames.

Free Tech Shorts

Why did HTTP/3 move to UDP?

QUIC: a new transport built on UDP that survives network changes.

Free Tech Shorts

Why keep-alive makes your API faster

Handshakes cost round trips. Reuse connections.

Free Tech Shorts

Every request through one API gateway: bottleneck or must-have?

A thin, stateless, scaled-out gateway is a must-have, not a bottleneck.

Free Tech Shorts

One page, data from 50 services

Fan out in parallel, set a deadline, return what you have.

Free Tech Shorts

Batch or stream processing: which one when?

Ask how stale the answer can be. That picks batch or stream.

Free Tech Shorts

Why is Kafka so fast?

Kafka is fast because it avoids work, not because of magic hardware.

Free Tech Shorts

1 crore messages stuck in the queue

Watch lag, scale consumers up to the partition count, and make each one faster.

Free Tech Shorts

VIP orders first, but normal orders must never get stuck

Priority needs a floor: weighted shares or aging, never pure VIP-first.

Free Tech Shorts

One bad message stopped the entire queue

Retry a few times, then park it in a dead letter queue and move on.

Free Tech Shorts

When does Kafka guarantee message order?

Kafka orders per partition. Pick the key by what must stay in order.

Free Tech Shorts

Why must Indian users' data stay in India?

Home region per user, route every request there, replicate only global data.

Free Tech Shorts

Checking login at the CDN edge

Stateless checks at the edge, stateful decisions at the origin.

Free Tech Shorts

A year in review for crores of users on one day

If the answer is fixed by a date, compute it before that date.

Free Tech Shorts

MapReduce in 60 seconds

Map in parallel, shuffle by key, reduce each group.

Free Tech Shorts

Why only 1% of logs get stored

Sample after you know the outcome: keep every error, a slice of the rest.

Free Tech Shorts

One long transaction froze the whole app

Short transactions and lock_timeout keep one query from freezing all.

Free Tech Shorts

Same data, but the Postgres disk keeps growing

In Postgres every update leaves garbage, and vacuum must keep up.

Free Tech Shorts

Why doesn't reading block writing?

MVCC: readers see a snapshot, writers write a new version.

Free Tech Shorts

Added indexes, and writes got slow

Every index is a tax on every write.

Free Tech Shorts

Answering a query without touching the table

If the index has every column, the table is never read.

Free Tech Shorts

Why is LIKE '%shoe%' so slow?

A leading wildcard defeats a B-tree. A trigram index brings it back.

Free Tech Shorts

When a full table scan beats the index

Index for rare values, full scan for common ones.

Free Tech Shorts

Partitioning vs sharding: the interview answer

Partition inside one server. Shard across many.

Free Tech Shorts

Why big companies drop foreign keys

At scale, integrity moves from the database to the application.

Free Tech Shorts

Business logic in the database or in the app?

Rules that protect data go in the DB. Workflows go in the app.

Free Tech Shorts

10,000 connections and Postgres fell over

Share a few real connections through a pooler, not a pool per pod.

Free Tech Shorts

MongoDB has no schema, so why schema bugs?

Schemaless means the schema hides in your code. Enforce it.

Free Tech Shorts

Shopping cart: SQL or a document DB?

Model data by how it is read and written, not by habit.

Free Tech Shorts

Why is friends of friends slow in SQL?

SQL pays a join per hop, graphs follow pointers, both need limits.

Free Tech Shorts

How DynamoDB finds one item among billions

Partition key spreads the load, sort key orders the data.

Free Tech Shorts

One table for the whole app?

In single-table design, access patterns come first, schema second.

Free Tech Shorts

Data that deletes itself

Let data expire with TTL and compaction, not nightly mass deletes.

Free Tech Shorts

The backup starts and the app slows down

Back up from a replica, copy files, and test the restore.

Free Tech Shorts

A wrong UPDATE at 3:14 PM. Rewind to 3:13

Base backup plus archived WAL lets you rewind to any minute.

Free Tech Shorts

Does encrypting the database make it slow?

Encryption at rest is cheap. Key management is the real work.

Free Tech Shorts

Why analytics flies on a column store

Read only the columns you need, compressed. That is the column store trick.

Free Tech Shorts

Which index for state or gender columns?

Few distinct values? Bitmaps and a bitwise AND.

Free Tech Shorts

Star schema: how data warehouses are shaped

Facts hold the numbers. Dimensions hold the context.

Free Tech Shorts

ETL or ELT? Why the order flipped

Load raw, transform in the warehouse, mask what is sensitive.

Free Tech Shorts

The customer moved. What about old orders?

Don't overwrite history. Version it.

Free Tech Shorts

Same customer, five times in the database

Normalize, block, match, merge, and keep the links.

Free Tech Shorts

Insert or update, in one query

Don't check then insert. Let a unique key and an upsert decide.

Free Tech Shorts

How does a database detect a deadlock?

A deadlock is a cycle in the wait-for graph. Lock in one order.

Free Tech Shorts

The table hit 2 TB. Where does old data go?

Keep hot data close, move cold data to cheap storage.

Free Tech Shorts

NOT IN returned nothing at all

One NULL in a NOT IN list returns zero rows. Use NOT EXISTS.

Free Tech Shorts

Ordered today, but the invoice says yesterday

Store UTC, keep the zone name, convert only at the edge.

Free Tech Shorts

Money in a FLOAT column, and ₹958 appear from nowhere

Money is never a float. Use DECIMAL or integer paise.

Free Tech Shorts

A viral video, one views counter, a choking database

Count in memory, write to the database in batches.

Free Tech Shorts

Thousands of pages match. Which one comes first?

Rare words, saturated counts, short pages: that's BM25.

Free Tech Shorts

Keyword search or vector search? Use both.

Keywords for exact terms, vectors for meaning, RRF to merge.

Free Tech Shorts

How do 1,000 servers know who is alive?

Tell a few random peers, and the news reaches everyone.

Free Tech Shorts

The server was alive, but got declared dead

Silent is not dead: tune timeouts and fence the old leader.

Free Tech Shorts

R + W > N: why a read always sees the latest write

If R + W > N, every read overlaps the latest write.

Free Tech Shorts

Which update came first, without trusting clocks?

Vector clocks tell 'happened before' from 'at the same time'.

Free Tech Shorts

Why the confirmation needs a confirmation, forever

No protocol makes both sides certain. Design for retries.

Free Tech Shorts

What if one server lies?

To survive f liars, you need 3f + 1 nodes.

Free Tech Shorts

How Raft keeps the same data on every server

Once a majority has it, it is committed, and it is never lost.

Free Tech Shorts

What are ZooKeeper and etcd actually for?

Use etcd or ZooKeeper for agreement, not for app data.

Free Tech Shorts

A new server comes up. How do the others find it?

Instances register, the registry checks health, callers look up.

Free Tech Shorts

Why does every service get a sidecar?

Put network rules in a sidecar, not in fifty codebases.

Free Tech Shorts

One request, 20 services. Where was it slow?

One trace ID across every service shows where the time went.

Free Tech Shorts

Running new logic on 1 crore old rows

Backfill in small, throttled, resumable, idempotent batches.

Free Tech Shorts

Orchestration or choreography?

Events for simple reactions, an orchestrator for long business flows.

Free Tech Shorts

Replacing a monolith without switching it off

Replace it route by route behind a proxy, never in one big bang.

Free Tech Shorts

Microservices made the team slower

If services must deploy together, they are really one service.

Free Tech Shorts

Changing an API without breaking old apps

Add, never rename. Break only with a new version.

Free Tech Shorts

The event format changed, and consumers broke

Register every schema, and let the registry reject breaking changes.

Free Tech Shorts

Release a feature to 1% of users, then 100%

Deploy dark, release by percentage, keep a kill switch.

Free Tech Shorts

The canary caught the bug in 5 minutes

Small slice, live comparison, automatic rollback.

Free Tech Shorts

Test a new system on real traffic, invisibly

Mirror real traffic, discard the shadow's answer, diff the results.

Free Tech Shorts

One big customer, and everyone else slows down

Limit per tenant, queue fairly, isolate the giants.

Free Tech Shorts

An outage that hit only 5% of users

Split into cells, so one failure hits a few, not everyone.

Free Tech Shorts

How does your app reach the nearest region?

GeoDNS or anycast sends each user to the nearest healthy region.

Free Tech Shorts

Copying data across continents: sync or async?

Sync costs latency, async risks recent writes. Choose per data.

Free Tech Shorts

50 servers, 50 local caches, one price changed

Broadcast deletes to every server, keep a short TTL as backup.

Free Tech Shorts

Token bucket vs leaky bucket: who handles bursts?

Token bucket allows bursts, leaky bucket smooths them.

Free Tech Shorts

Recommendations are down, but the page still opens

Optional features must fail quietly, not take the page down.

Free Tech Shorts

Timeout, retry, idempotency: why you need all three

Timeout, then retry with backoff, always with an idempotency key.

Free Tech Shorts

Why is consensus so slow?

A quorum buys safety with latency on every write.

Free Tech Shorts

How do servers agree on the time?

Clocks drift. Sync them with NTP, or PTP when microseconds matter.

Free Tech Shorts

Open the case, earbuds connect. How?

Pairing creates the key, bonding saves it for instant reconnects.

Free Tech Shorts

20 devices on one router, how?

Old Wi-Fi takes turns. Wi-Fi 6 shares each turn.

Free Tech Shorts

What actually changed from 4G to 5G?

5G is new spectrum, wider channels, smart beams and a cloud core.

Free Tech Shorts

You ported your number. How do calls find you?

After porting, a database lookup decides the route, not the prefix.

Free Tech Shorts

How does Gmail's Unsubscribe button work?

The safe Unsubscribe button is a header plus a one-click POST.

Free Tech Shorts

How does Google Docs keep every version?

Store the changes, snapshot sometimes, rebuild any version.

Free Tech Shorts

1 GB file, one line changed, synced in seconds

Hash the blocks and send only the ones that changed.

Free Tech Shorts

How does a torrent work without a server?

Small verified pieces, shared by everyone, found through a DHT.

Free Tech Shorts

How does YouTube make captions automatically?

Audio to spectrogram, model to words, timestamps to captions.

Free Tech Shorts

How do camera filters run live?

A filter is a shader: one tiny program run on every pixel in parallel.

Free Tech Shorts

How does your phone know the battery percentage?

Battery % is an estimate: counted current, corrected by voltage.

Free Tech Shorts

Where does your fingerprint actually go?

No photo is stored: a template in secure hardware just says yes or no.

Free Tech Shorts

How does a metro card work without a battery?

The reader's field powers the card. No battery needed.

Free Tech Shorts

Barcode vs QR code: what's the real difference?

A barcode is a number to look up. A QR code carries the data itself.

Free Tech Shorts

How does your phone copy text from a photo?

OCR = clean, detect, read, correct.

Free Tech Shorts

How does an app know a number is spam?

A spam label is a score: crowd reports plus calling patterns.

Free Tech Shorts

Is your phone always listening for 'Hey Google'?

The phone listens on device only for the wake word. Real listening starts after it.

Free Tech Shorts

You downloaded it, so why can't you copy it?

You download a locked box. The key lives in hardware and expires.

Free Tech Shorts

How do banking apps block screenshots?

One window flag hides your screen from capture, not from a camera.

Free Tech Shorts

What does Incognito mode actually hide?

Incognito hides your trail on your device, not on the network.

Free Tech Shorts

Is saving passwords in your browser safe?

Saved passwords are locked by a key your OS guards. Malware is the real risk.

Free Tech Shorts

Sign in without giving your real email?

A random address per app, a relay that forwards, and an off switch.

Free Tech Shorts

Your phone asks 'Is this you?'. How does that work?

Approve signs a challenge with a key in your phone. Number matching stops blind taps.

Free Tech Shorts

How does WhatsApp build a link preview?

Link previews come from Open Graph tags, read by the sender's app.

Free Tech Shorts

Google Maps navigation without internet: how?

Offline maps = GPS + vector tiles + a road graph routed on your phone.

Free Tech Shorts

Why does the cab glide smoothly on your map?

Interpolate between updates, predict through the gaps.

Free Tech Shorts

How does a food app predict 32 minutes?

ETA = predicted prep + ride + doorstep, updated live.

Free Tech Shorts

Who rides with you in a shared cab?

Insert the new rider where the total detour is smallest.

Free Tech Shorts

Where does 'WL 24, 82% chance' come from?

A confirmation chance is history turned into probability.

Free Tech Shorts

How does a smartwatch read your pulse with light?

Each heartbeat dims the light. The watch counts the dips.

Free Tech Shorts

How does ball tracking predict an LBW?

Many 2D views, triangulated, give one 3D path.

Free Tech Shorts

How does a video call blur only your background?

A per-pixel person mask decides what stays sharp.

Free Tech Shorts

How do earbuds erase engine noise?

Noise + its exact opposite = silence, if the timing is perfect.

Free Tech Shorts

Why doesn't a 2x voice note sound squeaky?

Overlap small chunks to change speed, not pitch.

Free Tech Shorts

How does JPEG shrink a photo 10x?

Throw away the detail your eyes would never miss.

Free Tech Shorts

How is MP3 11x smaller and still sounds the same?

MP3 deletes the sounds your ears would never notice.

Free Tech Shorts

How is video compressed 300x?

Store a few full frames, predict the rest with motion.

Free Tech Shorts

Why does the same emoji look different on every phone?

You send a code point. The receiver's font draws it.

Free Tech Shorts

Why is the "length" of Hindi text wrong?

Count what users see: grapheme clusters, not code units.

Free Tech Shorts

How does autocorrect guess what you meant?

Closest spelling plus likeliest word in context wins.

Free Tech Shorts

Logged in as you, without stealing anything

New login, new session ID. Always.

Free Tech Shorts

A JWT with no signature, accepted as admin

The server picks the algorithm, never the token.

Free Tech Shorts

One CORS setting that leaks user data

Allowlist exact origins. Never echo Origin with credentials.

Free Tech Shorts

One XML upload leaks the server's files

Turn off external entities. Parsers should never open files.

Free Tech Shorts

A name field that runs code on the server

Templates are code. User input must only ever be data.

Free Tech Shorts

One extra field made a user admin

Copy only allowlisted fields from the request.

Free Tech Shorts

1,000 password reset emails in one minute

Any endpoint that sends messages needs per-target limits.

Free Tech Shorts

An old DNS record gave away your subdomain

Delete the DNS record first, the resource second.

Free Tech Shorts

A real bank link that leads to a fake page

Redirect only to paths you know, never to user-given URLs.

Free Tech Shorts

A temporary link to a private file

A signed URL is a password for one file, with an expiry.

Free Tech Shorts

Your admin panel is open to the whole internet

Admin tools should be unreachable, not just hidden.

Free Tech Shorts

CAPTCHA added, bots still getting in

Score every request, challenge only the risky ones.

Free Tech Shorts

Uber 2022: hacked by one tired 'Approve'

An Approve button alone is not enough. Require number matching.

Free Tech Shorts

A stolen cookie hijacked a giant YouTube channel

Protect the session, not just the login.

Free Tech Shorts

Codecov 2021: one line in a CI script

Pin and verify every script your CI runs.

Free Tech Shorts

One small function had admin access

Give every function only what it needs, nothing more.

Free Tech Shorts

One flag gave the container the whole server

A privileged container is root on the host.

Free Tech Shorts

Your Kubernetes Secret is not encrypted

Base64 hides nothing. Encrypt Secrets at rest.

Free Tech Shorts

Your JWT secret was secret123

A guessable JWT secret makes anyone an admin.

Free Tech Shorts

Your reset link leaked through the Referer header

Secrets in URLs leak. Set Referrer-Policy and expire them fast.

Free Tech Shorts

The vendor's 'new bank account' email

Bank detail changes are verified by phone, not by email.

Free Tech Shorts

What a WAF blocks, and what it never will

A WAF stops known patterns, not broken logic.

Free Tech Shorts

Pentest or bug bounty, which one when?

Pentest for depth, bounty for breadth, disclosure policy first.

Free Tech Shorts

Security headers every site should send

Headers are cheap; a missing CSP can cost you every card.

Free Tech Shorts

HTTPS site, yet the attacker kept you on HTTP

HTTPS needs HSTS, and HSTS needs preload.

Free Tech Shorts

How banking apps survive a fake WiFi

Trust the bank's own key, not every authority.

Free Tech Shorts

Why banking apps refuse rooted phones

Never trust the phone's own answer; verify a signed verdict on the server.

Free Tech Shorts

Change the encryption key on crores of records

Encrypt data with data keys, and data keys with one master key.

Free Tech Shorts

Hashing, encryption, encoding: what's the difference?

Encode for format, encrypt for secrets, hash passwords.

Free Tech Shorts

An employee copied the whole customer database

Log every read, watch every exit, grant access just in time.

Free Tech Shorts

Real customer data in your test database?

Test with masked data, never with real customers.

Free Tech Shorts

Analytics without seeing anyone's data

Add calibrated noise so no single person changes the answer.

Free Tech Shorts

Sneakers sold out in seconds, to bots

When speed is the weakness, remove speed from the game.

Free Tech Shorts

One click to log into anyone's Facebook

Encrypt every request, because the cookie is the login.

Free Tech Shorts

Open databases wiped and held for ransom

Secure by default, because someone is always scanning.

Free Tech Shorts

A chatbot agreed to sell a car for $1

Let the bot talk, never let it decide.

Free Tech Shorts

How does an AI answer show its sources?

No source, no trust. Cite every claim and check the cite.

Free Tech Shorts

Top 50 chunks, room for 5: reranking

Retrieve wide and cheap, then rerank narrow and smart.

Free Tech Shorts

Why does a Hindi prompt cost more than English?

You pay per token, not per word, and Hindi needs more tokens.

Free Tech Shorts

How does an AI search the web mid-answer?

The model asks, your app acts, then the model answers.

Free Tech Shorts

How does an AI remember what you said yesterday?

Models forget; memory is extract, store and retrieve.

Free Tech Shorts

Slow first word, then fast: prefill vs decode

Prompt length sets the wait, answer length sets the stream.

Free Tech Shorts

What is the KV cache, and why does it eat memory?

The KV cache trades memory for speed; GQA and paging cut the bill.

Free Tech Shorts

Run a 70B model on a laptop

Fewer bits per weight, same model, a fraction of the memory.

Free Tech Shorts

A small model as smart as a big one

Train the small model on the big model's full answers, not just the right one.

Free Tech Shorts

How did fine-tuning get so cheap?

Freeze the giant, train two thin matrices.

Free Tech Shorts

New embedding model, and every vector became useless

Query and documents must share one embedding model.

Free Tech Shorts

How do you stop an AI from leaking personal data?

Filter PII going in, filter it coming out.

Free Tech Shorts

Teaching an AI to say "I don't know"

A confident wrong answer costs more than "I don't know".

Free Tech Shorts

Lawyers fined for AI's fake court cases

Never trust a citation that nothing has verified.

Free Tech Shorts

Many AI agents: who does what?

One planner, many focused workers, short summaries back.

Free Tech Shorts

What is MCP, the USB-C port for AI?

Wrap a tool once, and every AI app can use it.

Free Tech Shorts

What to put in the prompt, and what to leave out

The smallest context that holds the right facts wins.

Free Tech Shorts

AI wrote the code. Who checks the security bugs?

Treat AI code like a new intern's code: scan it, review it.

Free Tech Shorts

The "grandma" trick that jailbroke chatbots

Judge the intent, not the framing, and check the output too.

Free Tech Shorts

When should a bot hand over to a human?

Know your limits, and hand over with full context.

Free Tech Shorts

How does a voice AI stop when you interrupt it?

Keep listening while speaking, stop the moment a human talks.

Free Tech Shorts

Is this photo AI or real? Content Credentials

Don't guess if it's fake, prove where it came from.

Free Tech Shorts

Half-price AI calls with batch APIs

If nobody is waiting, batch it and pay half.

Free Tech Shorts

Fine-tuned model forgot what it already knew

Teach the new skill, but keep testing the old ones.

Free Tech Shorts

Training an AI on data made by another AI

Generate, filter hard, and always test on real data.

Free Tech Shorts

What do you recommend to a brand new user?

No history? Use context, ask, then explore.

Free Tech Shorts

Is the new AI model really better? Test it live

Benchmarks shortlist, live A/B tests decide.

Free Tech Shorts

250 poisoned documents can backdoor an AI model

Whatever a model learns from is an attack surface.

Free Tech Shorts

When AI trains on AI, it slowly collapses

Never let real human data leave the training mix.

Free Tech Shorts

On-device AI or cloud AI?

Small and private on device, big and hard in the cloud.

Free Tech Shorts

Why does speech-to-text get Hinglish wrong?

Mixed speech needs mixed training data.

Free Tech Shorts

Is it safe to let an AI agent control your browser?

Limit what the agent can reach, confirm what it can't undo.

Free Tech Shorts

Your long system prompt is billed every single time

Stable first, changing last, and let the cache pay.

Free Tech Shorts

One AI provider is down, and your app keeps running

Never let one provider be a single point of failure.

Free Tech Shorts

Docker builds from minutes to seconds

Order layers from least to most frequently changed.

Free Tech Shorts

Docker image from 2 GB to tens of MB

Build in a big image, ship a tiny one.

Free Tech Shorts

Liveness vs readiness probe: the real difference

Readiness controls traffic, liveness controls restarts.

Free Tech Shorts

Pod OOMKilled: why it keeps restarting

Memory limits are a hard wall, size the app to fit inside.

Free Tech Shorts

Why is the autoscaler always late?

Autoscalers react; for known spikes, scale ahead.

Free Tech Shorts

CrashLoopBackOff: why does your pod keep restarting?

CrashLoopBackOff is the symptom. The previous logs hold the cause.

Free Tech Shorts

You changed the ConfigMap. Why is the app still on the old config?

Changing config is not enough. New config needs new pods.

Free Tech Shorts

Someone changed a server from the console. Terraform has no idea.

If a change is not in code, it is drift waiting to hurt you.

Free Tech Shorts

Two engineers run terraform apply at the same time

One state, one writer at a time. That is what the lock guarantees.

Free Tech Shorts

CI from 40 minutes to 8 minutes

Don't redo work CI already did, and don't run in a line what can run side by side.

Free Tech Shorts

A flaky test blocked the urgent deploy

Quarantine the flaky test today, fix its root cause this week.

Free Tech Shorts

Monorepo or polyrepo?

Put code together when it changes together.

Free Tech Shorts

Why can version 2 break your app?

A version number is a promise. A lockfile is your insurance.

Free Tech Shorts

Logs, metrics, traces: why do you need all three?

Metrics tell you what, traces tell you where, logs tell you why.

Free Tech Shorts

500 alerts a night for the on-call engineer

Page on user pain, not on machine noise.

Free Tech Shorts

What is an error budget?

100% is the wrong target. Spend the budget, then fix reliability.

Free Tech Shorts

An engineer took production down. Do you blame them?

Ask what made the mistake easy, not who made it.

Free Tech Shorts

A full disk took production down

Rotate logs, alert on the trend, and never share a disk with your database.

Free Tech Shorts

You moved servers, but users still go to the old IP

Lower the TTL a day before the move, not on the day of the move.

Free Tech Shorts

One expired certificate took a whole service down

If a human has to remember the renewal, it will eventually be forgotten.

Free Tech Shorts

Cron inside your container sent every invoice three times

Schedule jobs with the platform, and make the job safe to run twice.

Free Tech Shorts

Blue-green deploy with a database migration

Expand first, switch, and contract only when nobody needs the old shape.

Free Tech Shorts

The biggest line on the cloud bill: NAT gateway

In the cloud, the path your bytes take is a cost decision.

Free Tech Shorts

Up to 90% cheaper servers that can vanish anytime

Design for the interruption, and spot becomes cheap capacity instead of a risk.

Free Tech Shorts

Why is the serverless function slow on the first call?

Make init cheap, reuse what you built, and pay to keep warm only where it matters.

Free Tech Shorts

Do you really need multi-cloud?

Go multi-region first. Go multi-cloud only for a reason you can name.

Free Tech Shorts

The company had backups, and still lost everything

A backup you cannot restore, or that an attacker can delete, is not a backup.

Free Tech Shorts

Why would anyone break their own servers on purpose?

Break it on purpose in daylight, so it doesn't break by surprise at night.

Free Tech Shorts

Config in Git, cluster syncs itself: GitOps

Git says what should run. An agent makes the cluster match, all the time.

Free Tech Shorts

Rotate every secret every 30 days, without downtime

Rotation is safe when the old and new secret overlap for a while.

Free Tech Shorts

Slack, 4 January 2021: everyone came back from holidays at once

If you know the spike is coming, scale before it arrives.

Free Tech Shorts

Akamai, July 2021: one config update, websites down worldwide

Treat config like code: validate it, test it, roll it out in stages.

Free Tech Shorts

Google Cloud, June 2025: one blank field, errors worldwide

New code ships switched off. A flag turns it on slowly.

Free Tech Shorts

Azure Front Door, October 2025: one config change, global blast radius

Every change must be able to break only a small part of the world.

Free Tech Shorts

AWS us-east-1, October 2025: a race between two automations

Check the version at the moment you write, not before.

Free Tech Shorts

Reddit went down for 314 minutes on Pi Day

Test every upgrade on a production-like cluster first.

Free Tech Shorts

How stolen OAuth tokens opened private GitHub repos

A third-party token is a password. Scope it, expire it, watch it.

Free Tech Shorts

How an engineer's home computer led to the LastPass breach

Critical keys only on managed devices, never one password away.

Free Tech Shorts

How a support file leaked Okta customers' sessions

Never share a HAR file before stripping its cookies and tokens.

Free Tech Shorts

How hackers tweeted from Obama's and Musk's accounts

Protect internal admin tools like production itself.

Free Tech Shorts

Optus: the API that never asked who you are

Every endpoint authenticates by default. No exceptions you forgot about.

Free Tech Shorts

37 million accounts leaked through one API

Watch what your API returns, not just whether it errors.

Free Tech Shorts

Toyota car location data, public for ten years

Misconfiguration is the breach. Scan for it continuously.

Free Tech Shorts

One shared link exposed 38 TB of Microsoft data

A link is a key. Scope it, expire it, be able to revoke it.

Free Tech Shorts

How Facebook's logs ended up with plain text passwords

Your logs are a database too. Never let secrets into them.

Free Tech Shorts

22 lines of JavaScript stole British Airways cards

Your payment page is only as safe as every script on it.

Free Tech Shorts

Polyfill.io: one domain sold, 100,000 sites infected

A script from someone else's domain is someone else's code on your site.

Free Tech Shorts

Why a Boeing 787 had to be restarted every 248 days

Every counter has a limit. Make it unreachable or handle it.

Free Tech Shorts

A 0.34 second clock error that cost 28 lives

Never accumulate decimal fractions. Count integers of the smallest unit.

Free Tech Shorts

Why some GPS devices jumped back to 1999

A counter that wraps needs a rule to know which lap it is on.

Free Tech Shorts

Why does the page jump while it loads?

Reserve the space before the content arrives.

Free Tech Shorts

Why is your React app a 5 MB download?

Ship only the code the current screen needs.

Free Tech Shorts

Why do images load only when you scroll?

Load what the user sees now. Fetch the rest just before they need it.

Free Tech Shorts

How did the website open without internet?

A service worker sits between your page and the network.

Free Tech Shorts

Why do websites use server rendering for SEO?

If the content is in the first HTML, every crawler can see it.

Free Tech Shorts

What does a hydration error actually mean?

The first render must be identical on server and browser.

Free Tech Shorts

Why doesn't the search box call the API on every letter?

Debounce waits for the pause. Throttle limits the rate.

Free Tech Shorts

"Update the app or it won't open." How does that work?

The server decides which app versions may still run.

Free Tech Shorts

How an app goes from 200 MB to 40 MB

Ship each phone only what that phone needs.

Free Tech Shorts

The app is closed. So how did the notification arrive?

One shared connection per phone, owned by the OS, not your app.

Free Tech Shorts

How a link opens straight inside the app

One https link: the app if installed, the website if not.

Free Tech Shorts

Works offline, syncs the moment you are back online

Write locally, queue the change, sync it safely later.

Free Tech Shorts

Why does a dark mode page flash white for a moment?

Decide the theme before the first paint, not after.

Free Tech Shorts

How does a blind user use your app?

Screen readers read your HTML's meaning, not its pixels.

Free Tech Shorts

Turn off a broken feature without an app update

Wrap risky features in a remote flag before you ship.

Free Tech Shorts

Upgraded from ₹499 to ₹999 on the 15th. What is the bill?

Credit the unused days, charge the new plan for the days left, keep the date.

Free Tech Shorts

Card payment on a flight with no network. Who said approved?

Offline, the chip approves on the bank's behalf, within strict limits.

Free Tech Shorts

Billing every second of usage. How is no event counted twice or missed?

Unique event IDs, dedup on arrival, and a window before the bill is final.

Free Tech Shorts

Same card, 20 free trials. How do you catch it?

Identify the card and the device, not the email.

Free Tech Shorts

You paid, the seller gets it after delivery. Where is the money meanwhile?

The buyer's money waits in escrow until the order is fulfilled.

Free Tech Shorts

Subscribed on 31 January. When does February renew?

Store the anchor day, clamp it to the month's last day.

Free Tech Shorts

1 crore subscribers billed on the 1st at once. Will billing survive?

Spread billing across the month instead of one midnight.

Free Tech Shorts

The price went up. What do old subscribers pay?

Never edit a price. Create a new version and move people deliberately.

Free Tech Shorts

Prepaid balance runs out mid-call. How is it cut instantly?

Reserve a slice, use it, report it, ask again. No slice, no call.

Free Tech Shorts

GST changes at midnight. Which rate for the 11:59 order?

Store tax rules with dates, and freeze the applied rate on the order.

Free Tech Shorts

A mistake on an invoice. Why can't the company just edit it?

Never edit an issued invoice. Correct it with a new document.

Free Tech Shorts

18% and 5% items on one bill, ₹200 off. Which item gets the discount?

Split the discount by value before tax, and give the leftover paise to one line.

Free Tech Shorts

How does a streaming company know which country's tax to charge you?

Collect several location signals, and charge where two of them agree.

Free Tech Shorts

The bank's night batch is running, yet UPI works. Whose balance is that?

While the core is busy, approve against a shadow balance and post later.

Free Tech Shorts

50 fake accident claims, all under different names. How are they caught?

Fraud hides in single records and shows up in the links between them.

Free Tech Shorts

The same damaged car photo in 10 different claims

Hash what the image looks like, not its bytes.

Free Tech Shorts

A policy error fixed 3 months later. What did we know then?

Keep when a fact was true and when you learned it.

Free Tech Shorts

Karvy 2019: a broker pledged its clients' shares for loans

Client assets stay in the client's account. Every pledge needs the client's OTP.

Free Tech Shorts

One trader's loss ate the broker's own money

Check margin before the trade, watch losses every tick, close before it goes negative.

Free Tech Shorts

₹1 typed instead of ₹1,000. How is a fat-finger order stopped?

Every order passes limits it cannot argue with: value, quantity and price band.

Free Tech Shorts

A 1:5 share split. Why doesn't the chart show an 80% crash?

Adjust history by the corporate action factor, so prices stay comparable.

Free Tech Shorts

One packet of the price feed is lost. Is the order book now wrong?

Number every message, detect gaps, and rebuild from a snapshot when needed.

Free Tech Shorts

NSE co-location: some brokers got market data first

Fair data means everyone gets the same packet at the same time.

Free Tech Shorts

Bought the same share 5 times, sold twice. Profit at which price?

Track every buy as a lot, and sell the oldest lot first.

Free Tech Shorts

Mutual fund order at 2:59 PM, yet not today's NAV. Why?

You never buy at a known price, and the clock stops when the money arrives.

Free Tech Shorts

Live P&L for 1 crore portfolios on every tick?

Stream shared data. Compute personal numbers on the device.

Free Tech Shorts

Six loans in one week, and no app knew?

Loans show up late. Inquiries show up at once.

Free Tech Shorts

Half your EMI arrived. What gets paid first?

Partial payments follow a fixed waterfall, not a guess.

Free Tech Shorts

Stolen card, wallet load, cash out. How do you stop it?

Money goes back the way it came in.

Free Tech Shorts

Half gift card, half card, one item returned. Where does the refund go?

Track refunds per payment method, and cap each at what it paid.

Free Tech Shorts

Crypto deposit credited, then the transaction vanished

Seen on chain is not final. Wait for confirmations.

Free Tech Shorts

Exchange hacked, yet 95% of coins safe. How?

Keep little online, and never let one key move the rest.

Free Tech Shorts

One crypto withdrawal stuck, and every one behind it too

One stuck nonce blocks the queue. Replace it with a higher fee.

Free Tech Shorts

Borrow crores, move the price, repay, in one transaction

Never trust a price that one transaction can move.

Free Tech Shorts

The seller defaulted, yet the shares reached your demat. How?

The clearing house becomes everyone's counterparty.

Free Tech Shorts

10,000 fake clicks on your ads. Who pays?

Filter invalid clicks before billing, credit the rest after.

Free Tech Shorts

Ad budget ₹1,000 a day, spent ₹1,500. How?

Spend is counted late, so lease and pace the budget.

Free Tech Shorts

You bid ₹50 for an ad, but paid only ₹31. Why?

Win with your bid, pay the next one.

Free Tech Shorts

Two ad networks claim the same install. Who gets paid?

One referee, one window, one winner per install.

Free Tech Shorts

Vendor sent the same invoice twice, and both got paid

Pay only what was ordered and received, and only once.

Free Tech Shorts

₹1 lakh from the US: 3 days, and banks took fees. Why?

Cross border money hops through accounts banks hold with each other.

Free Tech Shorts

₹50,000 arrived in the bank, but from whom?

Give every payer their own account number.

Free Tech Shorts

20 deposits of ₹49,000, just under the limit. How does the bank catch it?

Judge the pattern over a window, not each deposit alone.

Free Tech Shorts

Fraud money moved through 40 accounts in 2 minutes

Mules move money fast. Watch the flow, not one account.

Free Tech Shorts

Sanctions check on every payment, but the spelling is different

Match names by sound and similarity, not exact spelling.

Free Tech Shorts

Is the seller's bank account real? Check without asking

Verify the account and the name before the first payout.

Free Tech Shorts

"Enter UPI PIN to receive money", and the account is empty

A PIN only ever sends money. Never enter it to receive.

Free Tech Shorts

Someone quietly edited an old ledger entry. How do you catch it?

Chain every entry to the last, and anchor the latest hash outside.

Free Tech Shorts

Books closed for the month, then a back-dated entry arrived

Closed periods stay closed. Late entries go in the open period.

Free Tech Shorts

A bot made 10,000 payments of ₹1 at your checkout

Watch declines, cap BINs, and add friction for bots.

Free Tech Shorts

Load test said 10 ms, production said 2 seconds

Send load on a schedule, not after each reply.

Free Tech Shorts

Fine at 70% CPU, 10x slower at 90%

Near full utilization, waiting explodes. Keep headroom.

Free Tech Shorts

1,000 requests a second, 200 ms each: how many workers?

Requests in flight = arrival rate × time inside.

Free Tech Shorts

Doubled the servers, throughput went down

Past a point, coordination costs more than new servers add.

Free Tech Shorts

Why Facebook serves the newest request first under overload

Under overload, drop the stale and serve the fresh.

Free Tech Shorts

A concurrency limit that sets itself

Let latency decide how much concurrency a server can take.

Free Tech Shorts

Rate limit of 100 a second, and the server still died

Rate limits count arrivals. Concurrency limits protect capacity.

Free Tech Shorts

Consistent hashing, yet one cache server got 3x load

Give every server a cap, and let the overflow move to the next one.

Free Tech Shorts

One customer's bad requests took down every server

Give every customer its own random mix of servers.

Free Tech Shorts

The load balancer can't see every load, yet picks well

Pick two at random, send to the less busy one.

Free Tech Shorts

A 10 lakh row CSV export killed the pod

Stream big exports: read a little, send a little, repeat.

Free Tech Shorts

Random 502s with nothing in the logs

The backend must keep idle connections open longer than the load balancer.

Free Tech Shorts

10 gRPC pods, all traffic on just 2

gRPC needs balancing per request, not per connection.

Free Tech Shorts

A 10 Gbps load balancer serving 100 Gbps of video

Let requests pass through the balancer and responses go around it.

Free Tech Shorts

CPU and memory are free, but no new connections

Every outgoing connection spends a port. Reuse connections, don't burn them.

Free Tech Shorts

Exactly 40 ms extra on every small request

Small writes and delayed ACKs wait for each other. Set TCP_NODELAY.

Free Tech Shorts

Why a page is slow on a fresh connection

The first round trip carries about 14 KB. Make it count.

Free Tech Shorts

How video stays fast on a lossy network

Loss isn't always congestion. Measure the pipe instead of guessing.

Free Tech Shorts

Mumbai to a US server: 10 API calls, 2 seconds

Latency is round trip time multiplied by round trips. Cut the trips.

Free Tech Shorts

Why ending TLS near the user makes pages fast

Do the handshakes on the short hop, keep the long hop warm.

Free Tech Shorts

300 CDN servers, one cache miss each, origin down

Put one cache layer between hundreds of edges and your origin.

Free Tech Shorts

The origin is down, but the website still works

A slightly old page beats an error page.

Free Tech Shorts

Lakhs of requests for a product that doesn't exist

Cache the 'not found' too, just for a short time.

Free Tech Shorts

Cache hit rate 99% to 98%, database load doubled

Watch the miss rate, not the hit rate.

Free Tech Shorts

One nightly report wiped out the hot cache

A cache should keep what is used often, not just what was used last.

Free Tech Shorts

One 50 MB Redis key froze every request

On single-threaded Redis, one big key blocks everyone.

Free Tech Shorts

16 Nginx workers, but only two do all the work

One shared socket picks favourites. A socket per worker spreads the load.

Free Tech Shorts

Cache a dynamic page for just 1 second, survive 10x traffic

Even one second of caching turns thousands of page builds into one.

Free Tech Shorts

Two threads, two variables, still 10x slower on 64 cores

Separate variables can still share one cache line.

Free Tech Shorts

Same page, but only a 20% CDN hit rate

Normalize the cache key: drop tracking params, sort the rest.

Free Tech Shorts

JS cached for a year, yet users get the new version instantly

Never change a cached file. Change its name.

Free Tech Shorts

CPU at only 30%, yet p99 latency spikes in the container

Watch CPU throttling, not just CPU usage.

Free Tech Shorts

Java heap fixed at 2 GB, but the process ate 6 GB of RAM

Heap size is not process size; the allocator matters.

Free Tech Shorts

The dashboard showed the average of p99s. Why is it wrong?

Percentiles don't average. Merge histograms, then compute.

Free Tech Shorts

A 256 GB database server busy just translating addresses

Huge memory needs huge pages, reserved explicitly.

Free Tech Shorts

Reindex 5 crore documents without search going down for a second

Search through an alias, build the new index aside, swap atomically.

Free Tech Shorts

Product added, but search shows it a second later. Why?

Search is near real-time: visible after the next refresh.

Free Tech Shorts

Why doesn't a search engine score every matching document?

Fast search skips documents that cannot reach the top k.

Free Tech Shorts

1,000 copies of one article: how search removes duplicates

SimHash: similar text, similar fingerprint.

Free Tech Shorts

Stock prices change every millisecond, the phone can't keep up

For live prices, send the latest value, not every value.

Free Tech Shorts

100 ms lag, yet your character moves instantly

Predict locally, confirm on the server, replay what's pending.

Free Tech Shorts

Packets arrive late and out of order, yet the voice is smooth

Wait a little, reorder, and hide small losses.

Free Tech Shorts

1 lakh comments per second on a live stream: how to show them?

Accept every comment, show a sample, count the rest.

Free Tech Shorts

Why don't a cartoon and an action movie get the same bitrates?

Encode for the content, not for a fixed table.

Free Tech Shorts

One CDN slowed down, and the video app quietly switched to another

Measure CDNs from real players, and switch per segment.

Free Tech Shorts

Encoding crores of old videos in every format is too expensive

Encode the popular head eagerly, the long tail on demand.

Free Tech Shorts

The biggest item on the cloud bill: servers talking to each other

Spread across zones for safety, but route within the zone.

Free Tech Shorts

Monitoring bill bigger than the app, because of one user_id label

Metrics need bounded labels; user IDs belong in logs and traces.

Free Tech Shorts

Doubled the cache, but the hit rate barely moved

Size caches from the miss ratio curve, not by doubling.

Free Tech Shorts

Bought a bigger 2-socket server, and the app got slower

On NUMA servers, keep threads next to their memory.

Free Tech Shorts

Postgres stopped all writes, and the disk was half empty

Watch transaction ID age, not just disk space.

Free Tech Shorts

Rule said at least one doctor, yet both went off call

Check-then-write needs serializable isolation or a lock.

Free Tech Shorts

10,000 business customers: one database each, or one table?

Pool the many, silo the few who need it.

Free Tech Shorts

Change a 2 TB MySQL table without locking it

Change a copy, replay the live writes, then swap.

Free Tech Shorts

Built one index, and orders stopped for 40 minutes

On live tables, build indexes CONCURRENTLY and check they are valid.

Free Tech Shorts

Index on (city, age), yet WHERE age = 25 scans everything

A composite index works from its left column only.

Free Tech Shorts

Deleted my account, now that email can't sign up again

Make uniqueness apply only to live rows.

Free Tech Shorts

Same query: 5 ms for a small seller, 5 minutes for the biggest

Skewed data needs a plan per value, not one plan for all.

Free Tech Shorts

Added LIMIT 10 and the query got 1000x slower

LIMIT is a bet. Give it an index that can win.

Free Tech Shorts

Same join: sometimes 10 ms, sometimes 10 minutes

Wrong row estimate, wrong join, slow query.

Free Tech Shorts

Power cut mid-write: half a page on disk

Log the whole page once, so half a page can be repaired.

Free Tech Shorts

fsync said OK, and the data was already gone

After a failed fsync, crash and replay. Never retry.

Free Tech Shorts

fsync on every commit: stuck at 200 commits a second

Share one fsync across many commits.

Free Tech Shorts

The disk flipped one bit, and the backup copied it

Checksum every page, and scrub before your clean copies expire.

Free Tech Shorts

A forgotten replication slot filled the primary's disk

Every slot is a promise to keep WAL. Cap it and clean it.

Free Tech Shorts

Orders sharded by user, but the merchant wants their orders

Shard by one key, keep an index for the other.

Free Tech Shorts

Crores of chat messages in one partition, and the node fell over

Add time to the partition key so no partition grows forever.

Free Tech Shorts

Used Cassandra as a job queue, and reads started timing out

Cassandra is not a queue. Every delete leaves a tombstone.

Free Tech Shorts

All comments in one MongoDB document, until 16 MB

Never embed an array that can grow forever.

Free Tech Shorts

Index on email, yet lower(email) still scans the table

Index the exact expression your query filters on.

Free Tech Shorts

How Facebook squeezed 16 bytes into 1.37

Store the change in the change, not the number.

Free Tech Shorts

Planner guessed 1,000 rows, 50,000 came back

Correlated columns fool the planner. Teach it with extended statistics.

Free Tech Shorts

1 crore rows: 3 hours to import, or 3 minutes?

Bulk load with COPY, build indexes after, commit in batches.

Free Tech Shorts

Eleven nines of durability without 3 full copies

Parity math gives more safety than copies, for less space.

Free Tech Shorts

1 crore tiny files, and one query takes 2 hours

Fewer, bigger files beat crores of tiny ones.

Free Tech Shorts

Disk snapshot restored, database corrupt

A disk copy is a backup only if the database is ready for it.

Free Tech Shorts

DROP TABLE by mistake, and the replica lost it too

Replication copies mistakes too. Keep one replica an hour behind.

Free Tech Shorts

One dashboard query, a huge BigQuery bill

In BigQuery you pay for bytes scanned, so make the WHERE skip data.

Free Tech Shorts

A warehouse join where the data just kept travelling

Move the small table, not the big one, or store both by the same key.

Free Tech Shorts

One job read files another job had half written

A table format turns a folder of files into atomic commits.

Free Tech Shorts

Power cut while saving, config file is 0 bytes

Never overwrite in place: write a temp file, fsync, then rename.

Free Tech Shorts

A 1 TB snapshot in one second? How?

A copy-on-write snapshot copies nothing. It just keeps the old blocks.

Free Tech Shorts

Small JSON records don't compress. Now what?

Small records compress well only with a shared, trained dictionary.

Free Tech Shorts

10 workers grabbed the same job

FOR UPDATE SKIP LOCKED turns a table into a safe job queue.

Free Tech Shorts

One transaction blocked an insert of a different row

Under REPEATABLE READ, InnoDB locks the gaps, not just the rows.

Free Tech Shorts

100 GB log table, index of only a few MB?

When data arrives in order, store a min and max per block range.

Free Tech Shorts

Database restarted, every query 10x slower for 20 minutes

Save the list of hot pages before a restart, and load it back after.

Free Tech Shorts

2-hour report on a replica, cancelled midway

On a replica, long queries and fresh cleanup cannot both win.

Free Tech Shorts

Deleting one customer takes 2 minutes

Index every foreign key column whose parent rows you delete.

Free Tech Shorts

After a DB move, every new order says duplicate key

Rows and sequences travel separately. Reset sequences after every copy.

Free Tech Shorts

"the" is in a billion documents. How is the index small?

Store gaps, not doc IDs, and pack small gaps into fewer bytes.

Free Tech Shorts

RocksDB writes suddenly stopped, disk 100% busy

Compaction is a debt. Write faster than you compact and the database makes you stop.

Free Tech Shorts

All traffic on one S3 prefix: 503 Slow Down

S3 scales per prefix, so spread hot keys across many prefixes.

Free Tech Shorts

GDPR: erase one user from a petabyte data lake

Pick copy-on-write or merge-on-read, but always purge old snapshots.

Free Tech Shorts

Different attributes per product, EAV killed the queries

Varying attributes belong in JSONB with a GIN index, not in an EAV table.

Free Tech Shorts

Only the OS was upgraded, and unique values got duplicated

A collation change is a data change. Reindex text indexes after OS upgrades.

Free Tech Shorts

ClickHouse indexes one row in 8192. Why is it fast?

Sort the data, index one row per granule, and skip granules, not rows.

Free Tech Shorts

Two keys in one Redis Cluster script: CROSSSLOT

In Redis Cluster, keys used together need the same hash tag.

Free Tech Shorts

30 GB Redis, 64 GB RAM, still out of memory at snapshot

A Redis snapshot can need up to double memory under heavy writes.

Free Tech Shorts

fsync said done, power went, data still lost

fsync is only as honest as the disk below it.

Free Tech Shorts

Read, process, write: why no duplicate after a crash?

Output and offset in one transaction, readers see only commits.

Free Tech Shorts

A bug that shows up once in a lakh runs

Control every source of randomness, and any bug can be replayed.

Free Tech Shorts

Kafka said saved, then the message vanished

acks=all, min.insync.replicas=2, and never elect a stale leader.

Free Tech Shorts

Some workers idle, some buried in work

Idle workers steal from the busy ones, no central boss needed.

Free Tech Shorts

One slow consumer, rebalance after rebalance

Tune the poll interval, keep members static, rebalance incrementally.

Free Tech Shorts

More partitions, and events went out of order

Changing N moves keys, so size partitions upfront or migrate cleanly.

Free Tech Shorts

An event arrives two hours late: which day's report?

Count by event time, close windows with watermarks, allow some lateness.

Free Tech Shorts

The stream job crashed: what about one crore running totals?

Barriers cut the stream, every operator snapshots, restore and rewind.

Free Tech Shorts

A DB call on every event made the stream 10x slow

Bring the table to the stream, not the stream to the table.

Free Tech Shorts

Redis slot moved, the client went to the old node

ASK means try there once, MOVED means update your map.

Free Tech Shorts

Keep every customer's latest address, forever

Compaction keeps the latest value for every key, forever.

Free Tech Shorts

A 10 MB message shook the broker

Send the claim ticket through the queue, keep the luggage in storage.

Free Tech Shorts

One user's slow messages blocked everyone in the partition

Order is needed per key, not per partition.

Free Tech Shorts

Three replicas, strong reads, and still cheap

Write at the head, read at the tail, or anywhere with CRAQ.

Free Tech Shorts

The job took 40 seconds, the queue gave it away at 30

Keep extending the lease while you work, and make the job idempotent.

Free Tech Shorts

Same username, same second, two regions, both got it

Uniqueness needs one owner, not two local opinions.

Free Tech Shorts

One event, and 50 services attacked the Order API

Put the data in the event, so nobody has to call back.

Free Tech Shorts

A saga step you cannot undo: the email already went

Undoable steps first, then the pivot, then steps that only retry.

Free Tech Shorts

Half a saga done, another request read half-baked data

Mark in-flight records as pending, and let others respect the mark.

Free Tech Shorts

Book hotel and flight together, or neither, without 2PC

Try reserves, Confirm makes it real, Cancel lets it go.

Free Tech Shorts

30-day free trial for 1 crore users, through restarts

Write the wait as code, let the platform make it durable.

Free Tech Shorts

A deploy broke one lakh running workflows

Running workflows replay old code, so branch with a version.

Free Tech Shorts

Cancel unpaid orders in 15 minutes: one crore crons?

Put timers in buckets by time, and tick one bucket at a time.

Free Tech Shorts

The 2 AM job was missed during a deploy, now what?

Decide the misfire policy upfront, and key every run by its scheduled time.

Free Tech Shorts

A 2:30 AM cron ran twice one day and skipped another

Schedule in UTC, local time has missing and repeated hours.

Free Tech Shorts

1 crore reminders at midnight took the database down

Same work, better shape: spread it with jitter, then pace it.

Free Tech Shorts

The leader answered a read, but it was no longer the leader

Before answering a read, a leader must prove it is still the leader.

Free Tech Shorts

A node came back from a partition and knocked out a healthy leader

Ask before you campaign: PreVote stops one bad link from toppling a good leader.

Free Tech Shorts

Grew a 3-node cluster to 5, and two leaders appeared

Change membership so the old and new majorities always overlap.

Free Tech Shorts

Two data centers, one goes down, and the whole system stops

With two sites, put the tie-breaking vote in a third.

Free Tech Shorts

1,000 servers wait for one lock, and all wake up at once

Watch the node ahead of you, not the lock: one release, one wake-up.

Free Tech Shorts

Refresh: the comment shows, vanishes, then shows again

Once a user has seen something, never show them an older version.

Free Tech Shorts

The reply showed up before the question

Show an effect only after its cause has arrived.

Free Tech Shorts

The database promised linearizable, and writes vanished in a network split

Don't trust the promise: break the network, record history, and check it.

Free Tech Shorts

Likes counted offline in two regions, and the merged count is wrong

Replicate per-region counts, not the total. Merge by max, read by sum.

Free Tech Shorts

Deleted data came back to life two weeks later

A delete must reach every replica before its tombstone is purged.

Free Tech Shorts

Replicas silently drifted apart, and nobody noticed

Compare hashes top-down, and send data only where they differ.

Free Tech Shorts

A replica was down, and the write was still accepted. How?

When owners are down, write to a stand-in with a hint, and hand it back later.

Free Tech Shorts

Ordering transactions worldwide, without one shared clock

Know how wrong your clock can be, and wait it out before you commit.

Free Tech Shorts

No atomic clocks, but you still need a global order

Hybrid clocks: wall time when it is right, a counter when it is not.

Free Tech Shorts

Election after election, and no leader ever wins

Randomize election timeouts, so one candidate goes first.

Free Tech Shorts

Every player's live state lives in one server's memory. What if it dies?

Call actors by ID, and let the runtime decide where they live.

Free Tech Shorts

Bigtable had no transactions. How did Google update its index safely?

Build multi-row transactions from one atomic row: the primary lock is the commit point.

Free Tech Shorts

Two regions, 100 tickets: a cross-region lock for every sale?

Split the total into local shares, and coordinate only to move shares.

Free Tech Shorts

One region failed over, and the other regions fell too

Pre-provision for failure, so surviving it needs no changes at all.

Free Tech Shorts

The registry went down, and all the services forgot each other

Stale addresses beat no addresses: cache the registry and never mass-evict on a blip.

Free Tech Shorts

Health check passes, but half the requests fail

Judge a server by real traffic, not by its health endpoint.

Free Tech Shorts

Every order ID from one central counter, and the counter became the bottleneck

Fetch IDs in blocks, and hand them out from memory.

Free Tech Shorts

All writes through one Raft group, and the leader's CPU hits 100%

One Raft group means one leader. Split the data and run many groups.

Free Tech Shorts

10 services at 99.9% each, so why is the app only 99% up?

In a chain, availability multiplies. Cut your hard dependencies.

Free Tech Shorts

How Maps finds a route in milliseconds

Do the heavy work once, so every query stays tiny.

Free Tech Shorts

How does the Maps arrow turn so smoothly?

Fast sensors drift, slow sensors stay true. Fuse them.

Free Tech Shorts

Recorded your car key signal, still can't open it

Every press is new, so an old code is worthless.

Free Tech Shorts

How a SIM proves it's real without sending its secret

Prove you know the key without ever sending it.

Free Tech Shorts

100 ms ping, yet your shot still hits

The server judges your shot in the world you saw.

Free Tech Shorts

1,000 member group, but one encryption per message

Share a key once, then encrypt every message once.

Free Tech Shorts

Why the server never sends you the whole map

Send only what matters, and only what changed.

Free Tech Shorts

How ranked games find players of your level

Ratings predict results, results fix ratings.

Free Tech Shorts

How your email finds the right server

DNS says where, the queue makes it survive outages.

Free Tech Shorts

20 MB file, but the 25 MB limit is crossed?

Base64 makes every attachment a third bigger.

Free Tech Shorts

Interpreted JavaScript, yet so fast?

Keep types and object shapes stable, the JIT does the rest.

Free Tech Shorts

Who frees your memory, and how so fast?

Most objects die young, so clean the young area often.

Free Tech Shorts

8 Python threads, only 1 core busy

Threads for waiting, processes for computing.

Free Tech Shorts

16 GB of apps in 8 GB of RAM

Reserved is not used, and unused pages can wait on disk.

Free Tech Shorts

One CPU core, 200 processes, all running?

One core, fast switching, and a timer that always takes control back.

Free Tech Shorts

One tab crashed, Chrome kept running

Separate processes turn one bad page into one bad tab.

Free Tech Shorts

How the shop soundbox speaks in one second

Keep one connection open, and the server can talk first.

Free Tech Shorts

How Tor hides you from the site and your ISP

No single relay knows both who you are and where you went.

Free Tech Shorts

15 devices, one public IP, replies never mix up

The port number tells the router which device a reply is for.

Free Tech Shorts

Both behind routers, yet a direct video call

Try direct first, keep a relay as the safety net.

Free Tech Shorts

How traceroute names every router on the way

Make each router fail on purpose, and it tells you its address.

Free Tech Shorts

Why the cab app skips the nearest driver

Best for one rider is not best for the city.

Free Tech Shorts

You only hummed, and Google found the song

Match the shape of the tune, not the sound.

Free Tech Shorts

Your smart TV knows which show you watched

If the TV can see the screen, it can report what you watch.

Free Tech Shorts

How your phone knows the cafe Wi-Fi needs a login

Ask a question with a known answer, a wrong answer means a portal.

Free Tech Shorts

1 GB in 20 seconds with no internet. How?

Bluetooth finds the phone, peer-to-peer Wi-Fi carries the file.

Free Tech Shorts

100x more miners, still one block every 10 minutes

Every 2016 blocks, difficulty resets so blocks stay about 10 minutes apart.

Free Tech Shorts

You locked your phone, the cast kept playing

The phone sends a URL, the Chromecast streams the video itself.

Free Tech Shorts

No garbage collector, yet no memory bugs: how Rust does it

Ownership and borrowing are checked at compile time, so memory is safe without a GC.

Free Tech Shorts

You deleted the file. Recovery software brought it back

Delete removes the pointer, not the data, unless TRIM erases it.

Free Tech Shorts

Thief moved the stolen disk to another PC and read nothing

Encrypt the whole disk and seal the key inside the laptop's chip.

Free Tech Shorts

Flash cells wear out, so how does an SSD last 5+ years?

Never rewrite the same cell, spread writes across the whole drive.

Free Tech Shorts

An alert on every phone in the area, without a single number

Cell broadcast talks to towers, not numbers, so every phone hears it at once.

Free Tech Shorts

eSIM: how does the operator's SIM get into your phone?

A QR code points to the server, and the chip gets a profile encrypted only for it.

Free Tech Shorts

Change one cell and Excel updates only the related ones

Recalculate only dirty cells, in dependency order.

Free Tech Shorts

Jump to 1:45:00 without downloading the whole movie

An index finds the byte, a range request fetches only that part.

Free Tech Shorts

How does your phone take a clear photo in the dark?

Many short sharp frames, aligned and averaged, beat one long blurry one.

Free Tech Shorts

FASTag holds no money. So how does the toll get paid?

The tag only says who you are, the bank holds the money.

Free Tech Shorts

One IP, 1000 HTTPS sites: how does each get the right certificate?

SNI puts the site name in the very first TLS message.

Free Tech Shorts

Who gives your phone an IP address when it joins Wi-Fi?

Discover, Offer, Request, Ack: four messages and you are on the network.

Free Tech Shorts

How does Let's Encrypt know the domain is really yours?

Prove control of the domain, and the certificate is yours.

Free Tech Shorts

Battery died mid-update, so why didn't the phone brick?

Never overwrite the system you are running; update the other slot.

Free Tech Shorts

How does a compiler understand your code?

Text becomes tokens, a tree, simple IR, then machine code.

Free Tech Shorts

Same live match, a different ad for you and your neighbour

Same video for everyone, a personal manifest for each viewer.

Free Tech Shorts

Why is sort() so fast on real data?

Real data already has order in it, Timsort finds it and merges.

Free Tech Shorts

Why does the same loop run much faster on a sorted array?

Predictable branches are almost free, random ones are expensive.

Free Tech Shorts

Typing in a 100 MB file without the editor freezing

Never move the text, just add pieces that point into it.

Free Tech Shorts

One editor, autocomplete for 50 languages: separate code for each?

One protocol turns M × N plugins into M + N.

Free Tech Shorts

Find the bad commit among 1000 in about 10 steps

Binary search over history: 1000 commits, about 10 tests.

Free Tech Shorts

How does git know exactly which lines changed?

A diff is the shortest edit script, and Myers finds it fast.

Free Tech Shorts

One JSON key made every user an admin

Never merge untrusted JSON blindly into plain objects.

Free Tech Shorts

A cookie made the server run someone's code

Untrusted bytes should become data, never objects.

Free Tech Shorts

The proxy saw one request, the backend saw two

Every hop must agree where a request ends.

Free Tech Shorts

One header poisoned the CDN for everyone

Whatever changes the response must be part of the cache key.

Free Tech Shorts

A profile photo called shell.php took over the server

Uploaded files are data. Never let them become code.

Free Tech Shorts

5 OTP tries allowed, 1,000 in one request

Rate limit the operations, not just the HTTP requests.

Free Tech Shorts

Magic link expired? A scanner clicked it first

A GET must never use up a one-time token.

Free Tech Shorts

No password asked. Just 'Allow access to your mail'

Consent is a credential. Control who can grant it.

Free Tech Shorts

A stolen refresh token kept them logged in for months

Each refresh token works once. A second use kills the family.

Free Tech Shorts

One hacked laptop became domain admin

Stop the hop: unique passwords, and admins who stay in their tier.

Free Tech Shorts

A website changed your home router's settings

Check the Host header. A domain name is not a network boundary.

Free Tech Shorts

tj-actions 2025: a version tag quietly moved

A tag is a pointer that can move. A commit SHA cannot.

Free Tech Shorts

A pull request from a fork got production secrets

Untrusted code runs without secrets. Always.

Free Tech Shorts

The code looked safe. The compiler ran something else

What you see is not always what compiles. Block hidden bidi characters.

Free Tech Shorts

Secret deleted in the Dockerfile, still inside the image

Deleting in a later layer never removes a file from earlier layers.

Free Tech Shorts

Why does your CI hold a permanent cloud key?

Give CI an identity, not a password.

Free Tech Shorts

Another customer read your AWS data through your vendor

Trusting the vendor's account is not enough. Bind the role to your ExternalId.

Free Tech Shorts

An invisible screen on top of your banking app

Assume another app may draw over yours, and protect sensitive screens.

Free Tech Shorts

A tiny subdomain overwrote the main site's login cookie

Host-prefixed cookies can be set only by the exact host.

Free Tech Shorts

One phone call to the helpdesk reset someone's MFA

A confident voice is not identity. Verify through a channel you already trust.

Free Tech Shorts

One person, 5,000 fake accounts, all for referral bonuses

Pay the referral bonus for real behaviour, not for a signup.

Free Tech Shorts

One Gmail, 100 'first order' offers

Normalize the email before you check whether it is new.

Free Tech Shorts

Netflix removed the names. Researchers found the people anyway

Pseudonymous is not anonymous.

Free Tech Shorts

The attacker linked their Google account to your session

No matching state in the callback, no login.

Free Tech Shorts

A fitness heatmap revealed secret military bases

Aggregate data can still leak secrets. Use privacy by default and minimum counts.

Free Tech Shorts

Encrypted emails, but login still needs to search them

Encrypt the value for secrecy, add a keyed HMAC to search it.

Free Tech Shorts

Encrypted, yet the picture is still visible

The cipher was fine. The mode leaked the pattern.

Free Tech Shorts

One repeated nonce and AES-GCM falls apart

With GCM the key is secret, but the nonce must be unique.

Free Tech Shorts

An error message that decrypted the whole cookie

If errors differ, your server is answering questions it shouldn't.

Free Tech Shorts

A valid signature, forged without the secret

Never build a MAC as hash(secret + data). Use HMAC.

Free Tech Shorts

A fake certificate for your domain, signed by a real CA

You can't stop every CA mistake, but CT makes it visible.

Free Tech Shorts

Record today's traffic, decrypt it in ten years

The attack happens today. Protect long-lived secrets now.

Free Tech Shorts

A fake webhook marked the order as paid

A webhook is trusted only after its signature and timestamp check out.

Free Tech Shorts

Why Google shows your uploads from a different domain

Untrusted content gets its own domain.

Free Tech Shorts

An Excel cell that ran as a formula

Escape data for the place it lands, spreadsheets included.

Free Tech Shorts

A message from an iframe walked away with your data

Check event.origin on receive, name targetOrigin on send.

Free Tech Shorts

A signed SSO login, rearranged into someone else's

Trust exactly the data that was signed, nothing beside it.

Free Tech Shorts

Someone made your account before you signed up

An unverified email is a claim, never link logins on a claim.

Free Tech Shorts

A popular browser extension changed owners

You trust an extension's future owner, not just today's.

Free Tech Shorts

A useless fake AWS key became the first breach alarm

Nothing legitimate touches a honeytoken, so any touch is an alarm.

Free Tech Shorts

A huge SMS bill overnight, and no new users

Every OTP costs money, so guard the send button like a payment.

Free Tech Shorts

Only '2 km away', yet someone found the exact home

Never compute distance from the true location.

Free Tech Shorts

How does an app know which friends use it?

Hashing hides nothing when the input space is small.

Free Tech Shorts

Two usernames, one account takeover

Canonicalize once, store it unique, and block lookalikes.

Free Tech Shorts

Quantity minus one, and the bill went down

Every business rule must be a server-side check.

Free Tech Shorts

Rate limit by IP, bypassed with one header

Client headers are user input. Trust only your own proxies.

Free Tech Shorts

A 42 KB zip that took the server down

Never trust a compressed size. Limit what comes out.

Free Tech Shorts

An outside page called your app's native code

Native powers only for pages you control.

Free Tech Shorts

Why forced 90-day password changes make security worse

Long, unique, unbreached, plus MFA. No forced rotation.

Free Tech Shorts

Domain hijacked: website and email both gone

Your registrar login is the master key to your company.

Free Tech Shorts

A small model guesses, a big model checks

Guess cheap, verify in parallel, keep the big model's quality.

Free Tech Shorts

Let the model think, and maths accuracy jumps

More thinking at answer time buys accuracy, paid in tokens.

Free Tech Shorts

Temperature 0, still a different answer

Temperature 0 is not deterministic until the maths is batch-invariant.

Free Tech Shorts

A huge model, yet every token is cheap

Keep many experts, run only a few per token.

Free Tech Shorts

Long context blew up attention memory

Never store the N² matrix. Compute it in tiles and merge as you go.

Free Tech Shorts

The model doesn't fit on one GPU

Tensor parallel inside the box, pipeline parallel across boxes.

Free Tech Shorts

466 interruptions in 54 days of training

At scale, failure is normal. Design to lose minutes, not months.

Free Tech Shorts

One vector per paragraph loses the details

One vector per token keeps the details one vector per paragraph loses.

Free Tech Shorts

AI wrote SQL and revenue doubled on the dashboard

Give it the schema, validate the query, lock it to read-only.

Free Tech Shorts

1 lakh photos, budget for only 5,000 labels

Label what the model is unsure about, not what is easy.

Free Tech Shorts

Same system prompt, but every request hits a new GPU

Route by prefix, so the cache you built actually gets hit.

Free Tech Shorts

Who taught ChatGPT what a good answer is?

Humans compare, a reward model scores, the LLM learns to please it.

Free Tech Shorts

A 3 word question can't find a 3 page document

Search with what an answer looks like, not with the question.

Free Tech Shorts

The chunk says revenue grew 20%. Whose revenue?

A chunk should carry its own context into the index.

Free Tech Shorts

Search only HR docs, and get zero results

Filter during the search, not after it.

Free Tech Shorts

100 crore vectors, made 32x smaller

Compress the index, keep full vectors on disk, rescore the few.

Free Tech Shorts

What are the main themes in all the complaints?

For questions about the whole dataset, retrieve summaries, not chunks.

Free Tech Shorts

What did our biggest client's CEO say?

Break the question, search hop by hop, feed each answer forward.

Free Tech Shorts

A PDF table went into RAG, numbers in the wrong column

Parse tables as tables, and never split them.

Free Tech Shorts

Data deleted, but the chatbot still quotes it

Every chunk needs a source ID, or you can never truly delete.

Free Tech Shorts

Top 5 results all say the same thing

Relevant is not enough. Each new result must add something new.

Free Tech Shorts

A hidden instruction in an MCP tool leaked SSH keys

A tool description is text the model obeys. Review it and pin it.

Free Tech Shorts

A 500 page report doesn't fit in context

Summarize the parts, then summarize the summaries.

Free Tech Shorts

Users pulled out Bing chat's secret system prompt

Treat the system prompt as public. Keep secrets and rules in code.

Free Tech Shorts

RAG gave a wrong answer. Blame search or the model?

Measure retrieval and generation separately, then fix the stage that fails.

Free Tech Shorts

Can AI text be detected even after a screenshot?

Hide the signal in the words, and it survives the screenshot.

Free Tech Shorts

Repeat 'poem' forever, and ChatGPT leaked real data

What a model memorised, a clever prompt can pull out.

Free Tech Shorts

One chat poisoned the AI's memory for good

Memory that anyone can write is memory an attacker owns.

Free Tech Shorts

ChatGPT started praising every idea, then got rolled back

Optimise only for thumbs up and you build a flatterer.

Free Tech Shorts

The AI reads invoices, 2% wrong, but which 2%?

Don't trust the average, route the uncertain fields to humans.

Free Tech Shorts

90% on the benchmark, failing on real work

Trust the eval that nobody else could train on.

Free Tech Shorts

Nothing changed, yet the AI feature broke overnight

Pin the model like a dependency, upgrade only after evals.

Free Tech Shorts

The agent works in the demo, fails 1 in 3 times in production

One lucky run is not reliability, measure consistency.

Free Tech Shorts

300 tools, and the agent keeps picking the wrong one

Don't give the agent every tool, give it the right five.

Free Tech Shorts

The safety check made every AI answer 2 seconds slower

Guard the stream, don't block it.

Free Tech Shorts

Four photos, and the bill is 3,000 tokens

Every pixel you send has a price, so pick the detail and resize.

Free Tech Shorts

Type 'dog on a beach' and the photo appears, no tags

Put text and images in one space, and words can find pictures.

Free Tech Shorts

Why does the voice bot go silent before every reply?

Don't wait for each step, stream through all of them.

Free Tech Shorts

95% offline, useless in production

Compute a feature once, and serve the same value everywhere.

Free Tech Shorts

The model saw the future, so the offline score was fake

Train only on what was known at that moment.

Free Tech Shorts

Labels arrive weeks later, the model rots silently

Can't measure accuracy yet? Measure the inputs.

Free Tech Shorts

A home pricing model cost Zillow over $500 million

A forecast without uncertainty is a bet you didn't know you made.

Free Tech Shorts

Amazon's hiring AI learned to reject 'women's'

Removing the gender column doesn't remove the bias.

Free Tech Shorts

99.9% accurate, and it caught zero fraud

On rare events, accuracy lies, measure precision and recall.

Free Tech Shorts

The model said 90% sure, and was right only 60% of the time

A score is only a probability after you calibrate it.

Free Tech Shorts

More clicks on the top result, because it's good or because it's on top?

A click only counts as much as the chance it was seen.

Free Tech Shorts

Optimised for clicks, and the feed filled with clickbait

Optimise one number and the system games it, rank on a balanced mix.

Free Tech Shorts

How YouTube picks your 20 videos in milliseconds

Retrieve cheaply, rank carefully, re-rank for the user.

Free Tech Shorts

One column leaked the answer to the model

If you won't have it at prediction time, don't train on it.

Free Tech Shorts

It showed cricket, you clicked cricket, it showed only cricket

A recommender writes its own training data, so keep a window open.

Free Tech Shorts

Node out of memory: which pods die first?

Set requests equal to limits for pods that must survive.

Free Tech Shorts

Node upgrade took the whole service down

A PodDisruptionBudget makes every drain wait its turn.

Free Tech Shorts

3 replicas, one zone failed, service gone

Don't just count replicas. Spread them across zones.

Free Tech Shorts

CPU free, but new connections randomly dropped

Every tracked connection needs a slot. Size the table, or skip tracking.

Free Tech Shorts

Payment pod Pending while batch jobs run

Tell the scheduler what matters: PriorityClass and preemption.

Free Tech Shorts

Rolled back to v1, but the bug is still there

A tag is a label that can move. Deploy by digest.

Free Tech Shorts

Autoscaler made 200 pods, all ImagePullBackOff

Pull images from your own cache, not a rate-limited public registry.

Free Tech Shorts

Renamed a Terraform resource, prod DB deleted

A rename needs a moved block. Precious data needs prevent_destroy.

Free Tech Shorts

One Terraform state for the whole company

Split state by stack, so one mistake stays small.

Free Tech Shorts

Tested in staging, a different build went to prod

Build once. Promote the same artifact everywhere.

Free Tech Shorts

Two green PRs, merged together, main is red

Test what main will become, not what main was.

Free Tech Shorts

Fine all day, 10x slower by evening

Know your disk's baseline, not just its burst.

Free Tech Shorts

Monitoring was down, so no alert all night

Silence is not health. Alert when the heartbeat stops.

Free Tech Shorts

DB password in plain text in Terraform state

Treat state as a secret, and keep secrets out of it.

Free Tech Shorts

Every pod asks for 4 CPUs, uses 0.2

The scheduler reserves requests, so size requests to real usage.

Free Tech Shorts

5 teams on one call, everyone fixing, it got worse

One person coordinates, others fix, one change at a time.

Free Tech Shorts

3,000 feature flags, nobody knows which are alive

Every flag needs an owner and an expiry date.

Free Tech Shorts

200 changes in one release. Which one broke prod?

Small, frequent releases make every bug easy to find.

Free Tech Shorts

On-call does the same 20 manual tasks every week

Cap toil, and spend the rest of the time removing it.

Free Tech Shorts

CPU and memory free, pods still Pending

On EKS every pod needs a VPC IP. Plan IPs like CPU.

Free Tech Shorts

Health check flaps, traffic ping-pongs between regions

Fail over fast, but fail back slowly and on purpose.

Free Tech Shorts

20 pods ran the same DB migration at once

Migrate once, before the deploy, under a lock.

Free Tech Shorts

₹50 lakh cloud bill, nobody knows whose it is

No tag, no deploy. Every rupee needs an owner.

Free Tech Shorts

3-year cloud commitment, architecture changed in 6 months

Commit flexibly, and only to the baseline you are sure of.

Free Tech Shorts

Node died, pods showed Running for 5 minutes

Tune how long pods wait on a dead node.

Free Tech Shorts

Autoscaler added servers. Each took 15 minutes to boot

Install at build time, not at boot time.

Free Tech Shorts

Your servers were fine. Your DNS provider was attacked

Your site is only as available as its DNS.

Free Tech Shorts

The renewal email went to spam. The whole company went offline

Your domain should renew itself, and nobody should move it without checks.

Free Tech Shorts

Certificate renewed, yet old devices lost the site

A fresh certificate is useless if the client can't trust its chain.

Free Tech Shorts

An intern deleted the production bucket

Separate accounts first, then guardrails nobody inside can remove.

Free Tech Shorts

Autoscaler keeps flapping every 2 minutes

Scale up fast, scale down slowly.

Free Tech Shorts

A second region for DR: how much money, how much speed?

Pay for DR in proportion to what downtime costs you.

Free Tech Shorts

The log server got slow and took the whole site down

Logging must never be able to block a request.

Free Tech Shorts

Region down, DR restore fails, the key is stuck in the dead region

Your backup is only as available as its key.

Free Tech Shorts

A country changed its DST rule, your meetings are an hour off

Store the zone name, and keep the rules behind it fresh.

Free Tech Shorts

Every deploy waits 30 seconds, then force kills the app

If PID 1 can't hear SIGTERM, every stop becomes a kill.

Free Tech Shorts

Users say the site is down. Your dashboard is all green

Measure from where your users are, not only from inside.

Free Tech Shorts

One team's load test starved every other team

Quota limits the team, LimitRange shapes each pod.

Free Tech Shorts

A bug fooled the autoscaler: 1000 servers overnight

Every autoscaler needs a ceiling and an alarm.

Free Tech Shorts

One zone is failing and rollback takes 40 minutes. Now what?

First move traffic away from the broken zone, then fix it calmly.

Free Tech Shorts

One API call, ten DNS queries

In Kubernetes, external names deserve a trailing dot or a lower ndots.

Free Tech Shorts

The server is slow. Which of 100 metrics first?

For every resource: utilization, saturation, errors.

Free Tech Shorts

The database pod moved zones. Its disk couldn't

A disk is tied to a zone. Availability comes from replicas.

Free Tech Shorts

First request fails because the sidecar wasn't ready

Declare the sidecar, and Kubernetes will start it first and stop it last.

Free Tech Shorts

No limits and a public load balancer. Who stops it first?

Write the rules as code, and let the cluster enforce them.

Free Tech Shorts

Encryption key deleted. Every backup becomes garbage

Deleting a key deletes all the data it protects. Make it slow and reversible.

Free Tech Shorts

A test environment for every PR, and a 10x bill

Preview environments should die by default.

Free Tech Shorts

3 AM alert, the on-call was asleep, nobody else woke up

An alert is not handled until a human acknowledges it.

Free Tech Shorts

Disk 70% full, growing 5% a day. Your alert will fire at 3 AM

Alert on when it will break, not on how full it is.

Free Tech Shorts

2 CPUs for the container, 64 threads in the app

Your runtime must see the container's limit, not the host.

Free Tech Shorts

One message crashed America's phone network

Roll out in stages, so one bug can't take down every node.

Free Tech Shorts

Heartbleed: ask for 64 KB, get the server's secrets

Never trust a length you didn't measure yourself.

Free Tech Shorts

A false touchdown lost a Mars lander

A signal from the past must not trigger the present.

Free Tech Shorts

One duplicate line broke iPhone security

Let warnings and tests catch it before attackers do.

Free Tech Shorts

Debian's keys had only 32,768 possibilities

A key is only as strong as its randomness.

Free Tech Shorts

A signed update carried a backdoor

A signature proves who built it, not that the build was clean.

Free Tech Shorts

One old password shut a fuel pipeline

An unused account is an open door. Close it.

Free Tech Shorts

Marriott bought a hacked system

When you buy a company, you buy its attackers too.

Free Tech Shorts

The DAO: withdraw, withdraw, withdraw

Update your books before you hand over the money.

Free Tech Shorts

One user froze 500,000 ether forever

The more things share it, the harder it must be to break.

Free Tech Shorts

Zero became a valid proof: $190M gone

Zero should never mean yes.

Free Tech Shorts

Hackers sent $81M and silenced the printer

Confirm big payments on a channel the attacker can't reach.

Free Tech Shorts

One gets() call slowed the early internet

Never copy input without knowing how much fits.

Free Tech Shorts

Hacked through the car radio

The radio should never have a path to the brakes.

Free Tech Shorts

300 servers had no backup power

A failover you haven't tested is just a hope.

Free Tech Shorts

Facebook's IPO and the loop that wouldn't end

Calculate on a frozen snapshot, and cap every loop.

Free Tech Shorts

One script gave everyone access to everything

Diff who-can-see-what before every permission change.

Free Tech Shorts

The Pentium chip that couldn't divide

Tests show bugs exist. Proofs show they don't.

Free Tech Shorts

One sensor, one decision, two crashes

Never let one sensor make a life-or-death decision.

Free Tech Shorts

Missing data stopped three engines

Missing data should stop you on the ground, not in the air.

Free Tech Shorts

Launch day: millions came, six enrolled

Test the whole path at full load before the whole country does.

Free Tech Shorts

When the software was believed over people

If software is evidence, every change to it must be on the record.

Free Tech Shorts

Excel quietly lost 15,841 Covid cases

Count in, count out. If they differ, stop.

Free Tech Shorts

Meant to send $7.8M, sent $900M

Make people confirm the outcome, not the checkboxes.

Free Tech Shorts

Shares instead of won: 2.8 billion ghost shares

Some numbers must never be possible. Make the system refuse them.

Free Tech Shorts

Malware crossed an air gap into a nuclear plant

An air gap is a wall with a door. Guard the door.

Free Tech Shorts

The Dow fell nearly 1,000 points in minutes, then came back

Never trade at any price. Set bands, and pause.

Free Tech Shorts

Pokémon GO got 50 times the traffic it planned for

Plan for the worst case, then build far beyond it.

Free Tech Shorts

Mars rover Spirit stuck in a reboot loop

Every resource needs a limit, and a safe way back.

Free Tech Shorts

One OS update took Datadog down in every region

Every change to production goes through your rollout, even OS patches.

Free Tech Shorts

A database table hit a hidden 2 TB limit

Know every hidden limit, and alarm long before you hit it.

Free Tech Shorts

One country's route made YouTube vanish worldwide

Sign who may announce your IPs. Drop everything else.

Free Tech Shorts

One HTTP header ran commands on servers

Untrusted input is data. Never let a shell read it.

Free Tech Shorts

A quiz app reached 87 million profiles

An app should see only what the person who said yes allowed.

Free Tech Shorts

Hundreds of thousands of national ID cards had weak keys

Plan how to rotate every key before you need to.

Free Tech Shorts

Passwords were in bcrypt, still 11 million got cracked

A password is only as safe as its weakest hash.

Free Tech Shorts

Facebook's View As leaked 50 million login tokens

Bind tokens to the real user, and be ready to revoke them all.

Free Tech Shorts

FaceTime let callers hear you before you answered

No accept, no media. The receiving device decides.

Free Tech Shorts

Mac login: user root, empty password, full admin

When auth is unsure, the answer is no.

Free Tech Shorts

Water, then fire: a Google Cloud region went down

Zones protect you from a rack. Regions protect you from a building.

Free Tech Shorts

Southwest cancelled about 16,700 flights in one holiday season

Your recovery path needs the same scale as your happy path.

Free Tech Shorts

AWS 2011: when recovery itself became the outage

Recovery is traffic too. Throttle it and reserve room for it.

Free Tech Shorts

A railway dig cut cables and grounded Lufthansa

Two links in one trench are one link.

Free Tech Shorts

Strangers guessed Zoom IDs and walked into classes

Users keep the defaults. Make the defaults safe.

Free Tech Shorts

Apollo 11's computer overloaded during the Moon landing

Under overload, keep the critical jobs and drop the rest.

Free Tech Shorts

A bug created 184 billion bitcoins in one transaction

Validate every sum, not just every value.

Free Tech Shorts

Adding servers took AWS Kinesis down

A cost per peer explodes with scale. Keep groups fixed-size.

Free Tech Shorts

A consumer signing key opened government email

A valid signature isn't enough. Check who may sign what.

Free Tech Shorts

Hawaii's false missile alert lasted 38 minutes

Two people to send, one tap to undo.

Free Tech Shorts

A batch scheduler upgrade froze millions of bank accounts

A rollback you never tested is just another risky change.

Free Tech Shorts

Why did the button do nothing for a second?

Respond to the tap first, do the heavy work in small chunks.

Free Tech Shorts

One loop dropped a smooth page to 2 FPS

Read all, then write all. Never interleave them in a loop.

Free Tech Shorts

Smooth on a laptop, janky on a budget phone

Animate transform and opacity, not layout properties.

Free Tech Shorts

Parsing one Excel file froze the whole tab

Heavy CPU work goes to a Web Worker. The main thread is for the user.

Free Tech Shorts

Both swiped right. How is the match instant?

Check the reverse like at swipe time: one key lookup, no batch join.

Free Tech Shorts

The page loaded, but the text stayed invisible

Show text at once with swap, and match the fallback so nothing jumps.

Free Tech Shorts

The HTML arrived, so why is the screen still white?

Inline what the first screen needs, load the rest without blocking.

Free Tech Shorts

One chat widget made the whole site slower

Show a lightweight facade, load the third-party script only when someone uses it.

Free Tech Shorts

The app stayed open 2 hours and ate 2 GB of RAM

Every listener you add on mount must be removed on unmount.

Free Tech Shorts

Why does Back reload the whole page?

Drop unload, and the browser can keep your page for an instant Back.

Free Tech Shorts

The next page was ready before you clicked

Start loading on the hover, so the click is instant.

Free Tech Shorts

The page showed instantly, but no button worked for 5 seconds

Ship JavaScript only for the parts that are interactive.

Free Tech Shorts

One slow widget held the whole page hostage

Send the fast parts now, stream the slow parts when they're ready.

Free Tech Shorts

One letter typed, 500 components re-rendered

Keep state close to where it's used, and subscribe only to what you read.

Free Tech Shorts

A long form, one closed tab, everything gone

Save drafts locally and on the server as the user types, restore them on reopen.

Free Tech Shorts

The heart turned red, then the server said no

Update the screen first, and undo cleanly if the server says no.

Free Tech Shorts

You typed iphone, but the list showed iph

Only the latest request may touch the screen.

Free Tech Shorts

10 teams, one website, every team wants its own deploy

Split the frontend by team only when teams block each other.

Free Tech Shorts

The phone clock was 2 hours behind, and login broke

Never trust the device clock alone: use server time plus leeway.

Free Tech Shorts

Why is a small phone downloading a 4000px photo?

Send each screen only the pixels it can show.

Free Tech Shorts

Loaders inside loaders, data arriving one by one

Start every fetch you can at once, don't wait for render.

Free Tech Shorts

Logged out in one tab, still logged in the other

Logout must reach every open tab, not just the one you clicked.

Free Tech Shorts

Change the home screen without an App Store release

Ship the building blocks in the app, send the layout from the server.

Free Tech Shorts

Polling every 30 seconds drained the battery

On mobile, wake ups cost more than bytes.

Free Tech Shorts

A 20-photo gallery crashed the app with OutOfMemory

Decode images at the size you display, not the size the camera took.

Free Tech Shorts

Half-filled form, one phone call, everything gone

Background means killable. Save state and restore it.

Free Tech Shorts

One GraphQL query took the whole server down

Price every query before you run it.

Free Tech Shorts

One API for mobile, web and TV is too heavy for all three

One backend per frontend, shaped for its screen.

Free Tech Shorts

GraphQL uses POST, so how does a CDN cache it?

Send a hash by GET, and run only queries you know.

Free Tech Shorts

Share one folder with a million files: a million permission rows?

Store relationships once, resolve inheritance at check time.

Free Tech Shorts

"Cancelled" arrived before "created" and the order came back to life

Treat a webhook as a ping, then fetch the latest state.

Free Tech Shorts

Reused one Protobuf field number, old apps read garbage

In Protobuf the field number is the contract. Never reuse it.

Free Tech Shorts

A photo preview in about 30 bytes

Send the blur with the data, load the photo after.

Free Tech Shorts

Why can't a browser call a gRPC server directly?

Browsers speak gRPC-Web, a proxy turns it into real gRPC.

Free Tech Shorts

Error at main.js:1:34. Which line is that really?

Ship minified code, keep source maps with your error tracker.

Free Tech Shorts

Backend removed one field, the mobile app crashed in production

Let the consumer define the contract, let the provider's CI enforce it.

Free Tech Shorts

Nothing changed, but the app downloads 2 MB every time

Ask the server if it changed, before you download it again.

Free Tech Shorts

An extra OPTIONS request before every API call

Cache the preflight, or better, avoid cross-origin calls.

Free Tech Shorts

Backend added a new status, old apps crashed

Clients must expect values they have never seen.

Free Tech Shorts

Your web crawler DDoSed a small website

Crawl the web fast, but each site slowly.

Free Tech Shorts

Thousands of channels: how does Slack track your unread messages?

Store where each user stopped reading, not what they haven't read.

Free Tech Shorts

Ctrl+Z in Google Docs: why doesn't it erase someone else's text?

Collaborative undo is a new edit that cancels only your change.

Free Tech Shorts

500 likes on one post: 500 notifications?

Notify about the post, not about every like.

Free Tech Shorts

"Every Monday, forever": crores of rows?

Store the rule, not the rows. Expand only what you show.

Free Tech Shorts

Ten levels of nested comments in one query

Store the path, and the tree comes back in one sorted read.

Free Tech Shorts

You run users' code on your server. What if someone writes rm -rf?

Treat every submission as an attack: limit, filter, destroy.

Free Tech Shorts

Cache is full: which item goes out, in O(1)?

Hashmap to find, doubly linked list to order. Both O(1).

Free Tech Shorts

50 people on one Figma file: why not Google Docs' OT?

Not every collaboration needs OT. Pick the simplest model that fits your data.

Free Tech Shorts

Reddit Hot: how does a new post beat yesterday's viral one?

Log the votes, add the time, and old posts sink on their own.

Free Tech Shorts

One 5-star review vs a thousand 4.8s: which ranks higher?

Never rank by a raw average when the counts differ.

Free Tech Shorts

Why did the bank charge you twice?

Retries are safe only when the request is idempotent.

Free Tech Shorts

UPI money debited but not received: where is it?

Unknown is never success. Keep it PENDING, check, then reverse.

Free Tech Shorts

Two withdrawals in the same second

Check and write in one atomic step.

Free Tech Shorts

The webhook came twice, or never

Webhooks arrive twice or never. Dedupe and reconcile.

Free Tech Shorts

Why fintech apps don't store a balance

Don't store a balance. Store entries, and sum them.

Free Tech Shorts

A one-time coupon used 50 times in one second

Don't check, then act. Let a unique constraint decide.

Free Tech Shorts

The server crashed in the middle of a bank transfer

No shared transaction? Save each step, retry safely, compensate.

Free Tech Shorts

100 iPhones, 10 lakh buyers

Count stock atomically, far away from the database.

Free Tech Shorts

Two people, one seat, same second

Hold with expiry first, unique constraint last.

Free Tech Shorts

Tatkal at 10 AM: how do servers survive?

Can't scale in one second? Queue the crowd.

Claude AI — Complete Course

What Claude is and where you can use it

Anthropic, the basic idea of an LLM, Claude's key strengths, and all the entry points (apps, Claude Code, API, cloud) that build the same Messages API request.

1.5-min preview

Claude AI — Complete Course

How the request and context window are built

The API is stateless, so the full context is sent every time; the tools, system, messages order; tokens and the context window.

System Design

What is System Design: from a small shop to Flipkart

Riya's small online shop grows from one server to a large system: load balancer, cache, CDN, DNS, WAF, queue and microservices, and why each piece arrives.

Networking

What is a network: LAN, WAN, MAN and topologies

Network kyun, client-server vs peer-to-peer, LAN/WAN/MAN/PAN, bus/star/ring/mesh topology, bandwidth vs latency (first look), internet ka bada picture

JavaScript, React & Next.js

What is JavaScript, and setup

Browser vs Node, VS Code, console, Node/npm install, course roadmap.

1.5-min preview

Claude AI — Complete Course

Gateway, model and response: a request's journey

The request passes the gateway, then the model (tokenizer, transformer, thinking, generation), and the response returns as JSON or an SSE stream.

C# & ASP.NET Core

What are C# and .NET

.NET, CLR, IL, JIT (one diagram), .NET 10 LTS, what you can build, course roadmap

1.5-min preview

Claude AI — Complete Course

The tool loop and output to the user

The model only writes tool_use and someone else runs the tool, looping until end_turn; then the forms the answer can take for the user.

1.5-min preview

System Design

Network basics: TCP vs UDP, HTTP/1.1 vs 2 vs 3

How data travels over the wire, how HTTP evolved, keep-alive and connection reuse.

1.5-min preview

System Design

DNS and GeoDNS

Domain to IP, TTL, latency routing and health-check failover.

1.5-min preview

System Design

CDN: Content Delivery Network

Edge cache, HIT and MISS, origin shield, purge and the Hotstar IPL example.

1.5-min preview

Networking

The 7 layers of the OSI model

Har layer ka kaam, PDU names (bits, frame, packet, segment, data), har layer ke devices aur protocols, troubleshooting me OSI ka use

1.5-min preview

Networking

The TCP/IP model and encapsulation

4 layers vs OSI, header add/remove (encapsulation/decapsulation), ports + IP + MAC ek frame me

1.5-min preview

Networking

Physical layer: cables, fiber, Ethernet and the NIC

Twisted pair Cat5e/6/6a, fiber single/multi mode, RJ45, speed aur duplex, NIC, hub aur repeater, autonegotiation

1.5-min preview

JavaScript, React & Next.js

Variables and data types

Let/const/var, primitives vs objects, typeof, copy by value vs reference.

1.5-min preview

JavaScript, React & Next.js

Operators, equality and truthy/falsy

== vs ===, coercion, ?? vs OR, ?., ternary.

1.5-min preview

JavaScript, React & Next.js

if, switch and loops

Conditionals, for/while, for...of vs for...in, break/continue.

1.5-min preview

C# & ASP.NET Core

Setup and your first program

SDK install, VS Code/Visual Studio, dotnet new/run/build, top-level statements, file-based apps (dotnet run app.cs), .csproj basics

1.5-min preview

C# & ASP.NET Core

Making friends with debugging

Breakpoints, step over/into, watch, reading an exception and stack trace, Hot Reload

1.5-min preview

C# & ASP.NET Core

Variables and data types

Int/double/decimal/bool/char/string, var, const vs readonly, default values, naming, null and string? (first look)

Item 1 of 1020