Serverless Design Patterns and Best Practices: Build, secure, and deploy enterprise ready serverless applications with AWS to improve developer productivity (無伺服器設計模式與最佳實踐:使用 AWS 建構、安全性及部署企業級無伺服器應用程式以提升開發者生產力)

Brian Zambrano

相關主題

商品描述

Get started with designing your serverless application using optimum design patterns and industry standard practices

Key Features

  • Learn the details of popular software patterns and how they are applied to serverless applications
  • Understand key concepts and components in serverless designs
  • Walk away with a thorough understanding of architecting serverless applications

Book Description

Serverless applications handle many problems that developers face when running systems and servers. The serverless pay-per-invocation model can also result in drastic cost savings, contributing to its popularity. While it's simple to create a basic serverless application, it's critical to structure your software correctly to ensure it continues to succeed as it grows. Serverless Design Patterns and Best Practices presents patterns that can be adapted to run in a serverless environment. You will learn how to develop applications that are scalable, fault tolerant, and well-tested.

The book begins with an introduction to the different design pattern categories available for serverless applications. You will learn the trade-offs between GraphQL and REST and how they fare regarding overall application design in a serverless ecosystem. The book will also show you how to migrate an existing API to a serverless backend using AWS API Gateway. You will learn how to build event-driven applications using queuing and streaming systems, such as AWS Simple Queuing Service (SQS) and AWS Kinesis. Patterns for data-intensive serverless application are also explained, including the lambda architecture and MapReduce.

This book will equip you with the knowledge and skills you need to develop scalable and resilient serverless applications confidently.

What you will learn

  • Comprehend the popular design patterns currently being used with serverless architectures
  • Understand the various design options and corresponding implementations for serverless web application APIs
  • Learn multiple patterns for data-intensive serverless systems and pipelines, including MapReduce and Lambda Architecture
  • Learn how to leverage hosted databases, queues, streams, storage services, and notification services
  • Understand error handling and system monitoring in a serverless architecture a serverless architecture
  • Learn how to set up a serverless application for continuous integration, continuous delivery, and continuous deployment

Who This Book Is For

If you're a software architect, engineer, or someone who wants to build serverless applications, which are non-trivial in complexity and scope, then this book is for you. Basic knowledge of programming and serverless computing concepts are assumed.

Table of Contents

  1. Introduction
  2. A Three-Tier Web Application Using REST
  3. A Three-Tier Web Application Pattern with GraphQL
  4. Integrating Legacy APIs with the Proxy Pattern
  5. Scaling Out with the Fan-Out Pattern
  6. Asynchronous Processing with the Messaging Pattern
  7. Data Processing Using the Lambda Pattern
  8. The MapReduce Pattern
  9. Deployment and CI/CD Patterns
  10. Error Handling and Best Practices

商品描述(中文翻譯)

開始設計您的無伺服器應用程式,使用最佳設計模式和行業標準實踐。

主要特點:
- 學習流行的軟體模式的細節,以及它們如何應用於無伺服器應用程式。
- 理解無伺服器設計中的關鍵概念和組件。
- 獲得對設計無伺服器應用程式的全面理解。

書籍描述:
無伺服器應用程式處理開發人員在運行系統和伺服器時面臨的許多問題。無伺服器的按需付費模型還可以實現顯著的成本節省,這也是它受歡迎的原因之一。儘管創建基本的無伺服器應用程式很簡單,但正確結構化軟體以確保其在擴展時能夠持續成功至關重要。《無伺服器設計模式和最佳實踐》介紹了可以適應無伺服器環境運行的模式。您將學習如何開發可擴展、容錯和經過良好測試的應用程式。

本書首先介紹了可用於無伺服器應用程式的不同設計模式類別。您將了解 GraphQL 和 REST 之間的權衡,以及它們在無伺服器生態系統中的整體應用程式設計。本書還將向您展示如何使用 AWS API Gateway 將現有 API 遷移到無伺服器後端。您將學習如何使用隊列和流式處理系統(例如 AWS Simple Queuing Service (SQS) 和 AWS Kinesis)構建事件驅動的應用程式。還將解釋用於數據密集型無伺服器應用程式的模式,包括 Lambda 架構和 MapReduce。

本書將使您具備開發可擴展和具有彈性的無伺服器應用程式所需的知識和技能。

您將學到:
- 理解當前在無伺服器架構中使用的流行設計模式。
- 理解無伺服器網頁應用程式 API 的各種設計選項和相應的實現。
- 學習數據密集型無伺服器系統和流程的多種模式,包括 MapReduce 和 Lambda 架構。
- 學習如何利用托管的資料庫、隊列、流式處理、儲存服務和通知服務。
- 理解無伺服器架構中的錯誤處理和系統監控。
- 學習如何為持續整合、持續交付和持續部署設置無伺服器應用程式。

本書適合對象:
如果您是軟體架構師、工程師或希望構建複雜且範圍廣泛的無伺服器應用程式的人,那麼本書適合您。假設您具備基本的編程和無伺服器計算概念知識。

目錄:
1. 簡介
2. 使用 REST 的三層網頁應用程式
3. 使用 GraphQL 的三層網頁應用程式模式
4. 使用代理模式集成遺留 API
5. 使用扇出模式進行擴展
6. 使用消息模式進行異步處理
7. 使用 Lambda 模式進行數據處理
8. MapReduce 模式
9. 部署和 CI/CD 模式
10. 錯誤處理和最佳實踐