Browse by topic
Algorithms
Patterns and solutions in Java, organised by data structure and technique.
Java
Collections, IO, concurrency, modern Java and the JVM.
Spring
Core, Spring Boot, data access, security and Spring Cloud.
Kafka
Producers, consumers, topics, partitions and operations.
Apache Camel
Routes, integration patterns and connectors.
DevOps
Docker, Kubernetes and Helm for Java services.
Popular articles
LRU Cache: Design & Implementation
Build an O(1) LRU cache using a doubly-linked list combined with a HashMap.
Building REST APIs with @RestController
GET, POST, PUT, DELETE endpoints with path variables, request bodies and ResponseEntity.
Java Virtual Threads: Project Loom
Lightweight threads for blocking code: how virtual threads work and when to use them.
Dynamic Programming: Introduction
Memoization vs tabulation, recognising overlapping subproblems, general templates.
Aspect Oriented Programming (AOP)
Logging, performance timing and cross-cutting concerns with @Aspect and @Around.
Kafka: Architecture Introduction
Producers, consumers, brokers, topics and partitions explained with diagrams.