Skip to Content
微服务与事件驱动架构
book

微服务与事件驱动架构

by Adam Bellemare
October 2021
Beginner to intermediate
250 pages
7h 11m
Chinese
Posts & Telecom Press
Content preview from 微服务与事件驱动架构
事件驱动型微服务基础
29
成。流行和常用的
CMS
包括
Kubernetes
Docker Engine
Mesos Marathon
Amazon ECS
Nomad
微服务必须能够根据不断变化的工作负载、服务等级协定(
service-level
agreement
SLA
和性能要求进行扩缩容;必须支持垂直伸缩,即在每个微服务实例上增加或减少
CPU
、内
存和磁盘等计算资源;还必须支持水平伸缩,能够添加和删除新实例。
每个微服务都应该作为一个单元进行部署。对于许多微服务来说,一个单一的可执行文件
是执行其业务需求所需的全部,并且可以在单个容器中部署。其他的微服务可能更复杂,
有多个容器和外部数据存储需要协调。这就是类似
Kubernetes
pod
概念发挥作用的地
方,它允许执行单个动作就完成多个容器的部署和恢复。
Kubernetes
还允许单次运行操作
例如,数据库迁移可以在执行单次部署时运行。
虚拟机管理受到了大量实现的支持,但比起容器管理还是更加受限。
Kubernetes
Docker
Engine
支持谷歌的
gV
isor
Kata Containers
,同时亚马逊平台支持
AWS Firecracker
。随着
开发的继续,容器和虚拟机之间的界限将越来越模糊。请确保你选择的
CMS
能够处理你
需要的容器和虚拟机。
关于
Kubernetes
Docker
Mesos
Amazon ECS
Nomad
的资源有很多,
它们提供的信息远远超出了本书所能提供的。我鼓励你查阅这些资料以获得
更多信息。 ...
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

监控运维实践:原则与策略

监控运维实践:原则与策略

Mike Julian
Kafka权威指南

Kafka权威指南

Neha Narkhede, Gwen Shapira, Todd Palino
Web容量规划之美

Web容量规划之美

Arun Kejariwal, John Allspaw

Publisher Resources

ISBN: 9787115571106