Skip to content

Enable Zenoh shared memory - #842

Open
caguero wants to merge 34 commits into
caguero_zenoh_cold_startfrom
caguero-zenoh-shm
Open

Enable Zenoh shared memory#842
caguero wants to merge 34 commits into
caguero_zenoh_cold_startfrom
caguero-zenoh-shm

Conversation

@caguero

@caguero caguero commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

🎉 New feature

Closes #754

Summary

This patch integrates Zenoh shared-memory capabilities into gz-transport.

Some benchmarks:

throughput_pubsub latency_pubsub svc_twoway_throughput svc_twoway_latency

Known limitations: Zenoh only provides a POSIX SHM provider, so shared memory won't work on Windows.

Test it

You can run the benchmarks with:

cd example/benchmark
mkdir build && cd build
make
cd ..
python3 run_benchmark.py -b build/bench --quick

Checklist

  • Signed all commits for DCO
  • Added a screen capture or video to the PR description that demonstrates the feature
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • Updated Bazel files (if adding new files). Created an issue otherwise.
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Generated-by: Remove this if GenAI was not used.

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.

Backports: If this is a backport, please use Rebase and Merge instead.

@caguero
caguero marked this pull request as ready for review April 7, 2026 22:26
@azeey azeey linked an issue May 26, 2026 that may be closed by this pull request
6 tasks
@caguero
caguero force-pushed the caguero-zenoh-shm branch from 6eba082 to 228cd3c Compare July 18, 2026 07:28
caguero and others added 25 commits July 18, 2026 09:32
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>

# Conflicts:
#	src/NodeSharedPrivate.hh
#	tutorials/20_env_variables.md
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>

# Conflicts:
#	example/benchmark/run_benchmark.py
#	src/NodeSharedPrivate.hh
#	tutorials/20_env_variables.md
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
caguero added 8 commits July 18, 2026 09:34
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
@caguero
caguero force-pushed the caguero-zenoh-shm branch from 228cd3c to d66bed1 Compare July 18, 2026 07:38
@caguero
caguero changed the base branch from caguero-zenoh_wait_before_drop to main July 18, 2026 07:38
Generated-by: Claude Fable 5
Signed-off-by: Carlos Aguero <caguero@honurobotics.com>
@caguero
caguero changed the base branch from main to caguero_zenoh_cold_start July 18, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

Zenoh outstanding tasks

2 participants