Joseph Doherty 5516561084 perf(gateway): run the worker event hand-off inline instead of two pool hops (#235)
The staging channel and the worker event channel now allow synchronous
continuations, so an event moves from the pipe read loop through the event
writer into the distributor pump on one thread. At ~240 ev/s each removed pool
work item ended in a PortableThreadPool spin-wait.

Subscriber channels keep asynchronous continuations, so no gRPC, dashboard or
alarm consumer code runs on the read loop. A full event channel still parks the
writer on an await and returns to the read loop; both overflow faults, ordering
and replay behavior are unchanged. The queue-depth gauge now increments before
the staging write, since the consumer can decrement inside it.

Documented under 'Event path threading' in docs/GatewayProcessDesign.md.
2026-12-03 09:36:30 -05:00
…
S
Description
No description provided
42 MiB
Languages
C# 52.7%
Java 35.4%
Python 3%
Rust 2.8%
Go 2.6%
Other 3.4%