Skip to content

Building-Block Collection Before the Refactor

Part of the system design archive.

Question: where did each building-block topic collected before the refactor go, and how do the course lists of building blocks map onto the design-question hubs?

Before the March 19, 2026 refactor, this note collected four kinds of material:

  • how courses divide what to learn;
  • a study list;
  • a template for describing a pattern;
  • short entries on components.

The refactor moved each topic into a hub of the pattern map. This version, rewritten on April 4, 2026, records what the collection held and where each part lives now. The original wording is in git history.

How sources divide the material

Courses divide what to learn differently. The main difference is the unit each one teaches; the sources call it an element, a building block, a pattern, or a high-level strategy.

SourceUnitStructure
Hello InterviewA stage of preparationCore concepts, then key technologies and patterns, then a delivery framework, then common problems and practice
interviewing.ioA conceptTwelve fundamental concepts, mapped below
Educative, Grokking Modern System DesignA component, designed once as a small system and then reusedSixteen building blocks, mapped below
Azure architecture patternsA cloud design patternA catalog tagged by concern, such as messaging, resiliency, and data management
Designing Data-Intensive Applications, second editionA data system trade-offChapters on storage, replication, sharding, transactions, and consistency
microservices.ioA pattern in a languageGroups of patterns, each one’s consequences leading to the next

A component list says what exists, but it does not say when to use a component or what it costs. The pattern map uses the design question as its unit. Each hub asks one question, and a component appears as an option with the conditions under which it fits and the next question it raises. Any course list can be read through the hubs, which is what the two tables below do.

Hello Interview’s stages in these notes:

The collection’s own split had five layers:

  1. Foundational knowledge.
  2. Key characteristics of systems, now the NFR notes.
  3. Components such as load balancers, caches, proxies, and leader election, now options in the hubs.
  4. Real tools and products, now the engineering topic notes.
  5. Patterns, now the hubs.

interviewing.io fundamental concepts by hub

ConceptWhere it lives
APIsContracts and API design
Databases: SQL versus NoSQLStorage choice in data at scale
ScalingScalability and data at scale
CAP theoremCAP and PACELC
Web authentication and basic securitySecurity
Load balancersLoad balancer
CachingCaching in data at scale
Message queuesMessaging
IndexingIndexes
FailoverReliability and availability
ReplicationReplication in data at scale
Consistent hashingPartitioning in data at scale

Educative building blocks by hub

Educative designs each building block once, as a small system with its own requirements, so later designs can reuse it without repeating the detail.

Building blockWhere it livesCoverage
Domain Name SystemDNSRouting uses, TTL costs, and anycast
Load balancersLoad balancer and service discoveryPolicies and pool discovery
DatabasesStorage choice, replication, and partitioning in data at scaleOptions rows
Key-value storeKey-value stores and data grids and the key-value store caseSection and a Dynamo-style design
Content delivery networkCDNShort definition
SequencerUnique ID generation in data at scale and the Snowflake IDs caseOptions row and case. Educative’s focus on causality connects to logical clocks.
Service monitoringObservabilityPatterns listed
Distributed cachingCaching in data at scaleOptions row
Distributed messaging queueMessagingPattern note
Publish-subscribe systemMessaging and communicationPattern note
Rate limiterRate limiting across nodes and the rate limiter caseSection and case
Blob storeObject storage under storage choice in data at scaleNamed only
Distributed searchSearch indexSection
Distributed loggingLog aggregation under observabilityNamed only
Distributed task schedulingTask queues and scheduling and the job scheduler caseSection and a design sketch
Sharded countersHot-key splitting in data at scaleOptions row

Study list

TopicWhere it lives
Building blocksThe hubs
Reasoning about non-functional requirementsNFR guide
Common trade-offs, kept in one list and refined with practiceCommon trade-offs
Asynchronous patterns, communication, and protocolsCommunication and messaging. The collection proposed communication and protocols as a category of its own; it became the communication hub.
Distributed coordination, transactions, and sagasOperations that change several services and coordination
Common technical problemsPractice cases
Data and databasesData at scale
API constructionContracts and API design
Vector clocksCoordination
Stateless services and idempotent APIs as the basis of scalabilityStateless instances in scalability; idempotent consumer
MapReduce and scatter-gatherBatch processing and scatter-gather in data at scale, with tail latency
Consistent hashingPartitioning in data at scale

