Module 0 - Core Concepts

System Design Glossary

A comprehensive reference of essential system design terms and concepts. Bookmark this page for quick lookups during your preparation.

51 termsReference Guide
Showing 51 of 51 terms
A

API (Application Programming Interface)

Communication

A set of protocols and tools that allows different software applications to communicate with each other. REST, GraphQL, and gRPC are common API styles.

Availability

Reliability

The percentage of time a system is operational and accessible. Measured in "nines" (e.g., 99.99% = "four nines" = 52 minutes downtime/year).

Asynchronous

Communication

A communication pattern where the sender doesn't wait for a response before continuing. Enables better scalability and decoupling.

B

Blob Storage

Storage

Binary Large Object storage for unstructured data like images, videos, and files. Examples: AWS S3, Azure Blob Storage, Google Cloud Storage.

Broker

Communication

An intermediary that receives messages from producers and delivers them to consumers. Examples: Kafka, RabbitMQ, Redis Pub/Sub.

C

Cache

Performance

A high-speed data storage layer that stores a subset of data for faster access. Reduces database load and improves response times.

CAP Theorem

Distributed Systems

States that a distributed system can only guarantee 2 of 3 properties: Consistency, Availability, and Partition Tolerance.

CDN (Content Delivery Network)

Performance

A geographically distributed network of servers that delivers content from locations closest to users, reducing latency.

Cluster

Infrastructure

A group of servers working together as a single system to provide high availability and load distribution.

Concurrency

Performance

The ability to handle multiple tasks or requests simultaneously. Different from parallelism (executing tasks at the exact same time).

Consistency

Distributed Systems

All nodes in a distributed system see the same data at the same time. Strong consistency ensures reads always return the latest write.

Container

Infrastructure

A lightweight, standalone package that includes everything needed to run an application. Docker is the most popular containerization platform.

D

Database Index

Storage

A data structure that improves the speed of data retrieval operations on a database table at the cost of additional storage and write overhead.

Dead Letter Queue (DLQ)

Communication

A queue that stores messages that couldn't be processed successfully after multiple retries. Used for debugging and recovery.

Denormalization

Storage

The process of adding redundant data to a database to improve read performance at the cost of write complexity.

DNS (Domain Name System)

Infrastructure

The internet's phone book that translates human-readable domain names (google.com) to IP addresses.

E

Eventual Consistency

Distributed Systems

A consistency model where replicas will eventually converge to the same state, but not immediately after a write.

Event-Driven Architecture

Architecture

A design pattern where the flow of the program is determined by events (messages) rather than sequential logic.

F

Failover

Reliability

The automatic switching to a backup system when the primary system fails. Critical for high availability.

Fan-out

Communication

A messaging pattern where a single message is delivered to multiple consumers. Used in notification systems and social media feeds.

G

gRPC

Communication

A high-performance RPC (Remote Procedure Call) framework that uses Protocol Buffers for serialization. Faster than REST for service-to-service communication.

H

Heartbeat

Reliability

Periodic signals sent between systems to indicate they are operational. Used for health monitoring and failure detection.

Horizontal Scaling

Scalability

Adding more machines to handle increased load (scaling out). Contrast with vertical scaling (adding resources to existing machine).

Hot Spot

Performance

A condition where a disproportionate amount of traffic or load is directed to a single node or partition.

I

Idempotency

Reliability

A property where an operation produces the same result regardless of how many times it's executed. Critical for retry logic.

L

Latency

Performance

The time it takes for a request to travel from sender to receiver and back. Measured in milliseconds (ms).

Load Balancer

Infrastructure

A component that distributes incoming network traffic across multiple servers to ensure no single server is overwhelmed.

Long Polling

Communication

A technique where the client makes a request and the server holds it open until new data is available, simulating real-time updates.

M

Message Queue

Communication

A form of asynchronous communication where messages are stored in a queue until they can be processed. Decouples producers from consumers.

Microservices

Architecture

An architectural style where an application is composed of small, independent services that communicate via APIs.

Monolith

Architecture

An architectural style where all components of an application are tightly coupled into a single deployable unit.

N

NoSQL

Storage

A category of databases that don't use the traditional relational model. Types include document (MongoDB), key-value (Redis), column (Cassandra), and graph (Neo4j).

P

Partition

Scalability

A division of a database or message queue topic. Also known as sharding. Enables horizontal scaling.

Partition Tolerance

Distributed Systems

A system's ability to continue operating despite network partitions (communication failures between nodes).

Primary-Replica

Scalability

A replication pattern where one node (primary) handles writes and replicates data to read-only replicas. Also called master-slave.

Pub/Sub

Communication

A messaging pattern where publishers send messages to topics and subscribers receive messages from topics they're interested in.

Q

QPS (Queries Per Second)

Performance

A metric measuring the number of queries a system can handle per second. Used for capacity planning.

Quorum

Distributed Systems

The minimum number of nodes that must agree on an operation for it to be considered successful. Common formula: (N/2) + 1.

R

Rate Limiting

Reliability

Controlling the number of requests a user or client can make in a given time period. Prevents abuse and ensures fair usage.

Redundancy

Reliability

Duplication of critical components to increase reliability. If one fails, others can take over.

Replication

Scalability

Copying data across multiple nodes to improve availability and read performance. Synchronous or asynchronous.

REST

Communication

Representational State Transfer. An architectural style for APIs that uses HTTP methods (GET, POST, PUT, DELETE) to perform CRUD operations.

S

Sharding

Scalability

Splitting data across multiple databases based on a shard key. Each shard contains a subset of the data.

SLA (Service Level Agreement)

Reliability

A contract defining the expected level of service, including availability, response time, and support.

Stateless

Architecture

A service that doesn't store client session data between requests. Each request contains all information needed to process it.

Synchronous

Communication

A communication pattern where the sender waits for a response before continuing. Simpler but can create bottlenecks.

T

Throughput

Performance

The number of operations or data transferred per unit time. Measured in requests/second or bytes/second.

TTL (Time To Live)

Performance

A mechanism that limits the lifespan of data. Commonly used in caching and DNS to expire stale data.

V

Vertical Scaling

Scalability

Adding more resources (CPU, RAM, storage) to an existing machine (scaling up). Has hardware limits.

W

WebSocket

Communication

A protocol providing full-duplex communication channels over a single TCP connection. Used for real-time applications.

Write-Ahead Log (WAL)

Storage

A technique where changes are written to a log before being applied to the database. Ensures durability and crash recovery.

Interview Follow-up Questions

Interview Follow-up Questions

Common follow-up questions interviewers ask

Test Your Knowledge

Test Your Understanding

5 questions

1

Which statement best describes the CAP theorem?

2

What is the primary purpose of a load balancer?

3

In the context of databases, what does ACID stand for?

4

What is the difference between a CDN and a cache?

5

What does 'idempotency' mean in the context of APIs?

0 of 5 answered