
Stored Procedures: When to Use Them, When to Avoid Them
Opinionated guide to stored procedures covering performance benefits, maintainability costs, security implications, and practical guidelines for when they help vs hurt.

Opinionated guide to stored procedures covering performance benefits, maintainability costs, security implications, and practical guidelines for when they help vs hurt.

Practical guide to cloud storage snapshots and volumes covering architecture, performance, cost optimization, backup strategies, and disaster recovery patterns.

In-depth comparison of columnar and row-oriented databases covering storage architecture, compression, query performance, and choosing the right one for your workload.

Practical guide to database normalization and denormalization with real-world examples, covering normal forms, performance tradeoffs, and when to break the rules.

Deep dive into streaming and logical database replication, covering architecture, performance tradeoffs, failover strategies, and when to use each approach.

Practical guide to choosing SSD or HDD storage for databases, analytics, and archival workloads based on real-world performance, cost, and endurance tradeoffs.

A practical guide to graph databases: how Neo4j and Amazon Neptune work, when graph beats relational, and the real-world use cases where relationships are the data.

Sharding and partitioning are related but different database scaling strategies. A veteran architect explains both approaches, their trade-offs, and when to use each.

The CAP theorem is widely cited and widely misunderstood. A veteran architect explains what it actually means, why it matters, and how real databases navigate it.

A practical guide to distributed SQL databases: what makes them different from regular sharding, when you actually need one, and how CockroachDB, YugabyteDB, Google Spanner, and TiDB compare in production.

Naive database migrations kill production. Here's the expand-contract pattern, online schema change tools, and the specific techniques that let you migrate PostgreSQL and MySQL schemas without taking your app offline.

ACID properties are the backbone of reliable databases. A veteran architect explains atomicity, consistency, isolation, and durability with real-world examples.

A deep dive into the PostgreSQL extensions ecosystem: how extensions work under the hood, when to use TimescaleDB for time-series, Citus for horizontal scaling, PostGIS for geospatial, and the operational trade-offs of building specialized databases on top of Postgres.

Serverless databases separate compute from storage and scale to zero. Here's how Neon, PlanetScale, and Turso work under the hood, when branching genuinely helps, and when to stick with a managed Postgres cluster.

Connection pooling is one of the most impactful and least understood database optimizations. Here's how PgBouncer, RDS Proxy, and pgpool work, when each makes sense, and how to configure them without shooting yourself in the foot.

ClickHouse is a columnar database built for real-time analytics at absurd scale. Here's how it works, why it's faster than the alternatives, and where it fits in your data stack.

A deep technical dive into write-ahead logging: how WAL works in PostgreSQL and MySQL, why it is the foundation of crash recovery and replication, and what every engineer running databases in production needs to understand.

A principal architect's guide to distributed caching: how Redis, Memcached, and Valkey work, when to use each, and lessons from running caches at scale in production.

SQL and NoSQL databases are not interchangeable. A principal architect with 30 years of database experience explains the real differences and when to use each.

A practical guide to vector databases for AI applications: when to use pgvector vs dedicated vector DBs, how ANN indexing works, and what I've learned shipping RAG systems in production.

DuckDB runs in-process like SQLite but handles analytical queries that would choke most data warehouses. Here's how it works, where it excels, and where it breaks down.

A practical guide to RAID 0, 1, 5, 6, and 10 from someone who has rebuilt arrays at 3 AM. Learn how each RAID level works, performs, and fails.

Block, object, and file storage serve fundamentally different purposes. A veteran architect explains how each works, their trade-offs, and when to choose which.

Learn the real differences between SAN, NAS, and DAS storage architectures. A veteran architect breaks down performance, cost, and use cases for each approach.
Practical deep dives on infrastructure, security, and scaling. No spam, no fluff.
By subscribing, you agree to receive emails. Unsubscribe anytime.