Software Design & Architecture
Design principles and architecture with Java examples: SOLID, clean code, OOP, UML, Domain-Driven Design and system design.
The Trade-offs Every Engineer Should Know Before Their Next Whiteboard Interview
System Design on AWS: The Trade-offs Every Engineer Should Know Before Their Next Whiteboard Interview
How to Break Down a Software Project into Tasks: From Epics to User Stories, with a Real Example
“Build the new customer portal” is not a task. Nobody can estimate it, start it, or tell when it’s done. Projects fail less from bad code than from work nobody...
Software Design Principles Explained with Java Examples: SOLID, DRY, KISS, YAGNI and More
Why are some codebases still easy to change after five years, while others need a rewrite after one? It’s rarely the framework or the language. It’s whether the people who...
Access Denied When Deleting Files in a Load-Balanced Java Cluster
Your Java application runs on two servers behind a load balancer. Both write images to the same file server. Everything works, until one day old images stop being deleted, and...
Ubiquitous Language in Domain-Driven Design: How to Build One, with Java Examples
The business people say delivery note, the ticket says shipping document, and the code says DocService.getDoc(). Every conversation needs a translation, and every translation is a chance for a bug....
OOP Concepts in Java: The 4 Pillars and Composition, with Examples
Get object-oriented programming (OOP) wrong and you’ll pay for it for years: tangled classes, features that break other features, a codebase nobody wants to touch. Get it right, and new...
UML Diagrams for Java Developers: From Requirements to Code
The Unified Modeling Language (UML) is a graphical notation for modeling software systems. UML diagrams are not just pretty pictures: they communicate design decisions to the developers who build the...
Open-Closed Principle in Java with a Spring Boot Example (SOLID Part II)
SOLID principles tell you how to arrange your functions into classes and how those classes should depend on each other. Applied well, they make your software easier to change, easier...
Hot-Warm-Cold Architecture in Elasticsearch: Data Tiers, ILM and Centralized Logs
Recent logs are written and searched all the time. Logs from last month are searched now and then, and logs from three months ago almost never. Keeping all of them...
Clean Code Best Practices: 10 Rules with Java Examples
Clean code is code that a developer other than its author can read, change and extend without fear. The idea was made popular by Robert C. Martin in his book...
SOLID Principles in Java: The Definitive Guide with Examples
SOLID is a set of five principles that tell you how to arrange your code into classes and how those classes should depend on each other. Code that follows them...