AppActive: A middleware dedicate to building multi-site active/active application architectures(阿里巴巴开源的一款标准、通用且功能强大的,致力于构建应用多活架构的开源中间件)
A middleware designed by alibaba: standard, universal and powerful
AppActive is an open source middleware that builds a cloud-native, high-availability and multi-active disaster tolerance architecture for business applications. It provides standards, implementations, and demos for applying the multi-active disaster recovery architecture, which is suitable for rich business scenarios (single AZ, single region, single cloud, multi AZ, multi region, multi-cloud, self-built IDC...).
AppActive is an internal open source project of AHAS-MSHA. It is based on Alibaba's nearly 9-year production disaster recovery practice, and combines the best practices of many external customers and communities from Alibaba Cloud's commercial services, and has the characteristics of high reliability and scalability.
The overall structure of AppActive covers the data plane and the control plane. It manages application traffic and data in the whole process. As shown in the figure above, the details can be found in the following links:
The following software are assumed installed:
note:this demo contains many applications, please adjust your memory settings to avoid failures.
sh run.sh
in the appactive-demo
module to start all applications127.0.0.1 demo.appactive.io
, and then visit http://demo.appactive.io/buyProduct?r_id=2000
to see how it workssh cut.sh
in the appactive-portal
module to switch flow. It should be noted that the writing-forbidden rules of this demo are hard-coded. If you want to change the range, you need to calculate the writing-forbidden rules and the next-routing rules, and then execute the flow switch.If you plan to stop the experience, you can proceed:
cd appactive-demo
->docker-compose down
For more, please visit demo
We always welcome new contributions, whether for trivial cleanups, big new features or other material rewards, more details see here
If you have used or intend to use AppActive in your business system, please let us know, your support is very important to us: https://github.com/alibaba/Appactive/issues/10