You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Claude Warren (Jira)" <ji...@apache.org> on 2024/01/03 14:26:00 UTC

[jira] [Created] (RAT-340) Make processing multi-threaded.

Claude Warren created RAT-340:
---------------------------------

             Summary: Make processing multi-threaded.
                 Key: RAT-340
                 URL: https://issues.apache.org/jira/browse/RAT-340
             Project: Apache Rat
          Issue Type: New Feature
    Affects Versions: 0.17
            Reporter: Claude Warren


This should  be an epic of some sort.

I believe that  0.17 is much slower than 0.16

I also believe that the process could benefit from making the process multi-threaded.

To do this:
 * The IHeaderMatcher implementations will need to be made thread safe.
 * IReport will have to queue reports for processing and will need to detect when the queue is full and wait for space.
 * The RatReport/IReport interface will have to be examined to ensure that multiple threads can report completed reports and have them correctly reflected in the resulting XML while still performing the modifications that some IReport implementations perform.
 * Standard Java thread pooling will need to be added.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)