# Tencent/phxqueue

A high-availability, high-throughput and highly reliable distributed queue based on the Paxos algorithm.

Repository: https://github.com/Tencent/phxqueue
Canonical: https://ross.abutalabs.com/products/phxqueue
Language: C++
License: NOASSERTION
License Family: other
Last push: 2023-04-07T11:44:38+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": 3278, "days_push": 1244, "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 1894, forks 325 (observed 2026-08-28T04:05:50.761295+00:00)

## What it is
PhxQueue is a high-availability, high-throughput distributed queue built on the Paxos consensus protocol, developed by Tencent and used in production at WeChat. It guarantees At-Least-Once delivery with features like strictly ordered dequeue, multiple consumer groups, and multi-region deployment.

## Use cases
- run a reliable distributed message queue
- guarantee at-least-once message delivery
- build ordered task queues for payment systems
- deploy a Paxos-based queue across regions
- replay consumed messages from a queue
- balance consumers across a distributed queue

## When to choose
- you need strong consistency and reliability backed by Paxos consensus
- you require strictly ordered dequeue with at-least-once delivery guarantees
- you operate at WeChat-scale throughput and need battle-tested infrastructure
- you need multi-region deployment for queue storage

## When to avoid
- you want a lightweight queue with simple setup - PhxQueue has heavy C++ build dependencies
- you need Kafka/RabbitMQ ecosystem tooling and broad community support
- your project targets Windows or macOS - it is Linux-oriented
- you need a actively evolving project - development activity has slowed

## Facets
- artifact type: service
- maturity: maintenance
- function: message-queue, rpc, concurrency
- domain: microservices, backend
- platform: cpp, self-hosted
- tags: paxos, distributed-queue, at-least-once-delivery, wechat, high-throughput, messaging, linux

## Member repositories
- Tencent/phxqueue (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:50.761295+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:12:53.507667+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/phxqueue (fetched 2026-08-28T04:05:50.761295+00:00, sha f86869ca4272)
- Data as of 2026-08-30T08:39:29.467469+00:00.
