• 查询稿件
  • 获取最新论文
  • 知晓行业信息

基于Zookeeper的配置管理中心设计与实现

Configuration management center based on Zookeeper

  • 摘要: 针对现有客票交易中间件缺乏有效机制管理配置文件的问题,在研究Zookeeper的基础上,提出了一种基于Zookeeper的统一配置管理方案,将配置文件内容存储在Zookeeper的节点中,利用Zookeeper的发布/订阅机制,实现了配置文件在管理中心与客票交易中间件同步,结合日常维护需求,提供了配置文件的版本管理与B/S管理功能。测试数据表明该方案简化了配置文件的管理过程,提高了升级维护的效率。

     

    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.

     

/

返回文章
返回