> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Cerulion's Multi-Process Replay and ROS 2 Compatibility
- URL: https://www.stirup.si/cerulion-s-multi-process-replay-and-ros-2-compatibility-bcedd58c/
- Published: 2026-11-12T22:32:32.000Z
- Updated: 2026-11-12T22:32:32.000Z
- Description: Cerulion is an open-source, zero-copy robot runtime that supports multi-process execution and ROS 2 compatibility, with performance improvements showing up to 2,700× faster latency compared to ROS 2 Jazzy.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Cerulion's Multi-Process Replay and ROS 2 Compatibility

Cerulion (YC S24) is an open-source, zero-copy robot runtime designed for physical AI, offering features such as recording runs and replaying failures against new code. It supports multi-process execution, allowing each node in a graph to run as a separate process without modifying the graph file, as outlined in the multi-process guide. The system records runs into files with the .mcap extension, which can be replayed using the `cerulion bag play` command. During replay verification, Cerulion re-executes the graph with recorded inputs and execution context, comparing the outputs against the original recording to ensure consistency. Additionally, Cerulion is compatible with ROS 2, with the `rmw_cerulion` transport tested in CI on multiple ROS 2 versions, including Foxy, Galactic, Humble, Jazzy, and Lyrical. The `cerulion ros2 attach` command is validated on Jazzy, Foxy, and Humble, as detailed in the ROS 2 compatibility documentation.

## Performance Comparison Between Cerulion and ROS 2 Jazzy

A performance comparison between Cerulion and ROS 2 Jazzy highlights significant improvements in latency and throughput. On an x86-64 Linux desktop with a 24-core Intel Core Ultra 9 285K, Cerulion's default multi-process layout achieved a median round-trip latency of 4.08 µs for a 1 MiB payload, compared to 10,952 µs on ROS 2 Jazzy with rmw\_fastrtps\_cpp defaults—approximately 2,700× faster. For smaller payloads, such as 64 B, Cerulion's median latency was 4.07 µs, while ROS 2 Jazzy recorded 311 µs. At 16 MiB, Cerulion's latency remained stable at 4.43 µs (p50), whereas ROS 2 Jazzy exceeded 103,854 µs. These results suggest that Cerulion's architecture better handles larger payloads without significant latency increases. Additionally, ROS 2 Jazzy can run over Cerulion's transport, as demonstrated by the rmw\_cerulion line in the same test setup. However, LAN access to a robot's topics requires the CERULION\_LAN\_ACCESS environment variable to be set to open.

## Cerulion on Real Hardware and Graph Validation

Cerulion operates on real hardware, as demonstrated by its integration with a six-axis industrial arm running ROS 2 and MoveIt. The system captures real-time data, including the arm's discovered topics, live 3D models driven by joint states, and controller state plots. A phone video of the real arm is synchronized with the model during editing, providing a visual confirmation of the system's performance. Users can inspect the quickstart graph's topics using the CLI with commands like `cerulion topic list` and `cerulion topic hz /obstacle_avoidance/laser_scanner/scan`, as outlined in the guides on inspecting topics and working with remote robots.

Flashback, a feature within Cerulion, maintains a memory-bounded window of recent activity in every running graph. This allows users to review the moments before a problem occurs, such as when a worker process fails or a topic stalls. Flashback automatically captures these events, and users can view the triggers listed within the system. The `bag info` command reports whether a captured event can be re-executed or only played back, as noted in the documentation.

## Sources and reporting notes

- [Hacker News Show](https://github.com/cerulion-inc/cerulion?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.