[ https://issues.apache.org/jira/browse/METRON-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953962#comment-15953962 ]
ASF GitHub Bot commented on METRON-820: --------------------------------------- Github user ottobackwards commented on the issue: https://github.com/apache/incubator-metron/pull/508 +1 by inspection, although I'm inclined to think of a reason not to have a static cache, but instead an instance based one, I can't think of a specific case. > StellarProcessor should have a static expression cache > ------------------------------------------------------ > > Key: METRON-820 > URL: https://issues.apache.org/jira/browse/METRON-820 > Project: Metron > Issue Type: Bug > Reporter: Casey Stella > > We recreate StellarProcessor objects all over the place which do not reuse > their expression caches. This results in a significant performance > regression as we are compiling the expression and then processing for every > message, rather than compiling once and reusing. -- This message was sent by Atlassian JIRA (v6.3.15#6346)