For software engineers

System design,
one snag a day.

Every big system hides a few tricky parts. Each day, SystemSnag gives you one of them, readable in five to ten minutes, with where it shows up in real products. Then it brings it back at the right time, so it stays.

Free to start. New accounts get 7 days of Standard.

Today's snag · 7 min

How do you revoke a token that has not expired yet?

Authentication Design a login system

Access tokens are checked without a database, which is why they are fast. It is also why a stolen one keeps working. Three ways out, and what each one costs…

Where it is used: sign-out everywhere, banned accounts, leaked keys.
I have read this Ask tutor
Snags like Surviving a flash sale Idempotency keys Fencing tokens Hot partitions Rolling out config to 100,000 servers Exactly-once delivery Cache stampedes

Small enough to finish. Hard enough to matter.

Long courses get abandoned. One focused problem a day becomes a habit, and in a few months you have seen the parts that make or break real systems.

01

One snag a day

A notification each morning with today's problem. Five to ten minutes, on the train or between meetings.

02

See where it is used

Every snag ends with the real products and big problems it belongs to, so it connects to what you build.

03

Remember it

What you read comes back after 1, 3, 7, 14 and 30 days. Recall it, rate yourself, and the schedule adapts.

Learn the pieces. See the whole.

Each snag belongs to the big problems it appears in, like designing a chat app or a payment system, and to topics, types and tags. Browse any way you like, or search on your phone, even offline.

Design a ticketing system

Surviving a flash sale Holding a seat without overselling Idempotency keys Queues in front of hot spots

Design a login system

Revoking tokens Rotating refresh tokens Rate limiting sign-in

Run a fleet of servers

Rolling out config safely Leader election Fencing tokens

Premium

Argue with a tutor.

Ask why not a simpler approach, or what breaks at ten times the load. When it spots what you got wrong, it turns that into your own review cards.

Why not just check a deny-list on every request?
You can, but then every request needs a lookup, which is what short-lived tokens were meant to avoid. Keep the list small: only revoked tokens that have not expired yet.
So the list empties itself as tokens expire?
2 review cards made from this chat

Plans

Start free. Every new account gets 7 days of Standard.

Free

$0

  • 1 new snag a day
  • Reviews and saved snags
  • Search and browse everything

Standard

[PRICE] / month

  • 20 new snags a day
  • Everything in Free
  • For interview preparation

Premium

[PRICE] / month

  • 50 new snags a day
  • AI tutor on every snag
  • Review cards made from your chats

Find a mistake in a snag? Report it. If we fix it, you get 7 more days of Standard.

Questions

Is this for interviews or for real work?

Both. The snags are the parts interviewers probe and the parts that break in production.

How long does a snag take?

Five to ten minutes to read. Reviews take a minute or two each.

Does it work offline?

Search, browsing and the snags you opened this week work offline. Your progress syncs when you are back online, on every device.

Can I delete my account?

Yes, in the app under Account. Your progress, cards and chats are deleted with it.