Finagle Client

Reactive Patterns

Vivek Patil

v0.1.0

Introduction

Finagle is a powerful RPC system for JVM written in Scala that allows construction of highly performant concurrent services

Finagle Client

A service is a function that takes request of type Req, and return a response of Future of Rep

Designed to maximize success and minimize latency. Each request will flow through various modules. Logically separated into three stacks:

Client stack : manages name resolution and balances requests across multiple endpoints.
Endpoint stack : provides circuit breakers and connection pooling.
Connection stack : provides connection life-cycle management and implements the wire protocol.