Spring Boot Transactional Pitfalls: Proxies, Propagation, Rollback
Learn why @Transactional fails silently: proxy self-invocation, default rollback rules, propagation semantics, lazy loading, and how to verify boundaries.
14 min read
Archive
295 published
Learn why @Transactional fails silently: proxy self-invocation, default rollback rules, propagation semantics, lazy loading, and how to verify boundaries.
14 min read
Wire the Kubernetes HPA to request rate, queue depth and latency via custom and external metrics, and choose between Prometheus Adapter and KEDA.
14 min read
Choose between FastAPI BackgroundTasks, ARQ, and Celery based on durability, retries, and isolation, with idempotency, enqueue, and testing guidance.
15 min read
How cascading failures spread between services, and how to design timeouts, deadline propagation, retry budgets, bulkheads and circuit breakers together.
19 min read
Build a custom Nx plugin with createNodes that turns your own config files into cache-correct inferred tasks, with testing, debugging and trade-offs.
14 min read
Learn the exact order of the NestJS request lifecycle, what context each layer sees, and how to pick middleware, guards, interceptors, pipes or filters.
13 min read
Learn how gRPC deadlines propagate across services, how to choose and translate status codes, and how to retry safely without causing retry storms.
14 min read
Compare in-process workers, a database-backed job queue and a message broker for monolith background jobs, with retries, idempotency, scheduling and scaling signals.
20 min read
Learn how to mint, propagate, and enforce idempotency keys across microservices so retries, redeliveries, and timeouts never cause duplicate side effects.
16 min read
Compare shared tables with row-level security against schema per tenant for a multi-tenant monolith: isolation, migrations, performance, lifecycle, and cost.
15 min read
Learn how to extract your first service from a monolith by choosing a clean seam, untangling data, cutting over safely, and budgeting for platform work.
13 min read
Rank slow queries by total cost with pg_stat_statements, then use EXPLAIN (ANALYZE, BUFFERS) to find row misestimates and fix the real cause.
13 min read