migesok opened a new issue, #2026:
URL: https://github.com/apache/pekko/issues/2026

   Previous discussion regarding `AsyncWriteJournal.Resequencer`: 
https://github.com/apache/pekko/discussions/1881
   
   Why I think that `AsyncWriteJournal.Resequencer` should be safe to disable: 
https://github.com/apache/pekko/discussions/1881#discussioncomment-13367927
   
   ### More context:
   
   In my company we are running a lot of code based on classic persistent 
actors with our custom journal plugin: 
https://github.com/evolution-gaming/kafka-journal.
   
   Its write path goes through Kafka. We noticed that actor persist latency 
stats do not match the stats we obtain from the plugin's Kafka producer. 
Moreover, latency issues in one partition somehow disproportionally affected 
latency for all the write requests, not only to that particular partition. 
After a lengthy investigation it was found that the culprit is 
`AsyncWriteJournal.Resequencer`, which made all write requests wait if one 
request takes too long.
   
   We disabled it in our internal Akka fork and we run it in production for 
some time with good results: in some cases latency was down 70%. No issues 
observed so far.
   
   Since we are in the process of migrating to Pekko, we would like to 
contribute the fix there.
   
   The PR will be provided shortly.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to