Giter Club home page Giter Club logo

rpc-framework's Introduction

rpc-framework

项目介绍

手写rpc框架

项目架构

代码结构

- Client
  - cache 本地对注册服务的缓存
  - circuitBreaker 熔断器
  - client 调用netty框架进行通信
  - netty netty配置,序列化方式,处理方式handler
  - proxy 代理类,同时反射调用向server得到接口对象
  - retry 重试机制
  - serviceCenter 注册中心(得到zookeeper中存储的服务)
    - loadBalance 负载均衡
    - ZkWatcher zookeeper监听器,更新缓存
- Server
  - netty netty配置,序列化方式,处理方式handler
  - provider 服务提供者,注册服务到本地
  - ratelimit 限流
  - server 启动netty server服务
  - serviceRegister 注册中心(注册服务到zookeeper)
- Common
  - message 通信消息定义
  - pojo&service 定义操作的对象和接口
  - serializer 序列化方式

rpc-framework's People

Contributors

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