高性能的 RPC 框架 nfs-rpc
nfs-rpc 是一個抽象的高性能的 RPC 框架,基于 mina/netty/grizzly/aio 實現。
- client proxy,so u can call remote just like call local: UserService.getById(id);
- server reflection,so u can intergrate the rpc framework with difference server implemenation,such as spring;
- server direct call,u can implement a specify interface to provide for client call;
- single or multi connections,in most case,single connection is enough,but in some cases,u'll need multi connections;
- connection reuse,so u don't need block user thread to wait for connection;
- synchronize call,rpc always need synchronize call;
- timeout,u cann't wait for server return response forever,so u need timeout policy,especially for online app;
- multi or custom serialize protocol(java/hessian/protobuf);
- custom your protocol.
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!