Source: https://seerepo.com/compare/alibaba/druid/vs/macrozheng/mall-swarm
Markdown source: https://seerepo.com/compare/alibaba/druid/vs/macrozheng/mall-swarm.md
Description: druid and mall-swarm share 8 technologies: com.mysql:mysql-connector-j, MySQL, spring-cloud-dependencies, spring-cloud-starter-alibaba-nacos-discovery, Spring, org.springframework.boot:spring-boot-starter-validation, org.springframework.boot:spring-boot-starter-actuator, and Apache. Both are written in Java.

# druid vs mall-swarm

druid and mall-swarm share 8 technologies: com.mysql:mysql-connector-j, MySQL, spring-cloud-dependencies, spring-cloud-starter-alibaba-nacos-discovery, Spring, org.springframework.boot:spring-boot-starter-validation, org.springframework.boot:spring-boot-starter-actuator, and Apache. Both are written in Java.

- [alibaba/druid](https://seerepo.com/r/alibaba/druid): 阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品，为监控而生的数据库连接池
- [macrozheng/mall-swarm](https://seerepo.com/r/macrozheng/mall-swarm): mall-swarm是一套微服务商城系统，采用了 Spring Cloud Alibaba、Spring Boot 3.5、Sa-Token、MyBatis、Elasticsearch、Docker、Kubernetes等核心技术，同时提供了基于Vue的管理后台方便快速搭建系统。mall-swarm在电商业务的基础集成了注册中心、配置中心、监控中心、网关等系统功能。

## What they share and what sets them apart

- In common: com.mysql:mysql-connector-j, MySQL, spring-cloud-dependencies, spring-cloud-starter-alibaba-nacos-discovery, Spring, org.springframework.boot:spring-boot-starter-validation, org.springframework.boot:spring-boot-starter-actuator, Apache
- Only in druid: cache-api, curator-recipes, DmJdbcDriver18, druid, druid-spring-boot-starter, ehcache, H2 Database, kylin-jdbc, MariaDB, org.apache.derby:derby, org.springframework:spring-jdbc, PostgreSQL, simple-jndi, spring-boot-starter-cache, tomcat-jdbc, Trino, org.apache.commons:commons-dbcp2, net.sourceforge.jtds:jtds, Postgres, com.oceanbase:oceanbase-client, ru.yandex.clickhouse:clickhouse-jdbc, dubbo, org.springframework:spring-beans, spring-boot-starter-thymeleaf, javax.servlet:javax.servlet-api, jakarta.servlet:jakarta.servlet-api, mybatis, mybatis-spring, org.springframework:spring-orm, org.springframework.boot:spring-boot-starter-data-jpa, Hibernate, commons-logging, log4j-core, slf4j-log4j12, spring-cloud-starter-consul-discovery, spring-cloud-starter-netflix-eureka-client, org.slf4j:slf4j-api, io.kubernetes:client-java, log4j:log4j
- Only in mall-swarm: spring-boot-starter-data-elasticsearch, spring-boot-starter-data-mongodb, spring-boot-starter-data-redis, org.springframework.boot:spring-boot-starter-amqp, com.aliyun.oss:aliyun-sdk-oss, com.alibaba:druid-spring-boot-3-starter, MinIO, spring-cloud-alibaba-dependencies, spring-cloud-starter-gateway-server-webflux, mybatis-spring-boot-starter, pagehelper-spring-boot-starter, com.github.pagehelper:pagehelper, org.springframework.data:spring-data-commons, org.mybatis:mybatis, sa-token-reactor-spring-boot3-starter, sa-token-redis-jackson, sa-token-spring-boot3-starter, cn.dev33:sa-token-jwt, org.springframework.boot:spring-boot-starter-security, spring-boot-admin-starter-client, spring-boot-admin-starter-server, spring-cloud-starter-alibaba-nacos-config, net.logstash.logback:logstash-logback-encoder

## Side by side

| | druid | mall-swarm |
|---|---|---|
| Size | 598,346 lines written, 1,732 code files | 87,880 lines written, 508 code files |
| Who writes it | 0.6% of its commits signed by AI. With Claude Code and Qwen Code | 0% of its commits signed by AI |
| Activity | Last push August 1, 2026, 6,240 commits, 28,149 stars | Last push July 31, 2026, 474 commits, 13,200 stars |
| Tests | 3,613 test files. 34.1% of its code files have a test that imports them | 7 test files. 1.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, druid or mall-swarm?

druid, with 598,346 lines written; mall-swarm has 87,880.

The proof: [alibaba/druid's code at commit fa8dc99](https://github.com/alibaba/druid/tree/fa8dc9912637a2f729eef9f55356621fec18d40e)

### Which has more GitHub stars, druid or mall-swarm?

druid, with 28,149 stars; mall-swarm has 13,200.

The proof: [alibaba/druid on GitHub](https://github.com/alibaba/druid)

### Which has more tests, druid or mall-swarm?

druid, with 3,613 test files; mall-swarm has 7.

The proof: [alibaba/druid's code at commit fa8dc99](https://github.com/alibaba/druid/tree/fa8dc9912637a2f729eef9f55356621fec18d40e)

### Which was updated more recently, druid or mall-swarm?

druid: its last push was on August 1, 2026, and mall-swarm's on July 31, 2026.

The proof: [alibaba/druid's commits on GitHub](https://github.com/alibaba/druid/commits)

### Which has more commits signed by AI, druid or mall-swarm?

druid: an AI signed 0.6% of its commits, with Claude Code and Qwen Code.

The proof: [the commits each tool signed in alibaba/druid](https://seerepo.com/r/alibaba/druid/ai)

## Sources

- alibaba/druid: Read on November 8, 2026, at commit fa8dc99 (https://github.com/alibaba/druid/tree/fa8dc9912637a2f729eef9f55356621fec18d40e)
- macrozheng/mall-swarm: Read on November 10, 2026, at commit 04c442f (https://github.com/macrozheng/mall-swarm/tree/04c442fe318356bae4445a109dde7af297ce1e84)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
