Skip to Content
持續交付|使用Java
book

持續交付|使用Java

by Daniel Bryant, Abraham Marín-Pérez
July 2019
Intermediate to advanced
480 pages
9h 35m
Chinese
GoTop Information, Inc.
Content preview from 持續交付|使用Java
20
| 第二章
為無伺服器產品實際上是 FaaS 的超集合,它也包含其他的後端即服務(BaaS)產品,
例如 blob 儲存器與 NoSQL 資料存放裝置。FaaS 仍然需要用伺服器執行 app 的功能,但
是它的重點通常是減少運行與維護“功能底層的執行環境與基礎結構”的負擔。它的開
發與計費模型也很獨特,因為它的功能是被外部事件觸發的(可能是時間到了、有用戶
請求透過 API 閘道傳過來,或有物件被上傳到 blobstore),你只要支付功能的執行時間
以及記憶體所需的費用即可。
功能 功能 功能
OS OS OS
容器
虛擬機器監視器(第 1 型)
CPU/記憶體/儲存器 網路
實體基礎設施
部署組態
實體基礎設施
邊界
“平台”
容器 容器
X-aaS
引擎
實體基礎設施
軟體負載平衡器
作業系統
功能 功能
OS OS
容器
虛擬機器監視器(第 1 型)
CPU/記憶體/儲存器 網路
實體基礎設施
容器
作業系統
動態
組態
分散式協調 / 調度器
2-4 用 FaaS 模型部署 Java app。程式碼被包在 JAR ZIP 裡面,接著被部署到底層的平台
(通常使用容器)並透過它來管理。
AWS Lambda Azure Functions 都支援 Java,所以你只要將含有 Java 程式碼的 JAR
ZIP 檔上傳到對應的服務來進行部署即可。
持續交付平台的影響
開發者經常有個疑問:app 工件的包裝格式會不會影響持續交付的實作,對於這個問
題,我們的答案與任何有趣的問題一樣:“視情況而定”。答案是“會”的原因是包
裝格式顯然會影響工件的構建 ...
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

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
数字化转型:企业破局的34 个锦囊

数字化转型:企业破局的34 个锦囊

Gary O’Brien, Xiao Guo, Mike Mason

Publisher Resources

ISBN: 9789865021740