Discover Alibaba’s Top 10 Open‑Source Projects That Supercharge Your Backend
This article introduces ten Alibaba open‑source projects—including Druid, fastjson, Dubbo, RocketMQ, Arthas, Nacos, EasyExcel, Sentinel, Otter, P3C and Spring Cloud Alibaba—detailing their key features, advantages, usage scenarios, and Maven dependency configurations to help developers quickly adopt them in backend systems.
During the National Day holiday, I compiled a list of ten outstanding open‑source projects from Alibaba, many of which I have used in production.
1. Druid
Druid claims to be the best Java database connection pool, offering powerful monitoring and extension features.
Key advantages:
Monitors database access performance.
Provides WallFilter for SQL‑injection defense.
Multiple ways to detect connection leaks.
Database password encryption.
SQL execution logging.
GitHub: https://github.com/alibaba/druid
Maven Central: https://mvnrepository.com/artifact/com.alibaba/druid
Maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid-version}</version>
</dependency>2. fastjson
fastjson is Alibaba’s open‑source JSON parsing library that can serialize Java beans to JSON and deserialize JSON strings back to Java objects.
Main benefits:
Very fast performance, unbeaten by other Java JSON libraries since its 1.1.x release in 2011.
Widely used across Alibaba’s massive server fleet and recognized as a popular domestic open‑source project.
Simple and concise API.
// serialization
String text = JSON.toJSONString(obj);
// deserialization
VO vo = JSON.parseObject("{...}", VO.class);GitHub: https://github.com/alibaba/fastjson
Maven Central: https://mvnrepository.com/artifact/com.alibaba/fastjson
Maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.76</version>
</dependency>3. Dubbo
Apache Dubbo is a micro‑service framework offering RPC communication and service governance capabilities such as service discovery, load balancing, and traffic routing.
It is highly extensible, allowing custom implementations at almost any extension point.
Architecture diagram:
Main advantages:
Transparent interface‑based RPC.
Intelligent load balancing.
Automatic service registration and discovery.
High extensibility.
Runtime traffic routing.
Visual service governance.
Cloud‑native friendliness.
GitHub: https://github.com/apache/dubbo
Maven Central: https://mvnrepository.com/artifact/com.alibaba/dubbo/
Maven dependency:
<properties>
<dubbo.version>3.0.3</dubbo.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${dubbo.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-dependencies-zookeeper</artifactId>
<version>${dubbo.version}</version>
<type>pom</type>
</dependency>
</dependencies>4. RocketMQ
Apache RocketMQ is a distributed messaging and streaming platform with low latency, high performance, trillion‑level capacity, and flexible scalability.
Key features include publish/subscribe, request/reply, streaming, financial‑grade transaction messages, built‑in fault tolerance via DLedger, multi‑language clients, pluggable transport protocols, message tracing, big‑data integration, FIFO ordering, high‑throughput pull/push consumption, and rich management dashboards.
Management console screenshot:
GitHub: https://github.com/apache/rocketmq
Maven Central: https://mvnrepository.com/artifact/org.apache.rocketmq/rocketmq-spring-boot-starter
Maven dependency:
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client</artifactId>
<version>4.3.0</version>
</dependency>5. Arthas
Arthas is Alibaba’s open‑source Java diagnostic tool that helps developers troubleshoot class loading issues, runtime exceptions, performance bottlenecks, JVM state, and generate flame graphs.
It supports JDK 6+, runs on Linux/Mac/Windows, and offers a command‑line interactive mode with tab completion.
GitHub: https://alibaba.github.io/arthas/
Maven Central: https://mvnrepository.com/artifact/com.taobao.arthas/arthas-spring-boot-starter
Start Arthas on the target machine:
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar6. Nacos
Nacos is a platform designed for dynamic service discovery, configuration management, and service management, facilitating cloud‑native applications and microservice architectures.
It treats services as first‑class citizens and supports Dubbo, gRPC, Spring Cloud RESTful, and Kubernetes services.
Four core functions:
Service discovery and health check Dynamic configuration management Dynamic DNS service Service and metadata managementGitHub: https://github.com/alibaba/nacos
Maven Central: https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-discovery
7. EasyExcel
EasyExcel rewrites POI’s handling of Excel 07 files, reducing memory consumption dramatically (e.g., a 3 MB file uses only a few megabytes instead of ~100 MB with POI SAX).
It can read a 75 MB Excel (46 W rows × 25 columns) in one minute using only 64 MB of memory.
GitHub: https://github.com/alibaba/easyexcel
Maven Central: https://mvnrepository.com/artifact/com.alibaba/easyexcel
Maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>2.2.6</version>
</dependency>8. Sentinel
Sentinel focuses on traffic control, shaping, circuit breaking, and system adaptive protection to ensure microservice reliability and resilience.
Key features:
Rich usage scenarios (e.g., flash sales, message throttling, downstream circuit breaking, cluster traffic control).
Real‑time monitoring for single machines and clusters.
Broad open‑source ecosystem with integrations for Spring Cloud, Dubbo, gRPC, etc.
Multi‑language support (Java, Go, C++).
Extensible SPI for custom rules and data sources.
GitHub: https://github.com/alibaba/Sentinel
Maven Central: https://mvnrepository.com/artifact/com.alibaba.csp/sentinel-core
Maven dependency:
<dependency>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-core</artifactId>
<version>1.8.2</version>
</dependency>9. Otter
Otter (Canal) is a data synchronization solution originally built for Alibaba B2B, supporting heterogeneous database sync, single‑site sync, cross‑region sync, bidirectional sync, and file sync.
Scale highlights: 600 million rows synced, 1.5 TB of files, over 200 database instances, and a cluster of 80+ machines.
GitHub: https://github.com/alibaba/otter
Maven Central: https://mvnrepository.com/artifact/com.alibaba.otter/canal.client
10. P3C
P3C is Alibaba’s Java coding guideline plugin, integrating years of best practices into PMD, IntelliJ IDEA, and Eclipse plugins.
It enforces rules such as prohibiting deprecated APIs, requiring @Override on overridden methods, using class names for static members, and proper equals/hashCode implementations.
GitHub: https://github.com/alibaba/p3c/tree/master/idea-plugin
11. Spring Cloud Alibaba
Spring Cloud Alibaba provides a one‑stop solution for building distributed applications, offering components for traffic control, service registration/discovery, distributed configuration, event‑driven microservices, distributed transactions, OSS, SchedulerX, SMS, and more.
Key components include Sentinel, Nacos, RocketMQ, Dubbo, Seata, Alibaba Cloud OSS, SchedulerX, and SMS.
GitHub: https://github.com/alibaba/spring-cloud-alibaba
Maven dependency management:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.6.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
macrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
