Profiling Node.js Memory Leaks: Deep Dive into V8 Heap Analysis

TL;DR: Identify memory leaks by comparing multiple heap snapshots using Chrome DevTools or the v8 module; focus on "Retained Size" to find the root cause of ERR_WORKER_OUT_OF_MEMORY in…
Profiling Node.js Memory Leaks: Deep Dive into V8 Heap Analysis

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