Skip to content

Enable Zenoh shared memory#842

Open
caguero wants to merge 27 commits into
caguero-zenoh_wait_before_dropfrom
caguero-zenoh-shm
Open

Enable Zenoh shared memory#842
caguero wants to merge 27 commits into
caguero-zenoh_wait_before_dropfrom
caguero-zenoh-shm

Conversation

@caguero
Copy link
Copy Markdown
Collaborator

@caguero caguero commented Apr 7, 2026

🎉 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 added 10 commits April 7, 2026 10:46
Signed-off-by: Carlos Agüero <[email protected]>

# Conflicts:
#	src/NodeSharedPrivate.hh
#	tutorials/20_env_variables.md
Signed-off-by: Carlos Agüero <[email protected]>

# Conflicts:
#	example/benchmark/run_benchmark.py
#	src/NodeSharedPrivate.hh
#	tutorials/20_env_variables.md
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
caguero added 13 commits April 7, 2026 18:46
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
@caguero caguero marked this pull request as ready for review April 7, 2026 22:26
caguero added 4 commits April 9, 2026 14:21
Signed-off-by: Carlos Aguero <[email protected]>
Signed-off-by: Carlos Aguero <[email protected]>
Signed-off-by: Carlos Aguero <[email protected]>
Signed-off-by: Carlos Aguero <[email protected]>
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.

2 participants