Performance-focused HTTP client for Elixir
open sourceMITfree
Finch is an HTTP client for Elixir focused on performance, built on Mint and NimblePool. You start a Finch instance in your supervision tree, and it keeps efficient connection pools for each scheme, host and port you talk to, avoiding copying memory where it can; pool sizes and counts can be set per URL. Its README notes that most developers will prefer Req, which uses Finch's pooling underneath.
Problems it solves
- make fast HTTP requests from my Elixir app with connection pooling
- an HTTP client for Elixir that keeps connections open between requests
- tune connection pool sizes for different APIs my Elixir service calls
Features
- connection pools per scheme, host and port
- pool size and count configurable per URL
- built on Mint and NimblePool
- runs in your supervision tree
Alternatives
The same job
These do what Finch does.
- hackney An HTTP client for Erlang. Simple, reliable, fast.
- Mint Functional, low-level HTTP/1 and HTTP/2 client for Elixir
- HTTPoison Yet another HTTP client for Elixir, powered by hackney
- Tesla The flexible HTTP client library for Elixir, with middleware and multiple adapters
- Gun Erlang HTTP/1.1, HTTP/2 and Websocket client
- Req A batteries-included HTTP client for Elixir
