[Core] Cache host ring discovery without blocking empty polls

Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
Sy03 committed 2026-10-05 21:56:29 +08:00
1 parent d98feb3c65
commit 06f562cb3d
3 files changed
+141 -13

No files matched your search

@@ -58,6 +58,9 @@ controlled comparisons or deployments with older receivers. Nonzero capacities
must be between 4 KiB and 64 MiB. All ring endpoints must support this protocol.
The launcher supplies a common deployment scope; discovery scans only that
scope's directory. Receive attempts do not wait for another process's file lock.
An unchanged empty channel skips its frame lock. Channel registration and
retirement advance a serialized discovery stamp, so empty polling does not
rescan the directory and new producers remain discoverable without a timer.
Ring endpoints must share a Linux PID namespace. Deployments that share SHM
across different PID namespaces must use `host_ring_bytes: 0`.