Direct answer: The messaging system is trending on GitHub this week. Pub/sub is the connective tissue of distributed systems: subjects, subscriptions, delivery guarantees and the persistence layer that makes messages survivable.

A messaging system is trending on GitHub this week, riding the reality that every distributed system eventually asks the same question: how do services talk?

Publish-subscribe is the dominant answer, and its model is simple enough to explain in one diagram and deep enough to run banks on.

The subject model

Publishers send messages to subjects - dotted name hierarchies like orders.created. Subscribers listen to exact subjects or wildcard patterns and receive matching messages.

Publishmessage to a subjectMatchsubscriptions, with wildcardsDeliverone copy per subscriberDecouplesenders never know receivers

The decoupling is the point: publishers need no knowledge of who listens. New consumers attach without touching any producer - the property that lets systems grow sideways.

Delivery semantics: the fine print

Core messaging is at-most-once - fast, fire and forget. Persistent streams add at-least-once with acknowledgment and replay, trading a little latency for durability.

ModeGuaranteeUse case
Core pub/subAt-most-once deliveryLive signals where loss is acceptable
Persistent streamAt-least-once with acksOrders and events you cannot lose
Work queuesEach message to one workerParallel job processing
ReplayReconsume historyNew services joining late

Why lightweight wins

The system’s signature is a tiny footprint and simple protocol, which lets it run everywhere from embedded devices to global fleets - and lets it sit inside processes for local messaging.

  • A single binary, minimal configuration.
  • Runs embedded, on edge devices, or clustered globally.
  • Subjects and wildcards model most routing needs.
  • Persistence is optional, added where durability matters.

That flexibility explains the trend: teams adopt it at the smallest scale first, then discover it scales further than they expected.

missedyour Brain mapquiz yourselfmasteredWatch your weak spots turn green.

Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.

Open Brain - free

The bigger picture

Distributed systems need three primitives - communication, coordination and persistence - and messaging carries most of the communication load.

So this week’s trending project is plumbing in the best sense: invisible when healthy, essential always, and now lightweight enough to live anywhere.

The bottom line: Subjects and wildcards make routing declarative and flexible. Delivery semantics trade latency for durability deliberately. Persistence and replay let late joiners reconstruct state. Tiny footprint is what lets messaging live everywhere. Each one is a lever you can pull the next time this subject crosses your feed or your work.

Key takeaways

  • Subjects and wildcards make routing declarative and flexible.
  • Delivery semantics trade latency for durability deliberately.
  • Persistence and replay let late joiners reconstruct state.
  • Tiny footprint is what lets messaging live everywhere.

Quick answers

What is at-least-once delivery?
Messages may arrive more than once but never zero times - receivers must be idempotent, which is the standard distributed-systems trade.

Why would I choose at-most-once?
For telemetry, presence and live signals where the next message arrives soon anyway and latency matters more than completeness.

Can consumers catch up on old messages?
Yes, with persistent streams - replay lets a new service read history as if it had subscribed from day one.

One thing to do tonight

Tonight, draw your last project’s services as boxes and add arrows for every direct call. Then imagine replacing half with subjects - the coupling will become visible.