A practical collection of revision notes and Java examples covering system design fundamentals, software design principles, and common design patterns.
- System Design Basics - Scalability, databases, caching, messaging, and distributed-system concepts
- Design Principles - Java examples of SOLID, DRY, KISS, and YAGNI
- Design Patterns - Java implementations of creational design patterns
- Kubernetes - Deployment strategies and rollout trade-offs
- Fundamentals
- Horizontal vs. Vertical Scaling
- CAP Theorem
- Load Balancing
- Consistent Hashing
- Message Queues
- Microservice Architecture
- Database Partitioning and Sharding
- Caching
- Avoiding a Single Point of Failure
- Content Delivery Networks
- Publisher-Subscriber Model
- Event-Driven Systems
- Single Responsibility Principle
- Open/Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
See the design principles overview for explanations and usage guidance.
Structural and behavioral pattern examples are planned. See the design patterns overview for details.
- Deployment Strategies - Rolling updates, canary releases, blue-green deployments, and recreation
- Read the Markdown notes directly in GitHub or a Markdown viewer.
- Open the Java files with any Java-compatible editor or IDE.
- Compile an individual example with
javacwhen it is self-contained.
Contributions are welcome. When adding a topic:
- Follow the numbered naming convention used in the relevant directory.
- Add the new note to this README.
- Use relative links so files remain navigable on GitHub.