Navi is a distributed service framework that provides cluster management and high performance RPC

92
48
Java

#Navi-RPC

Navi is a distributed service framework that provides cluster management and high performance RPC. With Navi, you can easily distribute application with minimal effort to create a highly scalable architecture capable of handing remote procudure call and service registration and discovery.

Implemented in Java and Spring framework, navi wraps Zookeeper and uses Protostuff/Protobuf transport to make it easy to build up cluster aware applications. Naiv allows you to focus efforts on your application logic, so programming experience is very friendly with its simple XML and annotation configuration.

Navi可以理解为Navigation的简称,即“制导/导航”。

Navi是一个分布式服务框架,提供高性能和无侵入式的RPC远程服务调用方案,以及SOA服务治理方案,秉承简单够用、灵活扩展的开发原则。

利用Java和Spring Framework实现,集成Zookeeper,使用HTTP原生通信传输,利用[Protostuff]
(https://github.com/protostuff/protostuff)作为序列化协议,同时提供了无侵入式的灵活配置方式,XML或者注解方式使开发一个服务变得非常容易。

##Features

  • Providing high availability. By using Zookeeper for underlying group management, Navi can make it easy to publish/remove service nodes.
  • Providing Protobuf to serialize and deserialize data.
  • Using optional software loading balancing and failover strategy.
  • Simple configuration with XML or annotaion way to expose service in Spring.

##特点
###远程通讯
透明化的远程方法调用,就像调用本地方法一样调用远程方法,只需简单配置,没有任何API侵入。提供高性能的基于长连接的、池化HTTP的通讯基础,提供“请求-应答”模式的信息交换。

###集群容错
多序列化协议支持,以及软负载均衡,失败容错,地址路由等集群支持。

###自动发现
基于注册中心目录服务,使服务消费方能动态的查找服务提供方,使地址透明,集群整体保证高可用性。服务发布简单自由,使服务提供方可以平滑增加机器,做到横向水平扩展。

##User Guide
使用手册(中文版)

配置说明

##Development

单元测试

性能测试

Navi-Pbrpc

系出同门的Pbrpc,提供基于socket nio + protobuf全双工、异步、非阻塞的高性能通信解决方案,了解详情请点击链接

Supports