Universal Messaging 10.11 | Concepts | Performance, Scalability and Resilience | Shared Memory (SHM)
 
Shared Memory (SHM)
Shared Memory (SHM) is our lowest latency communications driver, designed for inter-process communication (IPC). SHM can be used for client and inter-realm (cluster and join) communication. It is operating system independent as it does not depend on any OS specific libraries, making it simple to set up and use.
As the name suggests, shared memory allocates blocks of memory that other processes can access - allowing the same physical computer to make connections without network overhead. This has many advantages, one of which is that when the realm and the data source (publisher) are located on the same physical computer, there is no network latency added between them. This results in less latency for delivery to clients.
Advantages
*Lowest latency
*No network stack involved
*Efficient use of resources with no Network IO required
Disadvantages
*Same physical machine only
*Shared memory drivers are currently not supported on the following configurations:
*HP-UX systems
*Solaris with SPARC architecture