Giter VIP home page Giter VIP logo

servicerd's Introduction

serviceRD

a service register and discover, base on etcd

description

etcd信息存储示例如下:

/services
        /pull
                /serviceType
                        /common                      
                                /ca                  sssssssssssssssssssssssssssssssssss
                                /cert                sssssssssssssssssssssssssssssssssss
                                /key                 sssssssssssssssssssssssssssssssssss
                        /serviceID1
                                /weight         10
        /push
                /serviceType
                        /serviceID1             {"address":"192.168.1.128:8080", "version":"20190828001", "weight":"10"}
                        /serviceID2             {"address":"192.168.1.128:8080", "version":"20190828001", "weight":"10"}

说明

  • 1.版本组成为:年月日+三位序号,方便比较计算
  • 2./services/pull此目录下存储此类服务共用的信息,由各自服务监控common和自己的serviceID下的配置更新自己的现有配置
  • 3./services/push为服务注册目录
  • 4.服务的粒度目前只定义到提供服务的程序,未精确到单个服务方法

服务定义

服务注册

服务发现

servicerd's People

Contributors

zjmnssy avatar

Watchers

 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.