基于Zookeeper的配置管理中心设计与实现 |
| |
引用本文: | 苗凡,阎志远,戴琳琳.基于Zookeeper的配置管理中心设计与实现[J].铁路计算机应用,2018,27(10):26-29. |
| |
作者姓名: | 苗凡 阎志远 戴琳琳 |
| |
作者单位: | 中国铁道科学研究院集团有限公司 电子计算技术研究所,北京 100081 |
| |
基金项目: | 中国铁道科学研究院科研开发课题(2017YJ096) |
| |
摘 要: | 针对现有客票交易中间件缺乏有效机制管理配置文件的问题,在研究Zookeeper的基础上,提出了一种基于Zookeeper的统一配置管理方案,将配置文件内容存储在Zookeeper的节点中,利用Zookeeper的发布/订阅机制,实现了配置文件在管理中心与客票交易中间件同步,结合日常维护需求,提供了配置文件的版本管理与B/S管理功能。测试数据表明该方案简化了配置文件的管理过程,提高了升级维护的效率。
|
关 键 词: | 同步 Zookeeper 版本管理 |
Configuration management center based on Zookeeper |
| |
Affiliation: | Institute of Computing Technologies Corporation Limited, China Academy of Railway Sciences,Beijing 100081, China |
| |
Abstract: | Aiming at the problem of lacking effective mechanism to manage configuration files in the existing ticketing transaction middleware, this paper proposed a unified configuration management scheme based on Zookeeper, which stored the configuration file contents in Zookeeper nodes, used the publish/subscribe mechanism of Zookeeper to implement the synchronization of the configuration file in the management center and the ticketing transaction middleware, combined with daily maintenance needs, provided version management and B/S management functions of configuration files. The test data shows that this scheme simplifies the management of configuration files and improves the efficiency of upgrade and maintenance. |
| |
Keywords: | |
|
| 点击此处可从《铁路计算机应用》浏览原始摘要信息 |
|
点击此处可从《铁路计算机应用》下载全文 |
|