Akka Persistence warmup

Hi,

I’m using k8s to run an akka cluster with persisted sharded entities. After rollup update I can see the first interaction with actor triggers the following logs:

akka.persistence.Persistence: Auto-starting snapshot store jdbc-snapshot-store
akka.persistence.Persistence: Auto-starting journal plugin jdbc-journal

This very first interaction is specially slow so my aproach would be to modify my readiness check to include this Persistence warm up. However my attempts has failed by know.

Could you suggest what to implement in readiness check to properly warm up akka persistance?

Regards,

Bernat

Did you see the section about eager init in the Akka docs? Persistence Plugins • Akka Documentation

1 Like