Skip to content

GO版本分布式配置中心支持端到端实时通讯进行配置操作,并具有后台页面管理功能。它还可以向侦听指定命名空间中的配置的客户端广播通知,类似于热更新。

License

Notifications You must be signed in to change notification settings

data2/confcarrier

Repository files navigation

GO version distributed configuration center confcarrier

License Build Status

GO version distributed configuration center confcarrier

  • Support end-to-end real-time communication, reduce resource consumption with long connections
  • Can meet the rich configuration operations of the business
  • Publish and subscribe mode - the server listens to changes in portal configuration and broadcasts message notifications to the client
  • Equipped with backend page management and web-based operation configuration

architecture

image

Communication between portal and confcarrier

  • queue message
  • cache
  • make-one-server

If you are a small project, you can use the code of the make one server branch to aggregate the server and portal into one service https://github.com/data2/confcarrier/tree/make-one-big-server

use

start serve

go run carrier.go  util.go db.go queue.go tcpPort  mysqlUrl redisUrl

start distributed client

go run client.go  port  

start portal

go run portal.go  util.go db.go queue.go port  mysqlUrl redisUrl

About

GO版本分布式配置中心支持端到端实时通讯进行配置操作,并具有后台页面管理功能。它还可以向侦听指定命名空间中的配置的客户端广播通知,类似于热更新。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages