本书介绍了构建现代云原生应用的架构模块,包括如何使用微服务,容器,无服务器架构,函数计算等技术,并挑选合适的存储类型,同时考虑可移植性等问题。
l 探讨设计云原生应用所需的技术
l 介绍容器和函数计算的区别,并学习它们的适用场景
l 有针对性地设计应用来满足数据相关的需求
l 学习DevOps的基础知识和一些开发、测试、运维实践
l 学习一些构建和管理云原生应用的技巧、方法和实践
l 理解构建一个具有可移植性的应用所需的代价,并且学会对需求做出取舍
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
【One-Line Pitch】
A practical architecture guide for developers and architects who need to design, build, and operate cloud-native applications using containers, serverless functions, and cloud data services—without being tied to one vendor's cookbook.
【Book Arc】
- **Opening (~0%–11%)**: Frames the shift from traditional servers to cloud-native thinking—distributed-system fallacies, the twelve-factor mindset, and why containers plus orchestration (Kubernetes) become the new baseline.
- **Early (~11%–33%)**: Covers the core building blocks: microservices, containers vs. functions (FaaS), service communication, API compatibility, messaging protocols (MQTT/AMQP), pub/sub, and gateways for ingress/egress traffic control.
- **Middle (~33%–56%)**: Turns to data: object/file/block storage choices, change data capture, GraphQL data services, CDN caching, data lakes vs. warehouses, and running stateful systems on Kubernetes.
- **Late (~56%–78%)**: Moves into DevOps practice—test pyramids, local-to-remote development workflows, slim container images, observability with Prometheus/Grafana, health/readiness probes, and configuration via ConfigMaps.
- **Ending (~78%–100%)**: Closes with migration patterns (strangler/anti-corruption layer), security and shared responsibility, scaling stateless services, deployment hygiene, and the real trade-offs of portability across clouds.
【Key Takeaways】
- **Cloud-native design starts with distributed-system realities** (Opening): network unreliability, latency, and partial failure must shape architecture from day one, not be patched later.
- **Containers and functions solve different problems** (Early): containers suit long-running, stateful-ish services; FaaS suits event-driven, short-lived work—but FaaS cost and network overhead can surprise you.
- **Loose coupling via messaging is a first-class pattern** (Early): pub/sub, MQTT, and AMQP enable event-driven designs; choose based on simplicity vs. feature richness and vendor compatibility.
- **Data storage is a design decision, not an afterthought** (Middle): object storage is the default for files; file and block storage cost more; change data streams let you sync search indexes, analytics, and legacy systems.
- **Testing follows a pyramid, and testability drives design** (Late): unit tests with mocks, service-level tests, and minimal UI tests; if mocking is hard, refactor the code.
- **Small images and small deployments reduce risk** (Late): multi-stage builds and slim base images shrink attack surface and speed up scaling; keep functions single-purpose.
- **Observability must be prepared before release** (Late): define health/liveness/readiness endpoints and a small metric set with rollback rules before routing production traffic.
- **Portability has a price** (Ending): standards like OpenAPI, SMI, and MongoDB-compatible APIs help, but you may lose vendor-specific features and pay for third-party services separately.
【Reading Tips】
- Deep-read Chapters 2–3 for containers, orchestration, and service communication—these are the conceptual spine.
- Skim the data chapter if you already know storage tiers; focus instead on change data capture and GraphQL sections.
- Treat the DevOps and observability chapters as a checklist to apply to your own pipeline, not just theory.
- The portability chapter is best read last, after you understand the trade-offs of the earlier patterns.
【Coverage Limits】
This guide is based on stratified excerpts covering roughly the first through final chapters; some mid-book details on specific cloud provider services and code examples are not fully represented.
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Loading comments...
Reply to Comment
Edit Comment