net-http-persistent VS Faraday

Compare net-http-persistent vs Faraday and see what are their differences.

net-http-persistent

Thread-safe persistent connections with Net::HTTP (by drbrain)

Faraday

Simple, but flexible HTTP client library, with support for multiple backends. (by lostisland)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
net-http-persistent Faraday
2 5
330 5,659
- 0.4%
2.0 8.0
12 days ago about 1 month ago
Ruby Ruby
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

net-http-persistent

Posts with mentions or reviews of net-http-persistent. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-14.
  • NTLM authentication with Ruby and Faraday
    3 projects | dev.to | 14 Nov 2021
    As the NTLM auth algorithm requires to keep the connection alive, we have to use the gem net-http-persistent. Also we have to use the ruby-ntlm gem because coding/encoding logic is tricky.
  • Turbocharge HTTP requests in Ruby
    2 projects | /r/ruby | 15 May 2021
    A quick glance at persistent.rb shows keep-alive support and a configurable pool size. The initial implementation in 3.x had a couple of memory leak issues but in practice I've not seen them on recent versions. Where is this claim based on?

Faraday

Posts with mentions or reviews of Faraday. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-22.

What are some alternatives?

When comparing net-http-persistent and Faraday you can also consider the following projects:

Http Client - 'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.

RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.

ruby-ntlm - NTLM authentication client for Ruby.

httparty - :tada: Makes http fun again!

Typhoeus - Typhoeus wraps libcurl in order to make fast and reliable requests.

HTTP - HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts

excon - Usable, fast, simple HTTP 1.1 for Ruby

Savon - Heavy metal SOAP client

Http-2 - Pure Ruby implementation of HTTP/2 protocol

Patron - Ruby HTTP client based on libcurl

Sawyer - Secret User Agent of HTTP