You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/08/15 08:40:14 UTC
[GH] (pekko/feat/event-writer): Workflow run "Pull Requests" failed!
The GitHub Actions job "Pull Requests" on pekko.git/feat/event-writer has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run:
96f1435eb266087370a90478efda71cc7d5405bb / 虎鸣 <he...@alibaba-inc.com>
feat: add EventWriter for batching journal writes
Motivation:
Writing events one at a time to the journal is inefficient when many
actors are persisting concurrently. A shared event writer that batches
writes per persistence id and handles duplicate detection improves
throughput for write-heavy workloads.
Modification:
- Add EventWriter internal actor that batches journal writes per
persistence id, handles duplicate detection via highest sequence
number lookup, and supports partial batch rewrites.
- Add EventWriterExtension for per-journal writer instances.
- Add event-writer config (max-batch-size, ask-timeout) to
persistence-typed reference.conf.
- Add delay-writes config to InmemJournal for testing write timing.
- Add comprehensive EventWriterSpec covering duplicates, batching,
partial duplicates, error propagation, and multi-pid writes.
Result:
Internal API available for batching journal writes with duplicate
handling. InmemJournal supports configurable write delays for testing.
Tests:
- sbt "persistence-typed-tests / Test / testOnly org.apache.pekko.persistence.typed.internal.EventWriterSpec"
References:
Refs akka/akka-core#32010
Report URL: https://github.com/apache/pekko/actions/runs/31874593211
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org