Tuning HikariCP for High-Throughput Spring Boot Services

I recently handled a production outage where a Spring Boot 3.2 service running on Java 21 started throwing SQLTransientConnectionException during a 5x traffic spike. The application wasn't cra…
Tuning HikariCP for High-Throughput Spring Boot Services

Spring Boot OAuth 2.0 Resource Server: Securing Enterprise APIs

When moving from a monolithic session-based architecture to a distributed microservices environment, security often becomes the primary bottleneck. In my recent project migrating a fintech platform…
Spring Boot OAuth 2.0 Resource Server: Securing Enterprise APIs

Spring Boot 3 Migration: Solving Jakarta EE Namespace Conflicts

Moving a production monolith or a fleet of microservices from Spring Boot 2.7 to 3.x is not a "bump the version and pray" task. I recently led a migration for a fintech platform where we …
Spring Boot 3 Migration: Solving Jakarta EE Namespace Conflicts

Resolving Spring Boot JPA N+1 Problems with Fetch Joins

I recently audited a legacy Spring Boot 3.2 service where the dashboard latency had crept up to nearly five seconds for a simple list of "Recent Orders." On the surface, the code looked c…
Resolving Spring Boot JPA N+1 Problems with Fetch Joins