RepositoryJavaCNChina
AL

alibaba/Appactive

AppActive: A middleware dedicate to building multi-site active/active application architectures(阿里巴巴开源的一款标准、通用且功能强大的,致力于构建应用多活架构的开源中间件)

477stars
89forks
9issues
1views

A middleware dedicate to building multi-site active/active application architectures

A middleware designed by alibaba: standard, universal and powerful

License

English | 中文

Introduction

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.

Architecture

appactive_landscape

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:

  • Architecture: Introduce AppActive deployment architecture and technical architecture.
  • Concept: Introduce the basic conceptual model of AppActive.
  • Features: Introduce the features implemented by AppActive.

Quick Start

Prerequisite

The following software are assumed installed:

  • docker && docker-compose
  • curl

note:this demo contains many applications, please adjust your memory settings to avoid failures.

Experience

appactive_landscape

Docker Run

  1. Run sh run.sh in the appactive-demo module to start all applications
  2. Bind hosts: 127.0.0.1 demo.appactive.io, and then visit http://demo.appactive.io/buyProduct?r_id=2000 to see how it works
  3. Run sh 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

More

For more, please visit demo

Developer Guide

  • DEVELOPER Guide :Introduce how to use AppActive, including basic samples, support plug-ins, version management, use effects.

Change Log

  • Change Log :Introduce the change features and content of each version of AppActive.

Contributing

We always welcome new contributions, whether for trivial cleanups, big new features or other material rewards, more details see here

User registration

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

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
patroni/patroni

A template for PostgreSQL High Availability with Etcd, Consul, ZooKeeper, or Kubernetes

8.9k
Nov 30, 2026
RepositoryGo
CrunchyData/postgres-operator

Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.

4.5k
Nov 25, 2026
RepositoryJava
doocs/advanced-java

😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识

79.2k
Nov 14, 2026
RepositoryJava
kestra-io/kestra

Orchestrate everything, everywhere. The open-source control plane for workflows across data, infrastructure, business processes and AI agents. Declarative YAML, event-driven, any language, Git-versioned, scalable to millions of executions.

30.4k
Dec 1, 2026
RepositoryJava
alibaba/SREWorks

Cloud Native DataOps & AIOps Platform | 云原生数智运维平台

2.0k
Dec 13, 2025
RepositoryJava
polardb/polardbx-sql

PolarDB-X is a cloud native distributed SQL Database designed for high concurrency, massive storage, complex querying scenarios.

1.7k
Sep 20, 2026
RepositoryJava
ongres/stackgres

StackGres Operator, Full Stack PostgreSQL on Kubernetes // !! Mirror repository of https://gitlab.com/ongresinc/stackgres, only accept Merge Requests there.

1.4k
Nov 25, 2026
RepositoryJava
LINBIT/linstor-server

High Performance Software-Defined Block Storage for container, cloud and virtualisation. Fully integrated with Docker, Kubernetes, Openstack, Proxmox etc.

1.3k
Nov 30, 2026
RepositoryJava
fit2cloud/riskscanner

RiskScanner 是开源的多云安全合规扫描平台,基于 Cloud Custodian 和 Nuclei 引擎,实现对主流公(私)有云资源的安全合规扫描和漏洞扫描。

1.1k
Apr 14, 2023