# facebook/Haxl

A Haskell library that simplifies access to remote data, such as databases or web-based services.

Repository: https://github.com/facebook/Haxl
Canonical: https://ross.abutalabs.com/products/haxl
Language: Haskell
License: BSD-3-Clause
License Family: permissive
Last push: 2026-03-15T22:04:40+00:00

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

## Adoption (not part of the score)
Stars 4376, forks 309 (observed 2026-08-28T04:08:46.881212+00:00)

## What it is
Haxl is a Haskell library that simplifies access to remote data sources such as databases and web services. It automatically batches requests, fetches from multiple sources concurrently, and caches/memoizes results.

## Use cases
- batch multiple requests to the same data source
- solve the N+1 selects problem in SQL queries
- fetch data from multiple APIs concurrently
- cache and memoize remote data access
- write clean declarative data-fetching code in Haskell

## When to choose
- you write Haskell and need efficient concurrent access to remote data sources
- you want automatic request batching without manual optimization
- you need to eliminate N+1 query patterns in your data layer

## When to avoid
- your project is not in Haskell
- you need a general-purpose HTTP client rather than a data-access framework
- you want a ready-made data source with no custom integration work

## Facets
- artifact type: library
- maturity: stable
- function: concurrency, caching, http-client, database-driver
- domain: backend, databases, developer-tools, performance
- platform: cross-platform
- tags: data-fetching, batching, memoization, concurrent-io, n-plus-one, haskell

## Member repositories
- facebook/Haxl (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.881212+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-29T18:21:19.713523+00:00, confidence not recorded.
  - readme: https://github.com/facebook/Haxl (fetched 2026-08-28T04:08:46.881212+00:00, sha 03d894146e00)
- Data as of 2026-08-30T08:39:29.467469+00:00.
