All Projects → 970263611 → rpc

970263611 / rpc

Licence: other
自己编写的rpc调用框架,配置简单,使用更简单,如果您感觉有用请点赞,纯个人手写

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to rpc

Dapeng Soa
A lightweight, high performance micro-service framework
Stars: ✭ 101 (+248.28%)
Mutual labels:  netty, rpc
Mrpc
🐿 netty,zookeeper,spring,kyro rpc framework.
Stars: ✭ 128 (+341.38%)
Mutual labels:  netty, rpc
Simple Rpc
RPC with service discovery base on netty
Stars: ✭ 103 (+255.17%)
Mutual labels:  netty, rpc
RPC
RPC is a highly available pluggable architecture for remote calls
Stars: ✭ 31 (+6.9%)
Mutual labels:  netty, rpc
litchi
这是一款分布式的java游戏服务器框架
Stars: ✭ 97 (+234.48%)
Mutual labels:  netty, rpc
Fox
fox is a distributed RPC framework
Stars: ✭ 79 (+172.41%)
Mutual labels:  netty, rpc
Krpc
My RPC FrameWork(自己写的RPC框架)
Stars: ✭ 112 (+286.21%)
Mutual labels:  netty, rpc
Nettythrift
Thrift on Netty, support TCP/HTTP/WebSocket at same port. support multiple Protocols at same time. multil Simple Clients with Connection Pool.
Stars: ✭ 60 (+106.9%)
Mutual labels:  netty, rpc
Doe
自己编写dubbo客户端实现rpc调用,在线调试dubbo接口、dubbo接口可视化测试、自动化测试工具。
Stars: ✭ 183 (+531.03%)
Mutual labels:  netty, rpc
Mango
A high-performance, open-source java RPC framework.
Stars: ✭ 150 (+417.24%)
Mutual labels:  netty, rpc
Easyrpc
EasyRpc is a simple, high-performance, easy-to-use RPC framework based on Netty, ZooKeeper and ProtoStuff.
Stars: ✭ 79 (+172.41%)
Mutual labels:  netty, rpc
Spring Dubbo Service
微服务 spring dubbo项目:dubbo rpc;druid数据源连接池;mybatis配置集成,多数据源;jmx监控MBean;定时任务;aop;ftp;测试;Metrics监控;参数验证;跨域处理;shiro权限控制;consul服务注册,发现;redis分布式锁;SPI服务机制;cat监控;netty服务代理;websocket;disconf;mongodb集成;rest;docker;fescar
Stars: ✭ 224 (+672.41%)
Mutual labels:  netty, rpc
Netty Stroll
RPC基础通信框架
Stars: ✭ 77 (+165.52%)
Mutual labels:  netty, rpc
Jupiter
Jupiter是一款性能非常不错的, 轻量级的分布式服务框架
Stars: ✭ 1,372 (+4631.03%)
Mutual labels:  netty, rpc
Nettyrpc
NettyRPC is high performance java rpc server base on Netty,using kryo,hessian,protostuff support message serialization.
Stars: ✭ 1,131 (+3800%)
Mutual labels:  netty, rpc
Rpc Fromscratch
🌈 从零开始设计一个轻量级分布式 RPC 框架,基于 Spring + Netty + Protostuff + Zookeeper
Stars: ✭ 106 (+265.52%)
Mutual labels:  netty, rpc
Takinrpc
RPC框架,基于netty,实现了远程调用、服务治理等功能
Stars: ✭ 13 (-55.17%)
Mutual labels:  netty, rpc
Wheel
关于net nio os cache db rpc json web http udp tcp mq 等多个小工具的自定义实现
Stars: ✭ 45 (+55.17%)
Mutual labels:  netty, rpc
Netty Learning Example
🥚 Netty实践学习案例,见微知著!带着你的心,跟着教程。我相信你行欧。
Stars: ✭ 2,146 (+7300%)
Mutual labels:  netty, rpc
Thunder
⚡️ Nepxion Thunder is a distribution RPC framework based on Netty + Hessian + Kafka + ActiveMQ + Tibco + Zookeeper + Redis + Spring Web MVC + Spring Boot + Docker 多协议、多组件、多序列化的分布式RPC调用框架
Stars: ✭ 204 (+603.45%)
Mutual labels:  netty, rpc

dahuaboke-rpc

纯自己手动编写的rpc框架,已经做成了starter,使用超级方便,天然支持高可用。

性能测试

单节点调用(传输字符串类型参数)响应时间不超过100毫秒(本机测试,注册中心在服务器,服务器带宽为1M)。

单节点调用500QPS正常响应。

集群调度方式

现在支持随机调度提供者方式

使用须知

下载源码,打包引入

<dependency>
    <groupId>com.dahuaboke</groupId>
    <artifactId>rpc</artifactId>
    <version>1.0.0-SNAPSHOT</version>
</dependency>

只需要在service层将@Service注解替换成@RpcService,调用方无感知,不需要修改任何代码。

端口

消费者无端口占用

提供者默认采用localIp配置的端口,当同一台机器部署多个提供者时,请配置不同端口

使用配置

provider(提供者)
#使用者身份(提供者)
rpc.role=provider
#消费者暴漏的本机ip(容器化部署时可以通过端口映射之后填写宿主机ip)
rpc.localIp=localhost:13579
#注册中心地址 zookeeper方式
	rpc.regist.address=zookeeper://localhost:2181 
#注册中心地址 nodou方式(支持身份验证和心跳是否移除以及不同版本)
	rpc.regist.address=nodou://localhost:9888
	rpc.nodou.username=username
	rpc.nodou.password=password
	rpc.nodou.version=1.0.0
	rpc.nodou.autoRemove=true
consumer(消费者)
#使用者身份(消费者)
rpc.role=consumer
#注册中心地址 zookeeper方式
	rpc.regist.address=zookeeper://localhost:2181
#注册中心地址 nodou方式(支持身份验证和心跳是否移除以及不同版本)
	rpc.regist.address=nodou://localhost:9888
	rpc.nodou.username=username
	rpc.nodou.password=password
	rpc.nodou.version=1.0.0
	rpc.nodou.autoRemove=true

扩展

扩展接口已经预留,注册中心扩展方法预留,实时动态切换提供者方法已经预留。

联系我

加我请注明来意

邮箱: [email protected] [email protected]

微信: dingweiqiang872226

QQ : 970263611

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].