# Gooddbird/tinyrpc

c++ async rpc framework. 14w+qps.

Repository: https://github.com/Gooddbird/tinyrpc
Canonical: https://ross.abutalabs.com/products/tinyrpc
Language: C++
License: Apache-2.0
License Family: permissive
Topics: coroutines, protobuf, reactor, rpc
Last push: 2026-08-12T02:56:47+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 1768, "days_push": 21, "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 1662, forks 235 (observed 2026-08-28T04:05:18.676598+00:00)

## What it is
TinyRPC is a C++ asynchronous RPC framework built on a reactor event loop with coroutine support, claiming 140k+ QPS. It supports a custom TinyPB protocol over protobuf as well as HTTP services, and includes a code generator scaffold.

## Use cases
- build a high-performance distributed rpc service in c++
- serve http endpoints with a lightweight c++ server
- make async rpc calls using coroutines
- define rpc interfaces with protobuf and generate service scaffolding
- learn how reactor and coroutine-based networking frameworks work

## When to choose
- you need a self-contained C++ RPC framework with coroutine-based async calls
- you want very high throughput RPC on Linux with protobuf serialization
- you want both RPC and HTTP serving in one lightweight framework

## When to avoid
- you need production-grade support, gRPC ecosystem compatibility, or cross-platform Windows support
- you want a batteries-included service mesh with service discovery and load balancing out of the box
- your team is not comfortable with modern C++ and coroutine internals

## Facets
- artifact type: framework
- maturity: active
- function: rpc, web-framework, http-server, serialization, logging, concurrency
- domain: backend, microservices, developer-tools, apis
- platform: cpp
- tags: coroutines, reactor-pattern, protobuf, tinypb-protocol, high-performance, microservices, scaffold-generator, linux

## Member repositories
- Gooddbird/tinyrpc (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.676598+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-30T03:44:33.108038+00:00, confidence not recorded.
  - readme: https://github.com/Gooddbird/tinyrpc (fetched 2026-08-28T04:05:18.676598+00:00, sha 1fd8c8d0f2c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
