彈性需求處理Elastic demand handling

此範例示範如何在季節性和其他高流量需求期間達成快速且可靠的服務品質。This example shows how to achieve fast and reliable service quality during seasonal and other high-traffic demand periods. 這種方法可以用來管理:This approach can be used to manage:

  • 彈性調整可處理流量和銷售高載,而不需要管理基礎結構Elastic scaling handles traffic and sales bursts without managing infrastructures
  • 來自世界各地的低延遲資料存取,以提供快速、穩固的使用者體驗Low-latency data access from anywhere in the world for fast, robust user experiences
  • 跨多個資料中心的高可用性High availability across multiple data centers

架構Architecture

架構圖表 *下載SVG *Architecture Diagram Download an SVG

資料流程Data Flow

整個解決方案的資料流程如下所示:The data flows through the solution as follows:

  1. Azure 流量管理員將連入要求路由至 Azure API 管理閘道Azure Traffic Manager routes incoming requests to Azure API management Gateway
  2. API 閘道可確保要求符合安全性和其他原則,然後將這些要求路由至執行的服務 Azure Kubernetes ServiceAPI Gateway ensures requests meet security and other policies, and then routes them to service running in Azure Kubernetes Service
  3. 服務會使用 Azure Cosmos DB、Azure CDN 和 Azure Functions,視需要從全球任何地方達成低延遲的資料存取資料Services use Azure Cosmos DB, Azure CDN, and Azure Functions to achieve low-latency data access data as needed from anywhere in the world
  4. 當需求尖峰超過目前的容量時,AKS 會使用虛擬節點動態擴大服務When demand spikes past current capacity, AKS uses virtual nodes to dynamically scale up the service

元件Components

此案例會實作為數個 Azure 元件:This scenario is implemented several Azure components:

  • Azure Kubernetes Service:完全受控的 AZURE KUBERNETES SERVICE (AKS) 讓您輕鬆地部署和管理容器化應用程式Azure Kubernetes Service: The fully managed Azure Kubernetes Service (AKS) makes deploying and managing containerized applications easy
  • AZURE API 管理:選擇性地將資料和服務公開給外界,並管理傳入的 API 呼叫Azure API Management: Selectively expose data and services to the outside world and manage incoming API calls
  • Azure Cosmos DB:完全受控的資料庫服務,具有通行的全球散發與透明的多重主要複寫。Azure Cosmos DB: A fully managed database service with turnkey global distribution and transparent multi-primary replication.
  • Azure Functions:事件驅動的無伺服器計算平臺,也可解決複雜的協調流程問題。Azure Functions: An event-driven serverless compute platform that can also solve complex orchestration problems.
  • Azure 儲存體: Azure 儲存體提供持久、高可用性、可大幅調整的雲端儲存體解決方案,並包括物件、檔案、磁片、佇列和表格儲存體。Azure Storage: Azure Storage offers a durable, highly available, massively scalable cloud storage solution and includes object, file, disk, queue, and table storage.
  • Azure 流量管理員:以 DNS 為基礎的流量負載平衡器,可將流量以最佳方式分散到全球 Azure 區域之間的服務Azure Traffic Manager: A DNS-based traffic load balancer for distributing traffic optimally to services across global Azure regions
  • AZURE CDN:用於傳遞高頻寬內容的全球 CDN 解決方案。Azure CDN: A global CDN solution for delivering high-bandwidth content.
  • Azure 通知中樞:從任何後端將推播通知傳送至任何平臺。Azure Notification Hub: Send push notifications to any platform from any back end.

後續步驟Next Steps