首页> 外国专利> ADAPTIVE CONSUMER THREAD POOL

ADAPTIVE CONSUMER THREAD POOL

机译:自适应消费线程池

摘要

The present disclosure provides for a system with an adaptive thread pool for processing messages. The system includes a processor and a memory storing instructions. The processor allocates a first quantity of threads in a thread pool to process a set of messages in parallel. The processor then measures one or more performance metrics of the system while processing the messages with the first quantity of threads. The processor then determines whether each of the one or more performance metrics meets a respective predetermined threshold. The processor then increases the allocation of the first quantity of threads to a second quantity of threads in the thread pool if each of the one or more performance metrics meets the respective predetermined threshold. The processor may also decrease the quantity of threads if at least one performance metric does not meet its predetermined threshold.
机译:本公开提供了一种用于处理消息的自适应线程池的系统。该系统包括处理器和存储器存储指令。处理器在线程池中分配第一数量的线程以并行处理一组消息。然后,处理器测量系统的一个或多个性能度量,同时用第一数量的线程处理消息。然后,处理器确定一个或多个性能度量中的每一个是否满足相应的预定阈值。然后,如果一个或多个性能度量符合相应的预定阈值,则处理器将第一数量的线程分配到线程池中的第二数量的线程。如果至少一个性能度量不符合其预定阈值,则处理器还可以降低线程的数量。

著录项

  • 公开/公告号US2021157649A1

    专利类型

  • 公开/公告日2021-05-27

    原文格式PDF

  • 申请/专利权人 RED HAT INC.;

    申请/专利号US201916694474

  • 发明设计人 BILGIN ISMET IBRYAM;

    申请日2019-11-25

  • 分类号G06F9/50;G06F9/52;

  • 国家 US

  • 入库时间 2024-06-14 21:35:29

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号