discourse/message_bus
A reliable and robust messaging bus for Ruby and Rack observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4858
- days_rel: n/a
- days_push: 30
- n_releases_24m: 0
Adoption not part of the score
1662 stars · 129 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MessageBus is a Ruby gem providing a reliable publish/subscribe messaging bus for server-to-server and server-to-web-client communication. It runs as Rack middleware, supporting polling, long-polling, and streaming across all common Ruby web servers.
Use cases
- publish and subscribe to messages between Ruby processes
- push real-time updates from a Rails or Sinatra app to browsers
- deliver targeted messages to specific users or client sessions
- replay message backlogs on a channel after reconnecting
- handle thousands of concurrent long-poll connections in Rack apps
When to choose
- you run a Rails, Sinatra, or Rack app and need reliable pub/sub messaging without a dedicated message broker
- you want real-time client updates using long-polling that works on standard Ruby web servers
- you need battle-tested infrastructure, as it powers Discourse in production at scale
When to avoid
- you need a full-featured distributed message queue like Kafka or RabbitMQ with guaranteed delivery semantics across services
- your stack is not Ruby/Rack based
- you prefer WebSocket-first solutions like Action Cable or AnyCable
Facets
library · maturity stable
message-queue middleware websocket http-server web-development backend ruby pub-sub long-polling rack-middleware real-time-messaging rubygem messaging real-time web-server rack
1 source
- readme: https://github.com/discourse/message_bus · fetched 2026-08-28 · aa94b59a7c52
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| discourse/message_bus | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="discourse/message_bus")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem