The Messaging module benchmarks the SMA (Simple Messaging Architecture) layer, which provides publish-subscribe messaging abstractions on top of the link layer.
Overview
The SMA layer adds messaging semantics including:
Channel-based pub/sub
Message routing
Quality of Service (QoS) levels
Multicast support
This benchmark measures the overhead of these abstractions compared to raw link layer performance.
Test Programs
Sender
Class: com.neeve.perf.sma.Sender
Publishes messages to a channel.
Receiver
Class: com.neeve.perf.sma.Receiver
Subscribes to and receives messages from a channel.
Running Benchmarks
Basic Pub/Sub Test
On Receiver Machine:
On Sender Machine:
Interpreting Results
The SMA layer adds minimal overhead over the link layer: