首页 > 其他 > 详细

Finagle

时间:2016-04-06 02:16:47      阅读:264      评论:0      收藏:0      [点我收藏+]

Finagle is an extensible RPC system for the JVM, used to construct high-concurrency servers. Finagle implements uniform client and server APIs for several protocols, and is designed for high performance and concurrency. Most of Finagle’s code is protocol agnostic, simplifying the implementation of new protocols.

Finagle uses a cleansimple, and safe concurrent programming model, based onFutures. This leads to safe and modular programs that are also simple to reason about.

Finagle clients and servers expose statistics for monitoring and diagnostics. They are also traceable through a mechanism similar to Dapper‘s (another Twitter open source project, Zipkin, provides trace aggregation and visualization).

The quickstart has an overview of the most important concepts, walking you through the setup of a simple HTTP server and client.

A section on Futures follows, motivating and explaining the important ideas behind the concurrent programming model used in Finagle. The next section documents Services & Filters which are the core abstractions used to represent clients and servers and modify their behavior.

Other useful resources include:

Finagle

原文:http://www.blogjava.net/xiaomage234/archive/2016/04/05/429966.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!