arrowhead-f / core-java

Arrowhead Core Framework Implementation in Java
https://forge.soa4d.org/plugins/mediawiki/wiki/arrowhead-f/index.php/Main_Page
Apache License 2.0
4 stars 12 forks source link

Performance issues on eventhandler #50

Closed fortikeco closed 5 years ago

fortikeco commented 5 years ago

Hi, I'm using the master branch of core-java and client-java, and having some performance problems on at least the eventhandler service. If I publish an event, it takes about 3 seconds to get a reply on the subscriber. Is there a way to get the performance to, say, 100 milliseconds? Regards,

fortikeco commented 5 years ago

Nevermind, ticket can be closed! The reason it used to be slow in my project was due to waiting for the publish call to finish. If I don't synchronize on publishing (there isn't a real need anyway) the performance looks much better!