Skip to content

fix(cache): serialize router notifications on the ZMQ owner thread - #1601

Open
WANDY666 wants to merge 1 commit into
mainfrom
fix/cpu-cache-zmq-ownership
Open

WANDY666 wants to merge 1 commit into
mainfrom
fix/cpu-cache-zmq-ownership

Conversation

@WANDY666

Copy link
Copy Markdown
Contributor

Cache workers enqueue completed requests, and the receive loop alone sends router notifications.

This prevents concurrent worker completions from sharing a ZeroMQ socket across threads, including the cache-match timeout path. Cache matching and request payloads are unchanged.

Tests: concurrent completion and timeout regressions (2 passed).

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