Ultra-low latency IPC library

I require an ultra-low latency interprocess communication library that has latencies on the order of 1 microsecond. This will be difficult to achieve but is theoretically possible using shared memory ring buffers and events/condition variables. The following example does not have the characteristics that I need but demonstrates that the performance is possible:

[url removed, login to view]

The library must be compatible with Windows, Linux, and Mac OS (most likely through POSIX api). Because the performance requirement is so tight it will be necessary to use native kernel functions on each os. The system will work by having a central service create endpoint pairs, and then pass those endpoints to different processes through another ipc method like loopback tcp or pipes. The endpoints will behave like full duplex socket connections with send/recv functions except with as close to zero latency as possible. The recv function will be blocking and use a separate thread to poll. While the latency must be kept to a minimum it must not use excessive cpu cycles when blocking. It must use a kernel event to determine when to read. The endpoint connection must be resistant to eavesdropping by other processes.

Skills: C++ Programming, Linux, Mac OS, Windows Desktop

See more: linux ipc library, low latency ipc, linux ipc latency, ipc library, codeproject ultra tcp, linux ipc tcp library, fast ipc low latency, linux windows ipc, shared memory latency ipc, ipc ultra low latency, ipc low latency windows, windows low latency ipc, windows ipc, ipc windows, ring-central, linux ipc, c library sort, Windows Kernel, ultra, tcp socket, ring central, low, low latency, loopback, library system

About the Employer:
( 3 reviews ) United States

Project ID: #4450850

2 freelancers are bidding on average $440 for this job


Hi there, please check PMB. Thanks.

$550 USD in 10 days
(10 Reviews)

Expert Solution here. Check PM

$329 USD in 4 days
(1 Review)