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持续交付
使用基础设施即代码
59
CI/CD
FaaS
FaaS
平台中实施持续交付,几乎可以毫不费力地部署应用程序,甚至云服务商可能
会强制你使用持续交付
y
专心创建一个
CD
管道,将你的应用程序(或者即使是为了验证概念原型)打包
为一个容器镜像,然后将它从本地开发环境部署到生产的
FaaS
环境。这将暴露
在使用
FaaS
过程中遇到的任何技术或组织问题。
y
如果你正在运行自己的
Kubernetes
平台,请将所有配置保存在版本控制系统中,
并通过
Terraform
Ansible
IaC
工具,自动化执行安装和升级操作。但是,
一般来说,使用云服务商提供的托管产品,会比自己搭建平台的性价比更高。
y
将所有应用程序的配置和元数据保存在版本控制系统中,例如,任何的服务发现
配置或者自定义的构建容器。其中,元数据还应该包括函数当前的最新版本。
y
确保你会为每个函数开放并收集核心的监控指标,例如内存使用量和执行时间。
y
在构建管道中进行压力测试时,可以尝试“合理地调整大小”:你需要将函数部
署到各种不同的容器
/
实例
/
运行时环境中,然后评估在各种环境中的吞吐量和
延迟。对
FaaS
应用程序进行压力测试通常会比较难,因为底层平台通常会根据
压力自动伸缩,但容器
/
实例
/
运行时的大小(包括
CPU
和内存)会影响单个和
所有函数的执行速度。
y
用你学习到的知识(和经验)来创建构建管道
例如,负载测试、安全测试和
失败
/
恢复测试。
y
虽然
FaaS
平台让你无须关注服务器(以及相关的安全补丁),但是不要忘记,你
还是需要发现并解决代码及相关依赖中的安全问题。 ...
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, Ganesh Sanjiv Naik
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
解密金融数据

解密金融数据

Justin Pauley
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787121374425