面向单体应用和小集群的轻量级中间件解决方案
基于 MySQL/Redis 构建,避免引入额外中间件
降低维护成本,提升开发效率
为中小型系统提供完整的分布式能力
核心模块
基于 MySQL 提供秒级配置变更推送能力,支持配置的动态更新和实时推送。
核心模块
基于 HTTP(S) 提供服务注册、发现和远程调用,支持内网集群和公网调用。
核心模块
提供集群任务调度能力,支持单机任务、MapReduce 任务等多种任务类型。
次要模块
提供集群 IP 发现、服务注册和发现功能,基于配置中心实现。
次要模块
基于数据库表扫描的数据同步工具,解决简单场景下的数据同步问题。
主要模块
提供缓存、HTTP 客户端、分布式锁、限流等高阶常用工具。
清晰的模块划分,灵活的组合方式
三步即可集成 Winter 到你的项目
<dependency>
<groupId>tech.obiteaaron.winter</groupId>
<artifactId>winter-embed-config-center</artifactId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
spring.datasource.url=jdbc:mysql://localhost:3306/winter
spring.datasource.username=root
spring.datasource.password=password
// Spring Boot 直接启动
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
| 特性 | Winter | Dubbo | Nacos |
|---|---|---|---|
| 部署复杂度 | 低(嵌入式) | 中 | 高(独立部署) |
| HTTP 支持 | 原生支持 | 需额外配置 | 支持 |
| 配置推送 | 秒级推送 | - | 支持 |
| MapReduce | 支持 | - | - |
| 系统依赖 | MySQL/Redis | ZooKeeper | 独立服务 |
| 学习成本 | 低 | 中 | 中 |