# facebook/fbthrift

Facebook's branch of Apache Thrift, including a new C++ server.

Repository: https://github.com/facebook/fbthrift
Canonical: https://ross.abutalabs.com/products/fbthrift
Language: C++
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T22:00:44+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4810, "days_push": 7, "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 2697, forks 644 (observed 2026-08-28T04:07:11.209222+00:00)

## What it is
Facebook's evolved branch of Apache Thrift, providing a serialization and RPC framework with a rewritten compiler and a fully asynchronous C++ Thrift server. It generates client/server stubs and serializable data structures across languages with strong C++, Python, Hack, and Java support.

## Use cases
- build high-performance RPC services in C++
- serialize structured data across languages
- generate client and server stubs from Thrift IDL files
- run an asynchronous Thrift server for microservices
- serialize records on disk for storage systems

## When to choose
- you need a battle-tested RPC framework at large scale, as used at Facebook
- you want cross-language serialization with a schema/IDL
- you need a fully asynchronous C++ server

## When to avoid
- you need vanilla Apache Thrift compatibility, since this branch has diverged
- your stack doesn't include C++, Python, Hack, or Java
- you want a simple REST/JSON API instead of binary RPC

## Facets
- artifact type: library
- maturity: active
- function: rpc, serialization, http-server
- domain: microservices, backend, apis, developer-tools
- platform: cpp, python, windows, cross-platform
- tags: thrift, facebook, async-server, idl, microservices, code-generation, linux, macos

## Member repositories
- facebook/fbthrift (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.209222+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:16:12.773764+00:00, confidence not recorded.
  - readme: https://github.com/facebook/fbthrift (fetched 2026-08-28T04:07:11.209222+00:00, sha dc7f0b6b4338)
- Data as of 2026-08-30T08:39:29.467469+00:00.
