Articles
19 long-form articles on Java, Spring Boot, Kafka, databases and AI engineering. Each one is researched from named sources, which are listed at its end.
What a forward deployed engineer does, and how to prepare
A forward deployed engineer is a software engineer who works inside the customer's organization rather than inside the product team. The job is to build and ship custom solutions...
Chain of Thought or ReAct: Choosing Between Them
A support queue needs priorities. Every incoming ticket has to carry a label, P1 through P4, before it reaches a human, and you have been handed the feature. Two implementations...
How LinTS and bandits choose models in an AI gateway
An AI gateway is a single endpoint that sits in front of several language models and forwards each incoming request to one of them. Model routing is the choice it makes on every...
How Kafka Rebalances a Consumer Group, Step by Step
The orders topic has six partitions. Consumer A owns 0 through 2, consumer B owns 3 through 5, and both are keeping pace with the write rate. Ahead of a traffic spike you start a...
How Kafka Handles Backpressure: Durable Log, Pull Consumers, Blocking Producers
send() is asynchronous in a specific and limited sense: it hands a record to an in-memory buffer and returns. When that buffer has no room, it does not return. A payments service...
Debugging Kafka in Production: Four Failure Modes and Their Parameters
The orders-events topic has 12 partitions, consumed by six instances of a payments-enrichment service. Roughly every five minutes, the group logs a rebalance, all 12 partitions...
How Spring Data JPA, JPA, and Hibernate Work Together
Spring Data JPA is a Spring Framework module that lets Java backend developers query a relational database without writing SQL, by generating database access code from annotated...
Tuning HikariCP in Spring Boot for High-Throughput Database Performance
HikariCP is Spring Boot's default JDBC connection pool. It maintains a fixed set of pre-opened database connections that application threads borrow, use, and return, eliminating...
How to Scale a Spring Boot App to 1 Million Requests Per Minute
Spring Boot is a Java framework for building web services, and its out-of-the-box configuration is tuned for developer convenience, not production throughput. This article...
Five Kafka Design Patterns Every Backend Engineer Should Know
Kafka is a distributed commit log. Producers append records to topics; consumers read those records independently, each maintaining their own offset into the log. Unlike a...
How Spring AI Works: LLMs, Embeddings, and RAG for Java Engineers
Spring AI is a Spring Boot framework that connects Java applications to LLMs and vector stores using the same dependency-injection patterns Spring developers already know. Your...
How Spring Security works with JWT, OAuth2, and SSO
Spring Security is a framework that intercepts every HTTP request entering your application and enforces authentication and authorization rules before that request ever reaches a...
The Gap Between @KafkaListener and Reality
An engineer adds spring-kafka to the pom.xml, drops @KafkaListener(topics = "orders") above a method, points it at a broker, and watches messages flow into the logs within ten...
30 Seconds of Nothing: Why Spring Boot's Startup Log Tells You Almost Nothing
You audit every @PostConstruct method. You strip out the ones doing redundant work. You rerun the app, watch the terminal, and see: Started Application in 34.2 seconds. That...
Why Your Spring Boot Service Stalls at 80K RPS (And It's Not the Hardware)
This tutorial walks through a sequence of architectural changes that can take a Spring Boot service from a typical ceiling of 50-80K requests per second to over 1M RPS, without...
From Java 8 to Java 25: A Language Growing With Intent
Paste code from a Java 21 project into a Java 8 codebase and almost nothing will compile. Records, sealed interfaces, pattern-matching switch expressions, text blocks, none of it...
Five Spring Boot Patterns That Prevent Production Failures: Configuration, Shutdown, Async, Circuit Breaking, and Health Probes
Spring Boot is an opinionated framework for building Java services quickly, it auto-configures your web server, data source, and application context so you can focus on writing...
The Silent Override: When Your @Bean Definition Loses Without a Fight
The application starts in 4.2 seconds. No stack traces. The banner prints, the actuator health endpoint returns UP, and the Hikari pool reports ten idle connections. Then the...
The Moment the Magic Breaks
It's 4:47 PM on a Thursday. You've added one more @Autowired field to a service that has worked for eighteen months, restarted the app, and the console hits you with: