- Home
- Java Ecosystem
- Book 7
Book 7: Application Architecture & Distributed Systems
From one service to many: architectural thinking, styles, DDD, distributed systems, microservices, events, resilience and evolution.
The library is released one complete volume at a time, in order, starting with Book 1. The current release is Book 1, Volume II (Generics, Collections & Type System). The other volumes show the first topics published earlier; each fills in when its turn in the release order comes.
Architecture Fundamentals & Architectural Thinking
1.1 Software ArchitectureDefinition, architecture vs design and implementation, structure and behaviour1.2 Architecture ResponsibilitiesStructure, constraints, technology choices, integration, quality attributes and evolution1.3 Architect vs DeveloperDifferent responsibilities, decision scope, technical leadership and trade-off analysis1.4 Architecture as Decision-MakingContext, alternatives, constraints and consequencesVolume page →Application Architecture Styles & Patterns
1.1 Monolith FundamentalsSingle deployable unit, internal modules and shared runtime1.2 Types of MonolithsModular monolith, layered monolith and big ball of mud1.3 Monolith AdvantagesSimplicity, deployment, debugging and transactions1.4 Monolith LimitationsScaling, deployment coupling and technology couplingVolume page →Domain-Driven Design & Business Boundaries
1.1 Domain-Driven DesignDomain, model and ubiquitous language1.2 Strategic vs Tactical DDDStrategic design and tactical design1.3 Domain ComplexityCore, supporting and generic domains2.1 Bounded ContextDefinition and model boundaryVolume page →Distributed Systems Fundamentals
1.1 What Is a Distributed System?Multiple nodes, network communication and independent failures1.2 Why Distributed Systems ExistScale, availability, geographic distribution and organisational boundaries1.3 Distributed System ComplexityNetwork, timing, partial failure and consistency2.1 Network FailuresPacket loss, latency, timeout and connection failureVolume page →Microservices Architecture
1.1 What Makes a Microservice?Business capability, autonomous deployment and data ownership1.2 Service GranularityToo large, too small and right-sized services1.3 Microservice BoundariesBusiness capability, team ownership and data ownership2.1 Decomposition StrategiesBusiness capability, domain, workflow and data ownershipVolume page →Event-Driven & Asynchronous Architecture
1.1 Event FundamentalsEvent, producer, consumer and broker1.2 Event TypesDomain, integration and notification events1.3 Event-Carried StatePayload design and consumer autonomy2.1 Event LogAppend-only log and offsetVolume page →Resilience, Scalability & Distributed Data
1.1 ScalabilityVertical and horizontal scaling1.2 Stateless ArchitectureSession externalization1.3 Load BalancingRound robin, least connections and weighted routing1.4 Elastic ScalingMetrics and autoscalingVolume page →Architecture Decision-Making & System Evolution
1.1 ADRContext, decision, alternatives and consequences1.2 Architecture Decision ProcessProblem, constraints, options, evaluation and decision1.3 Reversible vs Irreversible DecisionsOne-way doors and two-way doors2.1 Trade-offsCost, performance, scalability, availability, security and complexityVolume page →
Free question pack
Get 100 free Core Java interview questions
Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?