Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Connection Pools: Reuse, Limits, and Failure Modes
Connection pools are essential for scalable, reliable software: they reuse expensive connections, enforce limits, and su...
Transactions and Isolation Levels for Programmers
Understand how transactions and isolation levels prevent data anomalies in concurrent systems. Learn core concepts, comm...
Object-Relational Mapping: Convenience and Hidden Costs
Object-relational mapping accelerates development by bridging in-memory objects and relational databases, but it introdu...
Database Migrations as Versioned Application Code
Treating database migrations as first-class, versioned application code ties schema changes to releases, improves reprod...
Full-Text Search Implementation Choices
Choosing how to implement full-text search affects user experience, system complexity, and operational cost. This articl...
Geospatial Queries and Location-Aware Applications
Geospatial queries power location-aware apps from delivery to mapping. This article explains core techniques, tradeoffs,...
Event Sourcing: Storing Changes Instead of Current State
Event sourcing records every change as an immutable event instead of persisting the current state. It enables auditabili...
CQRS: Separating Read Models from Write Models
CQRS separates read and write responsibilities to optimize performance, scalability, and complexity management. This art...
Caching in Application Code: Keys, Expiration, and Invalidation
Caching decisions belong in application code where keys, expiration, and invalidation are explicit. This article breaks...