mirror of https://github.com/milvus-io/milvus.git
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> |
||
---|---|---|
.. | ||
flow_graph.go | ||
flow_graph_test.go | ||
input_node.go | ||
input_node_test.go | ||
message.go | ||
message_test.go | ||
node.go | ||
node_test.go | ||
type_def.go |