Skip to Content
Java持续交付
book

Java持续交付

by Daniel Bryant, Abraham Marín-Pérez
November 2019
Beginner to intermediate
406 pages
9h 21m
Chinese
Publishing House of Electronics Industry
Content preview from Java持续交付
28
3
设计持续交付的架构
从头开始设计和建造一个用途明确的房子要容易得多,设计和构建软件也是一样的。
架构不好的另一个隐性成本是,你不得不花费大量时间来修补系统,而没有时间创新。
如果你的时间都像“打地鼠”一样用来解决各种软件
bug
,而不是开发新的功能,那么
你肯定知道架构是有问题的。良好的软件架构会降低
bug
出现的可能,并且降低
bug
来的负面后果,这样的系统会把错误“包裹”起来,并且能够通过架构所提供的机制,
用最小的成本来解决任何问题。良好的架构也更加鼓励创新,因为它更清楚需要如何来
支持创新,架构本身也可以成为创新的催化剂,让你看到隐藏在表面之下的机会。
尽管从某种程度上讲,对架构质量的持续监控和分析,直接影响持续交付的水平,但
是构建管道可以成为一种收集相关指标的有效方式。你可以在构建过程中加入像
SonarQube
之类的工具,用来显示代码的内聚性、耦合性和复杂性,还可以使用高级的
复杂性指标报告,例如圈复杂度(检查程序源代码中依赖路径的数量)和设计结构质量
指数(
DSQI
,一种用于评估计算机程序设计结构和模块效率的架构设计指标)。
其他工具,例如
Adam Tornhill
Code Maat
,也可以通过对版本控制系统的数据挖掘和
分析,显示被频繁调用的代码库。这可以向企业证明,花费时间和金钱来改进架构,有
助于理解代码中频繁调用的复杂逻辑,并且反过来能得到更高的投资回报。
复杂性和变更成本
成熟的、遗留的架构一般都会由多种技术组成,主要基于当时流行的框架和相关工程师
的经验。这就是架构中缺乏结构(或者结构过于复杂)会对组织产生很大影响的地方 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Java性能优化实践:JVM调优策略、工具与技巧

Java性能优化实践:JVM调优策略、工具与技巧

Benjamin J. Evans, James Gough, Chris Newland
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787121374425