Giter VIP home page Giter VIP logo

coderman-rpc's Introduction

coderman-rpc 分布式服务框架

coderman-rpc是一个分布式服务框架,用于远程服务调用。coderman-rpc主要是学习rpc原理和一些技术实践,目前已经开始在写另一个RPC框架Pandora。 ###环境要求

  • Maven3+
  • JDK1.8

###Package 说明

  • core 工具类、bean、接口提供、工厂。
  • registry 注册中心 服务注册发现,目前提供Zookeeper实现。可根据接口ServiceDiscovery、ServiceRegistry自行扩展。
  • serialize 序列化支持 已实现Json、Hessain、Protostuff。
  • transport 通讯层 已经实现Netty。

###使用

  • 默认使用netty传输、Hessain序列化、Zookeeper为注册中心。

  • Server 配置

  • Client 配置

  • demo可以直接跑的,有问题先去demo里面溜一圈~~~

###技术栈

  • Zookeeper 注册中心,用的是zkClient
  • Netty tcp底层传输,过几天加个http的还是这东西
  • protostuff、hessian、 jackson 用于序列化
  • objenesis 被hessian、protostuff依赖 不使用构造方法直接调用newInstance创建对象实例

###后期完成

  1. 新增路由模块,完成负载均衡;
  2. 新增thrift序列化实现;
  3. 新增http传输功能;
  4. 服务治理coderman-rpc就不加了 ##由于时间关系,后面大部分时间会写Pandora,但是这个也会更新只是是时间不确定。##

coderman-rpc's People

Contributors

yuezixin avatar

Stargazers

liwx avatar YichenWong avatar  avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

freddyloochn

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.