# baidu/sofa-pbrpc

A light-weight RPC implement of google protobuf RPC framework.

Repository: https://github.com/baidu/sofa-pbrpc
Canonical: https://ross.abutalabs.com/products/sofa-pbrpc
Language: C++
License: NOASSERTION
License Family: other
Last push: 2023-08-24T08:55:55+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4543, "days_push": 1105, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2138, forks 649 (observed 2026-08-28T04:06:18.162219+00:00)

## What it is
sofa-pbrpc is a lightweight C++ RPC library implementing Google's protobuf RPC framework, with sync/async calls, timeouts, compression, load balancing, and a web monitor. It was developed by Baidu and also provides a Python client library.

## Use cases
- build high-performance protobuf RPC services in C++
- make sync and async RPC calls with per-request timeouts
- load balance requests across multiple backend servers
- monitor RPC services via a built-in web dashboard
- call protobuf RPC services from Python
- compress RPC payloads transparently over the network

## When to choose
- you need a lightweight, high-performance protobuf RPC stack in C++
- you want built-in load balancing, fault tolerance, and flow control without extra infrastructure
- you need service/method/request-level timeout control
- you want a web-based monitor and profiling statistics for RPC services

## When to avoid
- you need gRPC or modern protobuf versions (it depends on protobuf 2.4.1)
- you need cross-platform support beyond Linux
- you want an actively developed project with recent community activity
- you need features like bidirectional streaming or HTTP/2

## Facets
- artifact type: library
- maturity: maintenance
- function: rpc, http-server, middleware, monitoring
- domain: microservices, backend, developer-tools, networking
- platform: cpp, python
- tags: protobuf, load-balancing, async-rpc, high-performance, baidu, linux

## Member repositories
- baidu/sofa-pbrpc (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.162219+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:51:36.055684+00:00, confidence not recorded.
  - readme: https://github.com/baidu/sofa-pbrpc (fetched 2026-08-28T04:06:18.162219+00:00, sha b665e1cbe65a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
