Giter VIP home page Giter VIP logo

confcarrier's Introduction

GO版本分布式配置中心

License Build Status

GO版本分布式配置中心confcarrier

  • 支持端到端的实时通信,长连接减少资源损耗
  • 能够满足业务的丰富的配置操作
  • 发布订阅模式-服务端监听portal对配置的变动,并对客户端进行消息广播通知
  • 具备后台页面管理,web端操作配置

architecture

image

portal与confcarrier通信

  • queue message
  • cache
  • make-one-server

如果您是小型项目,可以使用make-one-server分支的代码,服务端和portal聚合为一个服务 https://github.com/data2/confcarrier/tree/make-one-big-server

使用

启动服务端

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

启动客户端(分布式GO服务)

go run client.go  port  

启动portal

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

confcarrier's People

Contributors

data2 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.