Description
Zebus is a lightweight peer-to-peer service bus built with CQRS principles in mind. Applications connect to the bus as peers and send each other events and commands, with no broker in the middle to dispatch messages. Each peer has a unique identifier, such as MyAmazingPeer.0, which lets you run several instances of the same service. An event notifies everyone who is interested that something happened, while a command asks one peer to perform an action. You write message handler classes, and the bus scans your assemblies on startup to find them. The main entry points are Publish for events and Send for commands. The project reports a throughput of 140k messages per second and round-trip latency under 500 microseconds, with a Performance page for details. An optional persistence feature keeps messages from being lost when a peer is down or disconnected. The authors say the bus has run in production at ABC Arbitrage since 2013, handling hundreds of millions of messages a day. Most of the complexity sits inside the library, and the source is public on GitHub.…
Highlights
- Peer-to-peer messaging without a broker
- Events and commands for CQRS-style apps
- Optional persistence for messages
- Message handlers found automatically on startup
- Reported throughput of 140k messages per second
Ratings & Reviews
No ratings yet
Be the first to rate Zebus.
People also visit
Zebus FAQ
What is Zebus?
A lightweight peer-to-peer service bus for applications that need to communicate with each other.
Does it need a broker?
No. The project says peers dispatch messages to each other directly, without a broker.
What is the difference between an event and a command?
An event tells everyone interested that something happened. A command asks a peer to perform an action.
Are messages kept if a peer goes down?
An optional persistence feature keeps messages from being lost when a peer is down or disconnected.
Is it used in production?
The authors say they have used it in production at ABC Arbitrage since 2013, handling hundreds of millions of messages per day.
What are the best Zebus alternatives?
Popular alternatives to Zebus include Broccoli, DispatchR and CheezyPizza. See all Zebus alternatives
