Java
- Engineering
How the JVM HotSpot Works: Explained Simply
A simple explanation of how the JVM makes Java fast over time: interpretation, JIT compilation, and the optimizations that happen behind the scenes.
- Engineering
Everything About Transactions in Java: From ACID to Distributed Systems
A comprehensive deep-dive into transactions in Java production: from the reason ACID exists, isolation levels, @Transactional pitfalls, Hibernate internals, locking strategies, to the Saga pattern and Transactional Outbox for microservices.
- Engineering
Best Practices for Writing Common Libraries in Java
A comprehensive guide to building common libraries in Java: API design, dependency management, versioning, compatibility, and practical experience from production environments.
- Engineering
Building High-Performance REST APIs in Java
A comprehensive deep-dive into performance optimization for Java REST APIs in production: from request lifecycle, database bottlenecks, connection pooling, caching strategies, JVM tuning, to observability and production incident war stories.
- Engineering
Everything About Threads in Java
Threads explained from first principles: why they exist, race conditions, deadlocks, thread pools, and practical patterns to avoid concurrency bugs in production.
- Engineering
Java: Pass by Value or Pass by Reference?
Java is pass-by-value only. This post explains why that design decision exists, what bugs arise from misunderstanding it, and practical patterns to avoid unintended side effects in production.
- Engineering
How HashMap Works Internally
A deep-dive into HashMap's internals: why each component exists, what bugs arise from misunderstanding it, and how the design decisions affect production code.