|
Added the numbers for a simplified model on conflict probabilities with cooperative monitoring.
The following is used as the model for the conflict probability for getting the server locks:
randomly distribute n balls in m boxes and calculate the probability of no box having over half of all balls in them
The following is used as the model for conflicting retry probabilities after a lock acquisition fails and no MaxScale gets a majority of the servers:
roll a 4-sided dice m times and calculate the probability of having only doubles, triples, quads etc. with no value being rolled only once
Values were calculated experimentally using a script that generates all states and then counts the number of conflicting ones.
|