发布

  • 17896 52a55b504e

    Dynamic transaction thread pool (#9536)

    frostbyte_neo 发布于 2026-07-06 14:22:41 +00:00 | 42 次提交 在此版本后已推送到 master

    • Add dynamic transaction thread pool that grows on demand

    • Simplify dynamic worker pool

    • Move dynamic thread pool into transaction handler

    • Grow transaction threads on demand with order pinning

    • Extract order request processing into a dedicated pool

    • Move request routing and release into the processing pool

    • Address review comments

    • Simplify processing pool shutdown and queue lookup

    • Fix combo re-routing when a simple order shares its group id

    • Process order requests off a single shared worker queue

    • Address review comments

    • Log when the transaction pool grows a new thread

    • Add test for processing many orders quickly

    • Fix synchronous processing snapshot

    • Address review comments

    • Shutdown drain fix. TryExpand start thread without lock. Restore FIFO for non-concurrent live brokerages


    Co-authored-by: Martin Molinero martin.molinero1@gmail.com

    下载附件