discord/manifold
Fast batch message passing between nodes for Erlang/Elixir. observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 91
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3486
- days_rel: n/a
- days_push: 57
- n_releases_24m: 0
Adoption not part of the score
1848 stars · 74 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Manifold is an Elixir/Erlang library that optimizes batch message passing between Erlang nodes by grouping PIDs by remote node and distributing send work across partitioner and worker processes. It was built by Discord to reduce the per-call cost of send/2 when broadcasting messages to large numbers of processes across a cluster.
Use cases
- send messages to thousands of PIDs across Erlang nodes efficiently
- reduce network bandwidth when broadcasting to remote processes
- fix GenServer message queue backlogs caused by send/2 overhead
- batch message passing in a distributed Elixir cluster
- optimize real-time message fan-out at scale
- replace raw send/2 loops with a faster alternative
When to choose
- you run a distributed Erlang/Elixir cluster and send messages to many PIDs on remote nodes
- your processes fall behind on message queues due to send/2 costs
- you need Discord-scale message fan-out performance
When to avoid
- your app runs on a single node with no cross-node messaging
- you only send messages to a handful of processes
- you need guaranteed ordered delivery beyond what send/2 linearizability provides
Facets
library · maturity stable
message-queue concurrency networking microservices backend performance elixir jvm erlang elixir message-passing distributed-erlang batching performance-optimization discord messaging
1 source
- readme: https://github.com/discord/manifold · fetched 2026-08-28 · 5eb067a71ad2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| discord/manifold | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="discord/manifold")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem