2026.05.08E·97Serverless DB Connection Pooling: Configuring and Optimizing Supabase Supavisor
Solving the database connection exhaustion problem in serverless architectures. An in-depth guide to the architecture, configuration, and optimization of Supabase Supavisor.
DatabaseServerlessSupabase
→2026.02.06F·181SQLite: A Database Without a Server? (Turso and Litestream)
SQLite is just for mobile apps? Turso and Litestream made it a serious option for production web services with edge replication.
SQLiteTursoLitestream
→2026.02.05F·180Zero-Downtime DB Migration: The Terror of Schema Changes in Production
Adding a column to a production table locked it for 5 minutes. Learning zero-downtime migration strategies the hard way.
DatabaseMigrationZero Downtime
→2026.02.04F·179Full-Text Search: Building Search with Just Your Database
You don't always need Elasticsearch. PostgreSQL's built-in Full-Text Search handles most search needs without extra infrastructure.
Full-Text SearchPostgreSQLDatabase
→2026.02.03F·178PostgreSQL Advanced Features: JSONB, CTE, and Window Functions
Beyond basic SELECT: JSONB, CTEs, and Window Functions dramatically expand what you can do in a single SQL query.
PostgreSQLSQLDatabase
→2026.02.02F·177Redis: More Than Just a Cache
I only used Redis as a cache until I discovered it handles sessions, leaderboards, pub/sub, and rate limiting. It's a Swiss Army knife.
RedisCacheDatabase
→2026.01.09S·13Search System Design: Elasticsearch vs Building Your Own
Started with SQL LIKE, hit its limits, moved to Elasticsearch, and got shocked by operational costs. The real trade-offs of search systems.
System DesignSearchElasticsearch
→2026.01.05S·09Designing a URL Shortener: Looks Simple, Full of Traps
A URL shortener sounds trivial until you face hash collisions, expiration policies, and redirect latency. A microcosm of system design.
System DesignArchitectureHashing
→2025.12.14E·28Supabase Free Plan Limits: How to Survive Disk & CPU Exceeded
Service is growing, but Supabase alerts 'Disk Full'? Understanding the real limits of the Free Tier and optimization tips to survive without upgrading.
SupabaseCost OptimizationDatabase
→2025.12.06G·28Supabase: Mastering Foreign Keys & JOIN Queries
Querying related data returns null? Fix common Foreign Key issues in Supabase and master the `select(*, related_table(*))` syntax. Deep dive into Many-to-Many and Inner Joins.
SupabaseSQLDatabase
→2025.12.05G·27Supabase: Debugging RLS Policies (Row Level Security)
Data exists in DB but returns empty array in Flutter? It's RLS. Learn to write correct Row Level Security policies for SELECT, INSERT, and UPDATE.
SupabaseRLSDatabase
→2025.09.10B·02ACID Transactions: The Database's Unbreakable Vow
Why banks use RDBMS over NoSQL. A deep dive into Atomicity, Consistency, Isolation, Durability, Transaction Isolation Levels, Deadlock prevention, and how to ace this topic in technical interviews.
CSBackendDatabase
→2025.09.05B·01Redis Deep Dive: Caching Patterns & Eviction Policies
Look-aside pattern vs Write-Through. LRU Eviction explained. Persistence trade-offs (RDB vs AOF). Single-threaded nature of Redis.
CSBackendRedis
→2025.07.27M·07Vector DB: New Database for AI Era
Understanding vector database principles and practical applications through project experience
vector-dbembeddingai
→2025.07.15Y·06My Database Was Wiped Out Because of a Single Quote (SQL Injection)
How I lost my data due to a simple SQL Injection. Why Prepared Statements are the only silver bullet and if ORMs are truly safe.
SecurityDatabaseBackend
→2025.07.10D·02SQL vs NoSQL: The Ultimate Textbook of Database Architecture
The definitive guide for Architects. Covers Storage Engines, Distributed Systems Theory (CAP, PACELC), Transactions, Sharding, Glossary, and FAQ.
DatabaseSQLNoSQL
→2025.07.08F·159Replication: Availability and Read Distribution
Understanding high availability and read performance improvement through database replication
databasereplicationhigh-availability
→2025.07.07F·158Sharding: Horizontal Partitioning
Understanding database sharding and handling massive traffic through practical experience
databaseshardingscalability
→2025.07.06B·01One Line of Code That Kills Your DB: The N+1 Problem Explained
Add one small feature and suddenly your DB CPU hits 100%. The culprit is usually the N+1 problem caused by ORM's Lazy Loading. Here's how to diagnose it, cut 1000 queries down to 1, and avoid the ORM mistakes that cause it.
DatabaseORMPerformance
→2025.07.05F·155Connection Pool: Reusing Database Connections
Understanding database connection pooling and performance optimization through practical experience
databaseconnection-poolperformance
→2025.07.03F·154Database Transaction: The Atomic Unit of Work
Understanding database transactions and ACID properties through practical experience
databasetransactionACID
→2025.06.30F·153Normalization: Kill Duplicates
Foundation of DB Design. Splitting tables to prevent Anomalies. 1NF, 2NF, 3NF explained simply.
CSDatabaseNormalization
→2025.06.18S·08CAP Theorem: The Impossible Trinity of Distributed Systems
Why you can't have it all. Consistency vs Availability in the face of Partitions. Explaining CP (MongoDB) vs AP (Cassandra) and the extended PACELC theorem.
System DesignDatabaseTheory
→2025.06.10S·06Database Sharding: How to Scale Beyond Limits
When Scale-Up fails, Scale-Out is the answer. Vertical vs Horizontal Partitioning, Shard Key selection strategies (Geo vs Hash), and the complexity of Distributed Transactions.
System DesignDatabaseBackend
→2025.06.04A·01Distributed Transactions in Microservices: Beyond ACID
When you break a monolith into microservices, you lose ACID transactions. How do you ensure data consistency across boundaries? We explore the limitations of Two-Phase Commit (2PC) and dive deep into the Saga Pattern, Event Consistency, and practical implementation strategies like Choreography vs Orchestration.
MSAArchitectureDatabase
→2025.05.16D·01Database Indexing: Why B-Tree is the King of Databases
A comprehensive guide to Database Indexing. Understanding the B-Tree structure, the difference between Clustered and Non-Clustered Indexes, and why Hash Indexes are rarely used for range queries. Includes a dedicated section on 'The Index Usage Anti-Patterns'.
DatabaseSQLOptimization
→2025.04.18F·79B-Tree: The Algorithm Behind Database Indexes
Binary Tree is for RAM. Disk is slow. B-Tree minimizes Disk I/O by being short and fat. Difference between B-Tree and B+Tree, and why databases love them.
CSDataStructureTree
→2025.03.07F·45Deadlock: The Infinite Waiting Game (Definitive Guide)
Why processes freeze forever. From Dining Philosophers to Distributed Deadlock Detection. Includes Resource Allocation Graphs, Banker's Algorithm, and Java/DB examples.
CSOSDeadlock
→