Giter Site home page Giter Site logo

microservice's Introduction

microservice

基于acl框架 设计实现的轻量级微服务框架

http_rpc rpc框架

publisher 二进制包 发布服务。

nameservice 服务注册

gateservice api网关

mqservice 消息队列服务

configservice 配置服务

logservice log服务

authservice 认证服务

msgservice 消息推送服务

monitorservice 服务监控

                                  |------------>logic_sever----|
                                  |------------>logic_sever----|
PC-------------->|                |------------>logic_sever----|
                 |->gateserver *N |------------>logic_sever----|
android/ios----->|                |------------>logic_sever----|
                                  |------------>logic_sever----|
                                                               | 
          |--------------|----------|-------------|------------| 
          |              |          |             |
       nameserver    logservice   authserver     mqserver

问:客户端如何访问这些服务?

答:客户端通过gateservice 服务访问 后端的服务

问:服务之间如何通信?

答:服务之间通过http 通讯

问:这么多服务,怎么找?

答:通过nameserver 定位服务

问:服务挂了怎么办?

答:当部署集群的时候,框架会尝试访问其他的服务器, 直到有一个可以正常访问,或者都失败。

microservice's People

Contributors

akzi 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.