Fabric3 supports low-latency, high performance communications between clients and services and producers and consumers (Pub/Sub) via a binding built on the ZeroMQ Library. The following messaging patterns are supported:
- Non-blocking queue-based messaging
- Non-blocking pub/sub messaging
- Request-reply messaging
- Callbacks
It is recommended for performance reasons that services uses non-blocking (asynchronous) ZeroMQ messaging, that is, either one-way service invocations or channels. If a service needs to return a response to a client, callbacks will generally scale better than blocking-request-response messaging.
For an example of how to use the ZeroMQ binding, see the FastQuote sample.
Installation
The ZeroMQ binding can be enabled by installing the ZeroMQ profile one one of the Fabric3 runtime distributions. Note that the native ZeroMQ libraries are packaged with the ZeroMQ profile and will be managed automatically by Fabric3. Installation of the native libraries is not required.
Supported Platforms
The ZeroMQ binding is currently supported on the Fabric3 server runtime only with RedHat Linux, Windows 7+, or Mac OS X.