Linear pool management method and related device
The embodiment of the invention discloses a linear pool management method and a related device, in the operation process of a linear pool, processing equipment can obtain operation parameters corresponding to the linear pool, and the operation parameters are used for identifying the operation state...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a linear pool management method and a related device, in the operation process of a linear pool, processing equipment can obtain operation parameters corresponding to the linear pool, and the operation parameters are used for identifying the operation state of the linear pool. The operation parameters can comprise any one or combination of more of linear pool activeness, task execution time consumption, task rejection rate and idle thread proportion, and the processing equipment can adjust the thread number corresponding to the linear pool according to the operation parameters, so that the thread number in the linear pool better conforms to the current task processing condition, and the task processing efficiency is improved. And the task processing efficiency is improved.
本申请实施例公开了一种线性池管理方法和相关装置,在线性池运行过程中,处理设备可以获取线性池对应的运行参数,该运行参数用于标识线性池的运行状态,该运行参数可以包括线性池活跃度、任务执行耗时、任务拒绝率、空闲线程占比中的任意一种或多种的组合,处理设备可以根据该运行参数,调节线性池对应的线程数量,从而使线性池中的线程数更加符合当前的任务处理情况,提高任务处理效率。 |
---|