78

Spring Cloud Config结合Bus实现分布式配置中心 - CSDN博客

 5 years ago
source link: https://blog.csdn.net/linsongbin1/article/details/80194314?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
概述假设现在有个需求: 我们的应用部署在10台机器上,当我们调整完某个配置参数时,无需重启机器,10台机器自动能获取到最新的配置。如何来实现呢?有很多种,比如: 1、将配置放置到一个数据库里面,应用每次读取配置都是直接从DB读取。这样的话,我们只需要做一个DB变更,把最新的配置信息更新到数据库即可。这样无论多少台应用,由于都从同一个DB获取配置信息,自然都能拿到最新的配置。...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK