{'fraction_non_alphanumeric': 0.015810276679841896, 'fraction_numerical': 0.0, 'mean_word_length': 5.909090909090909, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A generic model of consistency guarantees for replicated services

High availability, scalability, and reliability of services can be provided by replication. However, distributed systems suffer from network partitioning, which reduces availability and/or consistency. The choice between availability and consistency boils down to distinguishing between pessimistic and optimistic approaches to replication. This paper proposes a new model of coexistence of pessimistic and optimistic replication, enabling the user to balance between availability and consistency. In this approach a client can decide on the degree of optimism appropriate for the application. This is achieved by specifying operation modes which are intended to describe client expectations.