Closed DavidBadura closed 1 month ago
Hello :wave:
```
SplitStreamBench
================
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| | time (kde mode) | memory |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject | Tag:
This comment gets update everytime a new commit comes in!
Event Bus dispatching was in the transaction because we implemented the outbox pattern. Since we now offer the subscription engine, we have removed the outbox. Therefore, the dispatch in a transaction is no longer necessary.
On the contrary: the transaction makes implementations more difficult. If an error occurs in the listener, the transaction would take effect and rollback. This means that actions that happened on the same connection will be rollback, but other actions such as sending emails and changes in mongodb / elastic search would remain as before. The transaction also prevents us from triggering the subscription engine synchronously.