arrow_backBack to System Design

Phase 2: The Toolkit

Now that we know the limits, we pick our tools. These are the standard components you'll drop into every architecture diagram. Know them inside out.

database

Data Modelling

Tool 01

Relational vs Document vs Graph. How to structure and relate your data for maximum scale.

draw
api

API Design

Tool 02

REST vs GraphQL vs gRPC. Idempotency, versioning, and building contracts that don't break.

draw
cyclone

Consistent Hashing

Tool 03

The algorithm behind horizontal scaling. Hash rings, virtual nodes, and minimal data movement.

draw
balance

Load Balancing

Tool 04

L4 vs L7, Round Robin vs Least Connections. How to distribute traffic without creating hotspots.

draw
bolt

Caching Strategies

Tool 05

Read-through, Write-back, and Eviction policies (LRU/LFU). The art of keeping hot data close.

draw
table_chart

Database Internals

Tool 06

B-Trees vs LSM Trees. SQL vs NoSQL. Understanding the storage engine determines the use case.

draw
mail

Message Brokers

Tool 07

Kafka (Log) vs RabbitMQ (Queue). Decoupling services with asynchronous events.

draw
public

CDN & Blob Storage

Tool 08

Serving static assets at scale. Edge locations and object storage design.

draw
speed

Rate Limiting

Tool 09

Token Bucket vs Sliding Window. Distributed rate limiting with Redis. Protecting your services.

draw
router

API Gateways

Tool 010

Auth termination, request routing, and circuit breakers at the edge. The front door of your system.

draw
search_insights

Advanced Indexing

Tool 011

Inverted indexes for search, Geohashes for Uber-like location services, and B-Tree internals.

draw
lock

Distributed Locking

Tool 012

Redis Redlock vs Zookeeper. How to coordinate access to shared resources without chaos.

draw
show_chart

Time Series Databases

Coming Soon

InfluxDB, TimescaleDB, Prometheus. Optimized for metrics, IoT data, and high-frequency writes.

draw
neurology

Vector Databases

Coming Soon

Pinecone, Weaviate, Milvus. Similarity search for AI embeddings, recommendations, and semantic search.

draw
account_tree

Graph Databases

Coming Soon

Neo4j, Amazon Neptune. Modeling relationships and traversals for social networks and knowledge graphs.

draw
view_column

Column-Oriented Databases

Coming Soon

Cassandra, HBase, ClickHouse. Optimized for analytics and OLAP workloads with columnar storage.

draw
search

Search Engines

Coming Soon

Elasticsearch, Solr, Algolia. Full-text search, fuzzy matching, and relevance ranking at scale.

draw
cloud_upload

Object Storage

Coming Soon

S3, MinIO, Azure Blob. Storing unstructured data at petabyte scale with eventual consistency.

draw