Rt

Rtipc – real-time, zero-copy IPC for Linux

Hacker News

Rtipc – real-time, zero-copy IPC for Linux

I built a small IPC library for Linux aimed at real-time and low-latency data exchange between processes. At its core is a zero-copy, wait-free, single-producer / single-consumer circular message queue living in shared memory. The design avoids locks and minimizes synchronization overhead, making it suitable for real-time or near-real-time workloads. Key features: - Zero-copy message passing via shared memory - Wait-free SPSC queue (no locks, no blocking in the fast path) - force_push mode: when the queue is full, the oldest message that hasn’t been consumed yet is dropped to make room for new data (useful when freshness > completeness, e.g. sensor streams) - Uses optional eventfds for efficient notifications - Small, dependency-free C implementation (a few thousand lines of code) This is not meant to replace general-purpose IPC systems like D-Bus. Instead, it’s designed to complement them for high-frequency or real-time data paths, while something like D-Bus handles control and configuration. The library includes a lightweight handshake protocol over Unix domain sockets to exchange shared memory file descriptors, eventfds, and channel configuration. If you prefer, you can also use an external IPC mechanism just for the handshake phase. Ecosystem: There’s also a pure Rust implementation of the same protocol and queue design: https://github.com/mausys/rtipc-rust And an example in Rust of using zbus and Tokio to perform the handshake over D-Bus while using this library for the real-time data channel: https://github.com/mausys/rtipc-zbus

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
64%64% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, single, using · Missing: mac, agents, macos
56%56% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoStrong fit for a featured deal · Strong signals: efficient · Missing: plus, platform, intuitive
52%52% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
34%34% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

De
Deft-Intruder – Real-time malware detection daemon for Linux80%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Deft-Intruder – Real-time malware detection daemon for Linux

Hacker News1
De
Deft-Intruder – Real-time malware detection daemon for Linux80%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Deft-Intruder – Real-time malware detection daemon for Linux

Hacker News6
Ca
Cadmus – a real-time microphone noise suppressor for Linux66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cadmus – a real-time microphone noise suppressor for Linux

Hacker News5
COGXIO
COGXIO

Find someone interesting around you in real-time

BetaList
Vi
Visualizing the 2016 Presidential Discussion in Real Time (D3js)66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Visualizing the 2016 Presidential Discussion in Real Time (D3js)

Hacker News4
Sh
Shoot ping pong balls in real time at roboempress57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Shoot ping pong balls in real time at roboempress

Hacker News1
Db
Dbpatterns Is Now Real Time56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dbpatterns Is Now Real Time

Hacker News1
Vi
Visualizing transit delays in real time for SF MUNI73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Visualizing transit delays in real time for SF MUNI

Hacker News58
Pr
Precess , a real-time sass compiler59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Precess , a real-time sass compiler

Hacker News1
Sc
Scrapy Real Time56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Scrapy Real Time

Hacker News37