# igrigorik/em-http-request

Asynchronous HTTP Client (EventMachine + Ruby)

Repository: https://github.com/igrigorik/em-http-request
Canonical: https://ross.abutalabs.com/products/em-http-request
Language: Ruby
License Family: other
Last push: 2024-11-10T05:42:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6585, "days_push": 661, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1215, forks 230 (observed 2026-08-28T04:04:01.164921+00:00)

## What it is
An asynchronous HTTP client library for Ruby built on EventMachine, supporting parallel requests, streaming, keep-alive, pipelining, proxies, and auth. It integrates with middleware and works across MRI, JRuby, and Rubinius.

## Use cases
- make async HTTP requests in Ruby
- issue parallel HTTP requests
- stream large HTTP responses
- upload files over HTTP asynchronously
- fetch URLs through HTTP or SOCKS5 proxies
- follow redirects with gzip decoding
- use OAuth or Basic Auth in an evented HTTP client

## When to choose
- you already use EventMachine and need non-blocking HTTP
- you need many concurrent or parallel HTTP requests in Ruby
- you need streaming responses or uploads
- you need proxy (HTTP/SOCKS5) support in an async client

## When to avoid
- you want a simple synchronous HTTP client
- your project does not use an evented reactor
- you need a client with an actively maintained license and modern async ecosystem (consider async-http or Typhoeus)

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, middleware
- domain: web-development, developer-tools, networking
- platform: ruby, cross-platform
- tags: eventmachine, async, http, parallel-requests, streaming, proxy-support

## Member repositories
- igrigorik/em-http-request (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.164921+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:16.413661+00:00, confidence not recorded.
  - readme: https://github.com/igrigorik/em-http-request (fetched 2026-08-28T04:04:01.164921+00:00, sha d1390886bdb9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
