Ruby HTTP Client

Open-source Ruby projects categorized as HTTP Client

Ruby HTTP Client Projects

  • HTTP

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

  • httpx

    (Mirror) An HTTP client library for ruby (by HoneyryderChuck)

  • Project mention: Use Rails | news.ycombinator.com | 2024-05-07

    A internal network boundary is probably worth it for heavy jobs, since you usually don't want it to interfere with serving web requests (no matter the tech).

    You probably already know what I would say to each of those examples.

    > Rails timing out after 30s while allocating 500MB of memory (mostly) in ActiveRecord to compute 5MB of JSON to return to an API caller.

    I can make a JS or Go program perform the same way. In fact the exact same thing happened in my shop with Go/Gorm. The key question is: how do you compute the 5mb of JSON? The devil is in those details. We changed the way we computed ours, and the issue was gone.

    > 90% of request latency of ~10s spent waiting for downstream services to respond to requests. Most of these could be fired off concurrently (ie `Promise.all` in node). 9s/10s this Rails worker is sitting around doing nothing and eating up ~300MB of memory.

    This sounds broken. Why is the worker doing nothing for 9 out of 10s? But like I said earlier, there are a bunch of ways to use HTTP1.1 pipelining to run them concurrently. (https://github.com/excon/excon and https://github.com/HoneyryderChuck/httpx support it, but you can also do that with Net::HTTP I believe) And you can still start threads, which are still concurrent while blocking on IO.

    > trying to extract out Authorization to a centralized service (so that other extracted services don't have to call into the monolith in order to make authorization decisions) is a major pain as the monolith now has to make calls out to the centralized auth system to in order to make authz decisions.

    This seems unrelated to Rails. Not sure why monolith can't continue handling authorization.

  • 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.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby HTTP Client related posts

  • Best Ruby HTTP Clients in 2023

    3 projects | /r/ruby | 5 Apr 2023
  • Pattern Matching Interfaces in Ruby

    6 projects | dev.to | 23 Jan 2023
  • 7 Ruby Standard libraries you should get to grips with

    1 project | dev.to | 22 Oct 2021
  • Best language to learn quickly/easily to interact with an API?

    2 projects | /r/AskProgramming | 1 Oct 2021
  • Yet Another Snazzy Rust CLI

    4 projects | dev.to | 19 Jun 2021
  • The Best Ruby HTTP clients for 2021

    6 projects | /r/ruby | 28 Apr 2021
  • Ruby on Rails + Auth0: Authenticating your API with an external authentication service

    4 projects | dev.to | 28 Feb 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

Project Stars
1 HTTP 2,988
2 httpx 172

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com