Arsnael commented on code in PR #2335:
URL: https://github.com/apache/james-project/pull/2335#discussion_r1663719367


##########
docs/modules/servers/partials/architecture/consistency-model.adoc:
##########
@@ -0,0 +1,65 @@
+This page presents the consistency model used by the {server-name} and
+points to the tools built around it.
+
+== Data Replication
+
+The {server-name} relies on different storage technologies, all having their 
own
+consistency models.
+
+These data stores replicate data in order to enforce some level of 
availability. We call
+this process replication. By consistency, we mean the ability for all replica 
to hold the
+same data. By availability, we mean the ability for a replica to answer a 
request.
+
+In distributed systems, 
link:https://en.wikipedia.org/wiki/CAP_theorem[according to the CAP theorem],
+as we will necessarily encounter network partitions, then trade-offs need to 
be made between
+consistency and availability.
+
+This section details this trade-off for data stores used by the {server-name}.
+
+=== OpenSearch consistency model
+
+OpenSearch relies on 
link:https://www.elastic.co/blog/a-new-era-for-cluster-coordination-in-elasticsearch[strong
 consistency]
+with home grown algorithm.
+
+The 6.x release line, that the distributed server is using is known to be slow 
to recover from failures.

Review Comment:
   6.x sounds like old es version and not opensearch ^^'



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to