-
One @Transactional Mistake Crippled My Spring Boot App: A Flash Sale, Measured →
A Spring Boot checkout calls the card provider inside one @Transactional method. Under a flash sale, checkout takes 24 seconds, a different product page takes 23.7 seconds, and the CPU sits mostly idle. A bigger connection pool changes nothing. Paying after the commit brings checkout to 106 ms. Every number measured, with the code, the thread dump, the Postgres lock waits and what the fix costs.
-
Java Object Relationships: Inheritance, Composition and Polymorphism →
One payment scenario, six relationships. A subclass that counts three payments as six, the obvious fix that breaks when the parent changes one line, the delegating version that does not, association, aggregation and composition told apart by three questions, and polymorphism by overriding against a sealed switch. Real Java code, the class diagram notation, and the output of every run.
-
Spring AI Refund Agent With No Approver: 4 Failures and the Java That Stops Them →
A Spring AI MCP server lets an agent refund anything under $20 with nobody approving it. Forty $19.99 refunds pass the check and $799.60 leaves. Four failures, each measured on real runs: the $20 loophole, the race, the lost answer and the kill switch, with the Java that bounds each one, the real agent transcripts and nine tests that need no model.
-
Complete CI/CD Pipeline, Step by Step: GitLab to AWS EKS →
A complete, hands-on CI/CD lab. GitLab CI pipelines that test, scan and gate every change, one image promoted by digest through four environments on AWS EKS, Argo CD keeping each in sync with Git, and a canary that judges itself on real orders.
-
Spring Boot 4: What Actually Changed? (3.5 → 4.1) →
One real Spring Boot 3.5 orders service upgraded to 4.1, step by step, following Spring's own migration guide. Every change sorted into what breaks loudly, what breaks silently, and what you can now opt into, with the 3.5 and 4.1 code side by side.
-
Spring Boot to Python (FastAPI): Where Your Code Runs →
One payments service built twice, in Spring Boot and in FastAPI, layer for layer. A Spring developer's instinct is right about the shape of the code and wrong about where it runs: types, def against async def, AnyIO's thread limit, object lifetime, a 201 with no row behind it, background work and worker processes, each measured on both stacks.
-
Application Events in NestJS, for Spring Developers: Rolled Back, Receipt Sent →
A declined payment rolled back, and the receipt email had already gone, on Spring Boot with a plain @EventListener and on NestJS with @OnEvent. Measured: who waits, who hears a failure, and how to emit only after the commit.
-
Docker for Spring and NestJS: 385 MB to Change One Line →
Our own NestJS Dockerfile handed the builder 385 MB of context and put macOS packages in a Linux build. Measured on both stacks: .dockerignore, multi-stage builds, what one changed line rebuilds, and the root user both images started with.
-
Email and Translations in NestJS, for Spring Developers: The German Receipt →
A French customer got a German receipt from Spring Boot. Measured against the new first-party @nestjs/i18n and nodemailer: locale fallback, missing keys, a mail server that never answers, and a send that ended a process.
-
Graceful Shutdown in NestJS, for Spring Developers: Payment Killed →
A stop signal half a second into a payment: NestJS as created was gone in milliseconds, Spring Boot 4.1 finished the payment and drained. Measured on both: Actuator and Terminus, shutdown hooks, and the readiness flip.