io.github.zxgangandy:pigeon-rpc-core


Categories

Categories

Geo Business Logic Libraries Geospatial
GroupId

GroupId

io.github.zxgangandy
ArtifactId

ArtifactId

pigeon-rpc-core
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Source Code Management

Source Code Management

https://github.com/zxgangandy/pigeon-rpc

Download pigeon-rpc-core

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.zxgangandy/pigeon-rpc-core/ -->
<dependency>
    <groupId>io.github.zxgangandy</groupId>
    <artifactId>pigeon-rpc-core</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.zxgangandy/pigeon-rpc-core/
implementation 'io.github.zxgangandy:pigeon-rpc-core:1.0.2'
// https://jarcasting.com/artifacts/io.github.zxgangandy/pigeon-rpc-core/
implementation ("io.github.zxgangandy:pigeon-rpc-core:1.0.2")
'io.github.zxgangandy:pigeon-rpc-core:jar:1.0.2'
<dependency org="io.github.zxgangandy" name="pigeon-rpc-core" rev="1.0.2">
  <artifact name="pigeon-rpc-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.zxgangandy', module='pigeon-rpc-core', version='1.0.2')
)
libraryDependencies += "io.github.zxgangandy" % "pigeon-rpc-core" % "1.0.2"
[io.github.zxgangandy/pigeon-rpc-core "1.0.2"]

Dependencies

compile (3)

Group / Artifact Type Version
io.netty : netty-all jar 4.1.51.Final
io.protostuff : protostuff-core jar 1.7.2
io.protostuff : protostuff-runtime jar 1.7.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.13

Project Modules

There are no modules declared in this project.

pigeon-rpc

AUR

简介

pigeon-rpc是一款基于Netty的可以支持百万级别的并发连接的高性能、高度可扩展的的网络通讯框架,主要参考了sofa-bolt的网络通讯模块的设计, pigeon-rpc可以使用在IM、长连接等领域,也可以在其基础上开发rpc框架。它具有以下的特性:

项目架构

  • 业务通信层:message->dispatcher->processor->invoker
  • 链接管理层:event->dispatcher->processor->listener

私有的通讯协议

  • 可定制的编/解码器
  • 支持多种序列化机制

客户端/服务端连接管理

  • 连接的心跳和空闲检测
  • 客户端连接池
  • 自动断连和重连

丰富的通信模型

  • oneway
  • twoway(sync、async)

easy to use

  • 客户端例子:
Pigeon.with(NettyClient.class)
                  .serverIp("127.0.0.1")
                  .serverPort(8500)
                  .config(CONNECT_TIMEOUT, 3000)
                  .start()
                  .oneWayRequest("hello");
  • 服务端例子

    Pigeon.with(NettyServer.class)
                    .start();
    

Versions

Version
1.0.2
1.0.1
1.0.0