本篇简单介绍一下zstack的架构设计。现在的zstack加入了一个新的模块woodpecher,用于自动化测试。由于本人对这块没有研究过,这里先不讲这个。
写在前面:
ZStack的几个特色点,官方已经明确说过了。即ZStack的亮点包括:
1. 巨大的可扩展性:全异步架构、无状态服务、无锁结构
2. 高灵活性和扩展性:进程内微服务、插件系统、工作流引擎、tag系统、级联架构
3. 简单的部署和维护:提供一键部署、完整的查询API
接下来我们就剖析一下他说的这些亮点。
一、整体系统组件
zstack整套系统分为三个部分,ZStack,ZStack dashboard,ZStack Utility。
- zstack-dashboard: 用于zstack的web操作UI。
- zstack:zstack java用于zstack的核心逻辑处理,也就是zstack management node。以后我们统称为zstack core。
- zstack-Utility:包含客户端代理、部署等组件
整体系统概图如图所示: