# socketry/async

An awesome asynchronous event-driven reactor for Ruby.

Repository: https://github.com/socketry/async
Canonical: https://ross.abutalabs.com/products/socketry-async
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, async, asynchronous
Last push: 2026-08-26T11:03:39+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3436, "days_push": 7, "days_rel": 7, "gap_med": 9, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2459, forks 111 (observed 2026-08-28T04:06:53.389597+00:00)

## What it is
Async is a composable asynchronous event-driven I/O framework for Ruby built on the io-event gem. It provides lightweight fiber-based concurrency with a reactor/scheduler model, enabling thousands of concurrent clients per process without callbacks.

## Use cases
- run concurrent HTTP requests in Ruby without threads
- build scalable event-driven network servers in Ruby
- perform non-blocking I/O for file uploads
- run thousands of concurrent tasks per process
- replace callback-based async code with fiber-based concurrency
- add parallelism with multi-thread/process containers

## When to choose
- you need scalable concurrent I/O in Ruby with a clean synchronous-looking API
- your Ruby app is I/O-bound and would benefit from non-blocking operations
- you want fiber-based concurrency without callback complexity

## When to avoid
- you need CPU-bound parallelism rather than I/O concurrency
- your project targets a language other than Ruby
- you need a full async web framework rather than an I/O foundation

## Facets
- artifact type: library
- maturity: stable
- function: concurrency, http-server, developer-tools
- domain: developer-tools, backend, web-development, performance
- platform: ruby, cross-platform
- tags: event-driven, fiber-based-concurrency, reactor, io, non-blocking

## Member repositories
- socketry/async (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:53.389597+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-30T02:29:21.675922+00:00, confidence not recorded.
  - readme: https://github.com/socketry/async (fetched 2026-08-28T04:06:53.389597+00:00, sha e98450d4d4ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
