05
Concepts
Database Types
Every database is optimized for a different access pattern. Pick the wrong one and no amount of tuning saves you.
Key-Value Stores
Redis and Memcached internals — when O(1) lookup is all you need and when it becomes a liability.
RedisMemcachedTTLEviction
Open topic →
Document Stores
MongoDB internals — document model, embedding vs referencing, indexes, replication and sharding.
MongoDBEmbeddingIndexesReplication
Open topic →
Column Family
Cassandra, Bigtable, and DynamoDB — wide-column storage, ring architecture, and query-first data modeling.
CassandraBigtableDynamoDBRow Keys
Open topic →
Search Engines
Why SQL LIKE fails at scale. Inverted indexes, TF-IDF ranking, and Elasticsearch architecture.
Inverted IndexTF-IDFBM25Elasticsearch
Open topic →
Graph Databases
When relationships are the data. Graph models, Cypher queries, and the use cases where SQL joins collapse.
Graph ModelCypherNeo4jTraversal
Open topic →
Blob Storage
Object storage model, presigned URLs, multipart uploads, content-addressable storage, and chunk deduplication.
S3 ModelPresigned URLsMultipartDeduplication
Open topic →
NewSQL
Google Spanner internals — TrueTime, external consistency, and when NewSQL beats both Postgres and NoSQL.
SpannerTrueTimeExternal ConsistencyCockroachDB
Open topic →
OLTP vs OLAP
Transactional vs analytical workloads. ETL pipelines, data warehouses, and when to stop querying production.
OLTPOLAPETLCDC
Open topic →
Choosing The Right DB
A decision framework for picking between SQL, NoSQL, and specialized stores based on access patterns and constraints.
Decision FrameworkAccess PatternsTrade-offsCheatsheet
Open topic →
Data Modeling
Entities, relationships, access patterns, and schema design. From blank page to a model that survives real traffic.
EntitiesAccess PatternsSchema DesignInstagram Schema
Open topic →