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持续交付
240
10
通过管道进行部署和发布
发布功能
上一节介绍了代码部署的几种机制和策略。但是,正如我们之前所说,这只是持续交付
的一个方面。你现在能够不断地将新的变更部署到生产环境,但并不意味着应该将这些
变更暴露给用户。用户更喜欢稳定、可预知的体验,他们只能容忍有限的变化。另一方面,
某些变更只有与其他变更配合起来才有意义,但是你不会想一次部署所有的变更,因为
这样的风险太大。你需要另一种部署机制,可以控制向用户公开哪些功能。
另一方面,你要记得不只是向用户提供功能。在微服务领域,服务之间多以
RESTful
API
的形式调用,有时为了启用新的功能,你可能需要改动这些
API
,但是在这种情况
下你需要深思熟虑,因为修改
API
可能会影响到一些客户端应用程序,反过来又会对后
端服务产生级联影响。
因此,你必须有一套独立于服务部署以外的手段,可以控制变更对其他服务的影响,这
样你就可以与负责服务的团队或者企业进行沟通,做出恰当的安排。这就是我们将在本
节中介绍的内容。
服务网格 :发布功能的未来?
2016
年年底以来,人们开始越来越关注服务网格,这是一个专用的基础设施层,
用来让服务与服务之间的通信变得可靠、安全以及快速。这个领域出现了很多开
源项目和商业产品,例如
Linkerd
Envoy/Istio
Cilium
Consul Connect
。在
我们编写本书时,人们仍然围绕服务网格在进行很多尝试,因此我们不会在此提
供相关的指导。但是,我们建议你了解这个有趣的领域,特别是如果你正在使用
容器来运行应用程序。这个领域的思想领袖也对 ...
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