GitHub user migesok added a comment to the discussion: Why AsyncWriteJournal.Resequencer is needed?
@ptrdom can you help me a bit with translating this into PersistentActor logic? By the first point you mean calling deferAsync twice and then doing persistAsync inside their respective deferAsync callbacks? I made a small "chaos" test harness for this. If I can put it into a chain of persist and defer calls I can try to confirm it. So far I wasn't able to make PersistentActor run 2 actual journal `asyncWriteMessages` operations in parallel. It seems to collect all outstanding writes and dump then in 1 call, no matter what I do. Probably I just don't understand it that well. GitHub link: https://github.com/apache/pekko/discussions/1881#discussioncomment-13345303 ---- This is an automatically sent email for notifications@pekko.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@pekko.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org