Coder Social home page Coder Social logo

zzzzzzzzyt / zeng-rpc-framework Goto Github PK

View Code? Open in Web Editor NEW
623.0 2.0 8.0 32.55 MB

手写自己的RPC框架/Handwritten RPC framework

License: Apache License 2.0

Java 99.44% Shell 0.24% Dockerfile 0.32%
netty-rpc rpc-framework rpc zookeeper codec nacos serialization netty

zeng-rpc-framework's Introduction

zeng-rpc-framework

手写自己的RPC框架/Handwritten RPC framework😀

技术选型 💻

新技术可持续添加

网络传输 : Bio Nio Netty
序列化 : JDK自带序列化 JSON(Jackson Fastjson Gson) Kryo Protobuf Protostuff Hessian FST Avro Thrift 
代理 : 静态代理 动态代理JDK 动态代理CGLIB
注册中心 : Zookeeper Curator SpringCloud Alibaba Nacos
传输协议 : 自己构造
负载均衡 : 随机均衡策略 获取次数均衡策略 一致性哈希均衡策略
压缩机制 : BZip Deflater GZip Lz4 Zip 霍夫曼编码实现编解码器
操作系统 : Linux Windows
容器化 : Docker 
监控中心 : 已经简单的实现在我的用户中心项目 访问地址 http://user.onlyicanstopmyself.top/

其他机制等等 💪

作者依托自己所学,慢慢摸索得出,绝无拷贝,大伙儿可以一起来享受搭积木的过程🏫

如果你有什么建议还有什么新的技术可以实现,欢迎提出❗

现已更新至v2.11版本 同时推出了springboot非注解版🎇

关于项目的所有使用信息编写信息更新可以查看手写RPC文档说得都非常详细🔫

md格式的文档 可以私聊我取 qq 836585692 请注明来意🕶

下载上传至其他地方,需注明源地址,否则将会依法溯源👮‍

尚未完成

  • 霍夫曼实现自定义编解码器
  • 客户端与服务端通信协议(数据包结构)重新设计
  • 另开一个模块解决粘包拆包问题

实现思路

Alt

zeng-rpc-framework's People

Contributors

zzzzzzzzyt avatar

Stargazers

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