I have a question about Cluster Sharding and 'state-store-mode=ddata'....
We have an Actor System that has 10 000 000 Actors and we are using Cluster Sharding, out of the box it is configured for 'distributed data' ddata, while in the Cluster Sharding page it is written with big letters in here Persistence Mode Deprecated
Warning
Persistence for state store mode is deprecated. It is recommended to migrate to ddata for the coordinator state and if using replicated entities migrate to eventsourced for the replicated entities state.
The data written by the deprecated persistence state store mode for remembered entities can be read by the new remember entities eventsourced mode.
Once you’ve migrated you can not go back to persistence mode.
but I also found some articles in the internet that akka distributed data is not such a good idea for big systems, so I think 10 000 000 actors can be defined as big system....
Akka Distributed Data - Scaling
Akka Distributed Data - Large Data Set
So my questions are
- Do you know what configuration parameters have an effect for the scaling of the clsuter sharding - distributed data
- For Cluster Sharding, my experiments shows, when I have more shards, Sharding Distributed Data scales better. Is this an correct assumption...
- If Distributed Data is not approperiate for this Actor numbers, should I stick to the 'persistence' mode, which in Akka Documentation marked as deprecated....
- If the ddata and persistence are not way to go for this amount of actor what should use instead....
Thx for answers