BTI Beyond The Interviews

System Design & Architecture · 9 sections

Concurrency

Threads, locks, async, and the concurrency interview patterns.

Premium · preview 107 cards Updated 24 Oct 2026
Free to preview. The first 3 cards and the full outline are below — the rest of this sheet is part of the System Design bundle.

What's inside

Preview — first 3 of 107 cards

Concurrency vs parallelism?

Concurrency is about dealing with many things at once (structure/interleaving); parallelism is doing many things at once (multi-core execution). A single core can be concurrent but not parallel.

Process vs thread?

A process has its own address space and resources; threads share a process's memory and are lighter to create/switch. Processes isolate; threads cooperate.

What is a race condition?

The program outcome depends on the relative timing of uncontrollable events. Fix by eliminating shared mutable state or synchronizing access.

104 more cards in this sheet

Unlock the System Design bundle — ₹399

One-time payment. Unlocks this sheet and 10 other sheets in the bundle, plus a typeset PDF of each.

Unlock the bundle See all bundles

Or get all 76 sheets for ₹999 — one payment, every future sheet included.