Today each new workitem produces an individual write to an event source:
2025-08-11 08:51:24,005 - fk.core.abstract_event_emitter - DEBUG - < FileEventSource._emit(BeforeMessageProcessed)
...
2025-08-11 08:51:24,005 - fk.core.abstract_event_emitter - DEBUG - < FileEventSource._emit(AfterMessageProcessed)
We should see if this can be done in a single write / transaction. AbstractEventSource already supports writing multiple strategies at once, so we just need to figure out how to batch several .execute() calls.
This can also apply to Import use cases, and we'll use that for multiselect later, too.
This will increase performance in certain scenarios.
Today each new workitem produces an individual write to an event source:
We should see if this can be done in a single write / transaction.
AbstractEventSourcealready supports writing multiple strategies at once, so we just need to figure out how to batch several.execute()calls.This can also apply to Import use cases, and we'll use that for multiselect later, too.
This will increase performance in certain scenarios.