Motivation
In cloud-native and Kubernetes deployments, it's critical to verify that persistence backends (journals and snapshot stores) are healthy, connected, and ready to serve reads/writes. Currently, pekko provides ClusterShardingHealthCheck for cluster sharding readiness, but there is no equivalent health check mechanism for the persistence subsystem.
Without persistence health checks, operators cannot:
- Verify journal connectivity during pod startup (readiness probes)
- Detect journal degradation or disconnection during runtime (liveness probes)
- Monitor recovery status of persistent actors
Proposed Enhancement
Add health check support to the persistence subsystem, following the pattern established by ClusterShardingHealthCheck:
- A health check extension for
AsyncWriteJournal that verifies the journal is reachable and responsive
- A health check for snapshot store connectivity
- Integration with Kubernetes-style readiness/liveness probe mechanisms
The akka.net project has implemented this feature and found it valuable for production deployments.
References
This enhancement was inspired by the Akka.NET project: akkadotnet/akka.net#7840
Motivation
In cloud-native and Kubernetes deployments, it's critical to verify that persistence backends (journals and snapshot stores) are healthy, connected, and ready to serve reads/writes. Currently, pekko provides
ClusterShardingHealthCheckfor cluster sharding readiness, but there is no equivalent health check mechanism for the persistence subsystem.Without persistence health checks, operators cannot:
Proposed Enhancement
Add health check support to the persistence subsystem, following the pattern established by
ClusterShardingHealthCheck:AsyncWriteJournalthat verifies the journal is reachable and responsiveThe akka.net project has implemented this feature and found it valuable for production deployments.
References
This enhancement was inspired by the Akka.NET project: akkadotnet/akka.net#7840