Abhitocode commented on PR #7313:
URL: https://github.com/apache/incubator-kie/pull/7313#issuecomment-7112461583

   Hi @Marcin-Pankowski , went through your benchmark project and the YT video 
as well , great stuff, and thanks for bringing the findings back as a PR.
   
   LGTM. Verified with a real broker and RocksDB store: after 50 process 
instances, 150 open iterators on main, 0 with this PR. Just a minor suggestion 
above
   
   +1 to @martinweiler point on `findByBusinessKey`, it leaks the same way 
through stream(). Since that default is in the `ProcessInstances` interface, 
fixing it there with try-with-resources would cover all persistence 
implementations, not just Kafka.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to