Skip to content

Interconnecting with the UBShmTransport Based on the LD/ST Shared Memory Semantics.#3289

Closed
zchuango wants to merge 34 commits intoapache:masterfrom
zchuango:ub_ring_transport_dev
Closed

Interconnecting with the UBShmTransport Based on the LD/ST Shared Memory Semantics.#3289
zchuango wants to merge 34 commits intoapache:masterfrom
zchuango:ub_ring_transport_dev

Conversation

@zchuango
Copy link
Copy Markdown
Contributor

@zchuango zchuango commented May 9, 2026

What problem does this PR solve?

Issue Number: #3226 #3167 #3217

Problem Summary:
After recent efforts, the UB-Ring framework has been successfully integrated with the BRPC transport framework. Currently, high-performance and low-latency communication based on the load/store (LD/ST) semantics is supported. I feel happy be able to contribute this to the community and look forward to receiving feedback and reviews. @wwbmmm @chenBright

What is changed and the side effects?

Changed:

  1. The ubring framework is added. This framework implements low-latency data communication based on the shared memory LD/ST semantics.
  2. Currently, the ubring framework supports two modes: POSIX IPC shared memory and ubs-mem remote shared memory.
  3. The ub_shm_type parameter is used to control whether to use the IPC or ubs-mem capability. Currently, ubs-mem can run on the Kunpeng 950 supernode that supports the ub protocol.
    Side effects:
  • Performance effects: NAN

  • Breaking backward compatibility:


Check List:

* change the timeout checker bthread to timer bthread

* refine ProgressiveReadTimeoutReader class hold SocketId and read_timeout_ms fields

* refine socektId access method, change HandleIdleProgressiveReader belong and logic
* change the timeout checker bthread to timer bthread

* refine ProgressiveReadTimeoutReader class hold SocketId and read_timeout_ms fields

* refine socektId access method, change HandleIdleProgressiveReader belong and logic
@zchuango zchuango closed this May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant