Blog
Articles on software systems, design and engineering, by Janardhan Chejarla.
Java 25 Starts Your Spring Boot App 2x Faster. Here’s How
Five ways to start a Java service faster, measured on JDK 25. The JDK AOT cache halves startup with one build step, and Spring AOT takes it further.
Spring and ThreadLocals: Request Context Across Threads
How Spring uses ThreadLocals to manage request context, and how to keep work correct when it runs outside the request thread.
Debug Logs for Every Failed Request
Production services log at INFO, so when a request fails, the DEBUG lines that would explain it were never written. Why I built debug-on-failure, how it keeps DEBUG lines only for failed requests, and what it costs.