Roman Leventov created METRON-2342:
--------------------------------------

             Summary: MultiIndexDao shouldn't use parallel streams for blocking 
updates
                 Key: METRON-2342
                 URL: https://issues.apache.org/jira/browse/METRON-2342
             Project: Metron
          Issue Type: Task
            Reporter: Roman Leventov


[https://github.com/apache/metron/blob/bf673a2e9c00a59716e70feea55d581af91145f1/metron-platform/metron-indexing/metron-indexing-common/src/main/java/org/apache/metron/indexing/dao/MultiIndexDao.java#L83-L98]

This may result in a surge in a number of threads in the common FJP during 
network problem events, as well as unnecessary deprivation of computational 
tasks of CPU time.

It's recommended to use a separate ThreadPoolExecutor with a fixed number of 
threads for parallelization of blocking updates.

 
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to