| Summary: | async WorkingMemoryLogger | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Jeffrey Bride <jbride2001> |
| Component: | jBPM 5 | Assignee: | Kris Verlaenen <kverlaen> |
| Status: | NEW --- | QA Contact: | Radovan Synek <rsynek> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | BRMS 5.3.0.GA | CC: | atangrin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jeffrey Bride
2011-10-04 20:45:29 UTC
(In reply to comment #0) > load tests have revealed that, for instance, an invocation to 'startProcess' > with jbpm-bam disabled returns about 2.5 - 3 times faster than when the > jbpm-bam is enabled. It would be useful to know if a call to startProcess with an additional load of sending like 6 JMS messages (in the same transaction) would be faster than just persisting the log events reusing the runtime persistence entity manager (which is just done in one commit, at the end of the transaction). As it would be a pity if this in the end would be slower ;) Jeff, if we're doing this to improve performance, then it makes more sense to me not to use JMS/HornetQ. Why not just use "concurrent" java, so to speak? It does mean a lot more "gun" to "shoot yourself in the foot" with, but it will always be faster than the overhead time cost incurred by either the current implementation or JMS/HornetQ. Marco, I think the concept of transaction might be critical here. We only want these events to be stored (so the messages to be sent) when the transaction is committed successfully. A transaction rollback should not save these events (not send the messages). You could do this with JMS, not sure you could do the same with concurrent java. |