milvus/internal/util/flowgraph
zhenshan.cao bba0e159ba
feat: [pick] Add bypassing logic for ttMsg in flowgraph of DataNode(#28756) (#29036)
In order to minimize the CPU usage of the coroutine and avoid frequent
execution of time-consuming operations in the flowgraph when the message
stream consists solely of "ttMsg," it is recommended to implement a
mechanism for quickly bypassing the subsequent flowgraph node processing
logic.

If "ttMsg" is continuously received for a certain period of time
(coldTime), the flowgraph enters skipMode. Once in skipMode, every
skipNum "ttMsg" messages are merged into one for processing. If a
non-"ttMsg" message is received while in skipMode, the flowgraph exits
skipMode.

pr: #28756

Signed-off-by: wayblink <anyang.wang@zilliz.com>
Co-authored-by: wayblink <anyang.wang@zilliz.com>
2023-12-08 12:10:39 +08:00
..
flow_graph.go enhance: Reduce the goroutine in flowgraph to 2 (#28233) (#28545) 2023-11-24 15:00:26 +08:00
flow_graph_test.go enhance: Reduce the goroutine in flowgraph to 2 (#28233) (#28545) 2023-11-24 15:00:26 +08:00
input_node.go feat: [pick] Add bypassing logic for ttMsg in flowgraph of DataNode(#28756) (#29036) 2023-12-08 12:10:39 +08:00
input_node_test.go feat: [pick] Add bypassing logic for ttMsg in flowgraph of DataNode(#28756) (#29036) 2023-12-08 12:10:39 +08:00
message.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
message_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
node.go enhance:[cherry-pick] Merge flowgraph goroutines into 1 (#28728) 2023-11-27 21:04:27 +08:00
node_test.go feat: [pick] Add bypassing logic for ttMsg in flowgraph of DataNode(#28756) (#29036) 2023-12-08 12:10:39 +08:00
type_def.go Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00