跳转到主要内容
Chinese, Simplified

构建弹性应用程序是成功的关键因素。 无论您是在本地部署还是在云上部署应用程序,您的用户都希望您的应用程序随时可用。 您必须确保它具有高可用性,可以从数据中心或可用区域丢失中恢复,在灾难情况下已准备好计划,并且您具有运行应用程序所需的所有内容的备份和恢复过程。 这就是您使应用程序具有弹性的方法。

resilience-high-level

组件

User

Someone who accesses the application.

Edge services

Improves application availability and scalability. Provides firewall, load balancing, and reverse proxy. Ensures continuous availability during disaster recovery.

Products (use any)

  • IBM HTTP Server
  • Nginx HTTP Server
  • Akamai
  • Dyn

Application

Provides the business logic for the order processing application.

 

Products

  • Example: IBM WebSphere® Liberty

Transformation and connectivity

Connect securely between applications running in the data centers and applications running on the back-end host.

 

Products

  • Enterprise-specific

Enterprise application

Applications that accomplish business goals and objectives and that may interact with cloud services.

 

Products

  • Enterprise-specific, for example SAP

Enterprise data

Systems of record and metadata about the data for enterprise applications.

 

Products

  • Enterprise-specific, for example IBM Db2® or MySQL

DevOps

Provides DevOps services

 

Products

  • Enterprise-specific, for example IBM DevOps offerings

Security

Provides identity and access management, data security, network protection, security intelligence and operation, and more.

 

Products

  • Enterprise-specific, for example IBM Security offerings

 

流程


应用程序部署到多个数据中心。 数据中心1和数据中心2上的活动实例提供高可用性。 数据中心3上的被动实例提供灾难恢复。

步骤1

用户向边缘服务发送请求(例如HTTP请求)。

第2步

作为负载均衡器的边缘服务将请求发送到应用程序的活动实例。

第3步

应用程序向后端主机发送请求以从ERP系统检索数据。

第4步

后端区域前面的转换和连接组件可确保请求来自有效源并将请求发送到企业应用程序。

第5步

企业应用程序从企业数据库中检索数据。 (未显示:企业应用程序构建响应并将其发送回应用程序。然后,应用程序将响应发送回用户。)

第6步

当数据中心运行状况检查指示灾难时,边缘服务会检测到灾难,激活数据中心3上的应用程序的被动实例,并将请求路由到该数据。从而应用程序从灾难中恢复,应用程序的高可用性继续。

第7步

数据中心3上的应用程序通过转换和连接组件向后端主机发送请求,以从ERP系统检索数据。 (未显示:企业应用程序构建响应并将其发送回应用程序。然后,应用程序将响应发送回用户。这样,应用程序将从灾难中恢复,并且应用程序的高可用性将继续。)

 

原文:https://www.ibm.com/cloud/garage/architectures/resilience/reference-architecture

本文:

讨论:请加入知识星球或者小红圈【首席架构师圈】

 

本文地址
Article
知识星球
 
微信公众号
 
视频号