Pattern template

The collection described a pattern with six fields. The pattern note format keeps five of them and adds one.

Original fieldPattern note field
Definition and the problems it solvesThe problem it solves and a concrete use case
Algorithm, with a scenarioHow it works, including the important request or data flow
Rule of thumb for when to use itThe assumptions and constraints under which it is useful; the hub’s Fits when column
Trade-offs and analoguesTrade-offs, failure behavior, and alternatives
Specific implementationsRelevant implementations and examples from practice cases
(none)What it leads to: the problems it creates and the patterns that address them

The added field is what links one pattern to the next, which turns a catalog into a language.

Component entries

Original sectionWhat it heldWhere it lives
DNSA to-do: describe DNS and its use in an interview.DNS
CDNA definition: distributed proxy servers serve content from locations closer to users. Two gains: users get content from nearby data centers, and origin servers skip the requests the CDN fulfills.CDN
Load balancerPurpose: redundancy, reliability, and performance. Terms: the policy, or server selection strategy, and the backend pool. Policies: random, round robin, weighted round robin, load- or timeout-based, least connections, IP hashing, path-based, and combinations. Levels: L4 and L7. Service discovery: a static file of addresses is hard to keep current, so servers register with a coordination service such as etcd or ZooKeeper under a time-to-live and drop out when they stop renewing. Examples: NGINX and HAProxy.Load balancer and service discovery
ProxyA forward proxy acts for clients and a reverse proxy for servers. Uses: filtering, logging, caching, load balancing, and changing requests and responses.Proxy
API gatewayA link, with a to-do on trade-offs.API gateway and external API
Pub/subA to-do on operational problems such as consumer rebalancing.Consumer groups and rebalancing
AsynchronismMessage queues and task queues.Messaging and task queues and scheduling
SidecarFunctionality split out of the application into a separate process.Sidecar and service mesh
Service meshMoves the complexity of many services into an infrastructure layer: load balancing, discovery, traffic management, circuit breaking, telemetry, and fault injection.Sidecar and service mesh, control plane, and fault injection in testing the controls
Distributed computationA heading only.Batch processing and scatter-gather in data at scale
Key-value storeIn-memory data grids, as a heading.Key-value stores and data grids and the key-value store case
Rate limitingDistributing the limiter is the hard part; limits per tier are harder still.Rate limiting across nodes and the rate limiter case
SecuritySecurity as a trade-off between total safety, a wall, and total convenience, a hole in the wall. Authentication, which establishes who is calling, separated from authorization. Two checks at a door, the peephole and a password, as the picture for multi-factor authentication. Storing password hashes, salting, and rainbow tables. Sources: Newman and the interviewing.io guide.Security, including password storage
SequencerA link to Educative’s lesson.Unique ID generation in data at scale
TemplatesHello Interview’s simple CRUD service pattern, the DesignGurus master template, and the control plane with other frameworks used in production.Not yet placed and the control plane

Topics filled after the rewrite

When this note was rewritten, no hub explained the topics below. Later the same day each was written into the note that should hold it. Gaps that remain are listed in each hub’s own Gaps section.

TopicNow in
CAP theorem, PACELC, and consistency modelsConsistency guarantees
IndexingIndexes
Sharded countersHot-key splitting in data at scale
Distributed searchSearch index
MapReduce and scatter-gatherData at scale
Distributed coordination and vector clocksCoordination
Key-value stores and in-memory data gridsKey-value stores and data grids and the key-value store case
Rate limiting across nodes and by tierRate limiting across nodes and the rate limiter case
DNSDNS
Fault injection in a service meshTesting the controls
Consumer rebalancingConsumer groups and rebalancing
Task queues and distributed task schedulingTask queues and scheduling and the job scheduler case
Password hashing, salting, and rainbow tablesSecurity
One list of common trade-offsCommon trade-offs

Sources

Library sources

  • Educative 2023, Grokking Modern System Design Interview for Engineers and Managers – the sixteen building blocks in Educative building blocks by hub
  • Design Gurus 2019, Grokking the System Design Interview – the basics part works as a glossary of building blocks
  • Kleppmann and Riccomini 2026, Designing Data-Intensive Applications, Second Edition – the book the collection named
  • Newman 2021, Building Microservices: Designing Fine-Grained Systems, Second Edition – chapter 11, security, named in the security entry