Hello, I have a question regarding akka.persistence.cassandra.events-by-tag.eventual-consistency-delay option:
In the reference.conf for this option it is written:
# Setting this to anything lower than 2s is highly discouraged.
The linked tuning for lower latency also states, just above that low eventual-consistency-delay, which about sums it up:
You must test this has positive results for your use case. Setting this too low can decrease throughput and latency as more events will be missed initially and expensive searches carried out.
The root problem is guaranteeing a global order of tagged events in a distributed database where a node handling the query may not yet have seen written events from all other database nodes. Lower delay means higher risk of the node not having seen a new event from another node yet.