What is the best write/read strategy that is fault tolerant and fast for reads when all nodes are up?
I have 2 replicas in each datacenter and at first I was considering using QUORUM for writes and LOCAL_QUORUM for reads but reads would fail if one node crashes.
The other strategy that I came up with is to use QUORUM for writes and TWO for reads. It should work fast in normal conditions (because we will get results from the nearest nodes first) and it will work slower when any node crashes.
- Is this a situation where it is recommended to use consistency level TWO or it is for some other purpose?
- When would you use CL THREE?
- Do you have a better strategy for consistent and fault tolerant writes/reads?