Distributed data

akka-cluster

(Anatolii Botov) #1

Hi! I’ve got ORMap[String, CustomType] with my object. I add 1 000 object into it. When i run on one node everything works fast. But when i add second node process became too slow. In logs i see, that replicator cannot reply in timeout of 5 seconds. On every addidition I use Get request with ReadMajority(3.seconds) with min cap 2, to be sure that data for this key is empty.
No serialization warning or error. Data uses protobuf as serializing mechanism.

I think it’s replicator issue. How can i make it faster?


(Johan Andrén) #2

Please make a note when you cross post like this, so that other people can follow.

Also opened as an issue: https://github.com/akka/akka/issues/25310