Skip to content

[Improvement][Master]Master improvement, less thread consumption, less time consumption #4083

@lenboo

Description

@lenboo

*For better global communication, please give priority to using English description, thx! *

improvement for master

image

At present, the problems of master:

  1. There are many polling, that result in unnecessary time-cost

  2. The distributed lock is used when the command is taken, that result in the bottleneck of concurrency

  3. Too many threads(nProcessInstance*nTaskInstances) are used, that result in the waste of system resources

  4. Polling database result in database query pressure bottleneck

Master模块优化:
目前的master:

image

目前发现master的问题:

  1. 出现比较多的轮询,造成不必要的耗时
  2. 取command的时候使用了分布式锁,造成并发数量的瓶颈
  3. 线程使用过多(nProcessInstance*nTaskInstances) ,造成系统资源浪费的现象
  4. 轮询数据库,数据量大的情况下,造成数据库查询压力瓶颈

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussiondiscussionimprovementmake more easy to user or prompt friendly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions