Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
【One-Line Pitch】
A concise field guide to the major software architecture styles—what each one is, how it behaves under real-world constraints, and when to choose it over the alternatives. Best for senior developers, tech leads, and architects who need to make and defend structural decisions rather than just write code.
【Book Arc】
- **Opening (~0%–10%)**: Frames the problem—applications built without a deliberate architecture drift into a "big ball of mud" that is brittle and hard to change. Introduces the vocabulary of architecture styles, patterns, and design patterns, and how they nest and combine into hybrids.
- **Early (~10%–32%)**: Establishes the two big classification axes: monolithic vs. distributed structures, and technical vs. domain partitioning. Explains the trade-offs (simplicity and cost vs. scalability, fault tolerance, and agility) and the fallacies of distributed computing that undercut naive assumptions.
- **Middle (~32%–55%)**: Walks through the concrete styles—layered architecture with its open/closed layer rules and layers-of-isolation concept, then event-driven and microkernel styles, each with topology, examples, and analysis.
- **Late (~55%–65%)**: Covers the distributed heavyweights—microservices and space-based architecture—plus the appendix-style style analysis summary that compares characteristics across styles.
- **Ending (~65%)**: Consolidates the comparison so readers can match a style to a business problem rather than defaulting to the trendiest option.
【Key Takeaways】
- **Architecture styles define a system's "-ilities"** (Opening): scalability, performance, agility, and fault tolerance are largely determined by the chosen style, not by later tuning—so the choice matters early.
- **Monolithic vs. distributed is the first fork in the road** (Early): monoliths are simpler, cheaper, and faster to build; distributed systems buy scalability, fault tolerance, and agility at the cost of significant complexity and operational overhead.
- **The fallacies of distributed computing are not optional reading** (Early): assumptions like "the network is reliable" and "latency is zero" are false, and they make distributed systems hard to keep deterministic and reliable.
- **Partitioning shapes maintainability** (Early): technically partitioned architectures group by layer (presentation, business, persistence), while domain-partitioned ones group by business domain—domain partitioning isolates changes and eases testing and deployment.
- **Layered architecture lives or dies by open/closed layers** (Middle): closed layers enforce isolation and reduce coupling, but open layers are needed to let requests bypass layers that add no value; failing to document this leads to brittle systems.
- **Microkernel is uniquely flexible** (Early/Middle): it can be technically or domain partitioned depending on whether plug-ins act as adapters or as functional extensions.
- **Hybrids are normal, not exceptional** (Opening): event-driven microservices, space-based microservices, and event-driven microkernels are common because no single style solves every problem—but you must understand the individual styles before combining them.
- **Style selection should follow business characteristics** (Early): if only part of the system needs scale, availability, or agility, a distributed architecture may be warranted; simple systems usually favor the simpler, cheaper monolith.
【Reading Tips】
- Read the classification chapters (monolithic vs. distributed, partitioning) carefully—they are the decision framework the rest of the book hangs on.
- Skim the per-style example sections on a first pass; return to them when you are evaluating a specific style for a real system.
- Pay close attention to the open/closed layer discussion and the fallacies of distributed computing—these are the concepts most often misapplied in practice.
- Use the style analysis summary as a comparison table when you need to justify a choice to stakeholders.
- Treat the book as a decision aid, not a tutorial: the goal is to pick the right style, not to master every implementation detail.
【Coverage Limits】
This guide is based on stratified excerpts covering roughly the first two-thirds of the book; later chapters on microservices and space-based architecture are referenced but their detailed content is not fully represented here. Specific code examples and the full style analysis summary are only partially covered.
Page 3
s or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights. 978-1-0...
e 2-1. Monolithic architectures are single deployment units While cost and simplicity are the main strong points of a monolithic architecture, operational ch...
itioned architecture, components are grouped by domain area The clear advantage of domain partitioning within an architecture is that changes to a particular...
ith closed layers, the request must pass through that layer The layers of isolation concept also means that each layer is inde‐ pendent of the other layers,...
stics) of the layered architecture in terms of star ratings. One star means the architecture characteristic is not well supported, whereas five stars means i...
partitioned architecture. Considerations and Analysis | 29 When to Consider This Style The microkernel architecture style is good to consider as a starting p...
event or message. Consider the example in Figure 5-3 where the Order Placement service is sending out a Order Placed event that is responded to by the Paymen...
rm of a schema that can be housed in a single highly avail‐ able database or a single database devoted to a particular domain. The key concept to understand...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Software Architecture Patterns Understanding Common Architectural Styles and When to Use Them (Mark Richards)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
Software Architecture Patterns Understanding Common Architectural Styles and When to Use Them (Mark Richards)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Software Architecture Patterns Understanding Common Architectural Styles and When to Use Them (Mark Richards)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
这本书围绕常见的软件架构风格展开,讨论它们各自的结构特点、适用场景以及在不同架构特征上的表现。作者 Mark Richards 在第二版中延续了对架构模式的梳理,把分层架构、事件驱动架构、微服务等放在同一个分析框架下比较,帮助读者理解为什么某种风格适合某类问题,而不是简单地罗列模式定义。
从摘录可以看出几条主要线索。其一是分层架构的组织方式:用户界面层负责处理所有界面和浏览器通信逻辑,业务层负责执行与请求相关的具体业务规则,每一层各司其职,形成清晰的职责边界。其二是对架构特征的评价方法,作者用星级来标注某种架构对特定特征的支撑程度,一星表示支撑较弱,五星表示非常适合,这种直观方式便于在不同风格之间做取舍。其三是事件驱动架构中的部署单元,事件处理器如今通常称为服务,其粒度可以从单一职责的功能(例如校验订单)一直扩展到大型复杂处理流程,说明同一风格内部也有很大的设计弹性。其四是微服务与数据归属的关系,服务所拥有的表只能由该服务访问,数据可以放在单个高可用数据库中,也可以按领域拆分,关键在于所有权边界。此外,摘录还提到微服务在单个服务层面上的弹性,使得平均恢复时间和平均修复时间远小于单体应用,通常以秒甚至毫秒计,而不是以分钟计。
Digital LibraryAI Assistant
Hi — I can help you pick a book. Tell me a topic, language, or level, e.g. “a light English read”. If that's too broad, I'll ask one follow-up.
Loading comments...
Reply to Comment
Edit Comment