Computer Science & Engineering

Experimental Analysis of Consistency-Availability Trade-offs in Cloud-Based Distributed Database Systems Under Network Partitions

Mission Franklin1iD, Kufre Christopher Ukpe2iD

1Department of Computer Engineering, Rivers State University, Port Harcourt, Nigeria

2Department of Computer Science, Obong University, Obong Ntak, Nigeria

Published December 2026

Abstract

Distributed database systems face significant challenges in maintaining consistency and availability during network partitions. This study experimentally evaluates the consistency-availability trade-offs in Apache Cassandra, MongoDB, and PostgreSQL/Citus under normal and partitioned network conditions. A quantitative experimental approach was adopted, using different replication and consistency configurations, network partition durations, and workload conditions. Performance was assessed using availability, latency, throughput, data consistency, and recovery time. The results indicate that Cassandra ONE achieved the highest availability and throughput, while Cassandra QUORUM provided stronger consistency. MongoDB majority and PostgreSQL/Citus synchronous replication recorded no observed consistency violations, whereas configurations with lower acknowledgement requirements exhibited stale reads, conflicting values, and missing acknowledged writes. Asynchronous replication improved PostgreSQL/Citus availability and throughput but increased replica convergence time. The study concludes that database performance depends on the balance between consistency, availability, and replication requirements. It recommends selecting database configurations according to application needs, conducting regular network-partition testing, and monitoring replication and recovery processes to improve system reliability.

Keywords: distributed databases; consistency; availability; network partitions; replication; Cassandra; MongoDB; PostgreSQL/Citus

1Introduction

Cloud-based distributed database systems replicate data across multiple nodes to improve scalability, fault tolerance, and access to data across geographically dispersed environments. However, maintaining consistency among replicas introduces coordination costs that can affect system availability and performance. Freitas et al. (2025) study on causally consistent cloud systems highlights the importance of balancing data correctness, access latency, and coordination overhead in distributed environments. Network partitions complicate this balance by disrupting communication between nodes or groups of nodes. The Consistency Availability and Partition tolerance (CAP) theorem establishes that, when a partition occurs, a distributed system cannot guarantee both strong consistency and full availability while also tolerating the partition (Gilbert & Lynch, 2002; Liu et al., 2024). Brewer (2012) clarified that this limitation concerns system behaviour during partitions, rather than requiring a database to be classified permanently as either consistent or available. Therefore, database systems must adopt strategies that reflect their applications’ consistency and availability requirements.

The effects of network partitions depend on the database’s consistency model, replication strategy, coordination mechanisms, workload, and partition duration. Systems that prioritise strong consistency may reject or delay requests when the required coordination is unavailable. Systems that prioritise availability may continue processing requests while allowing temporary differences between replicas. Although recent research examines approaches such as causal consistency to reduce coordination costs, their performance depends on the mechanisms used to preserve data correctness and support concurrent operations (Freitas et al., 2025; Redžepagić et al., 2026).

These differences make experimental evaluation necessary. The CAP theorem explains the fundamental constraints, but it does not quantify how individual database systems respond to specific partition conditions. Controlled experiments can establish how partition severity and duration affect request success rates, data consistency, response latency, throughput, and recovery time. Measuring these outcomes under normal and partitioned conditions provides a basis for comparing the practical consequences of different database designs.

This study therefore experimentally investigates the consistency-availability trade-offs in cloud-based distributed database systems under controlled network partitions. It evaluates system behaviour before, during, and after partitions using measures of consistency, availability, latency, throughput, and recovery time. The study aims to provide empirical evidence of how distributed database systems balance data correctness and continued service under network failure.

1.1Statement of the problem

Cloud-based distributed database systems must provide reliable data access while maintaining consistency across replicated nodes (Dong et al., 2024). Network partitions disrupt communication between these nodes, creating a trade-off between preserving data consistency and continuing to process client requests. Although the CAP theorem establishes that strong consistency and full availability cannot both be guaranteed during a network partition, the practical consequences depend on the database architecture, replication strategy, consistency model, and operating conditions (Gilbert & Lynch, 2002; Brewer, 2012).

The central problem is that theoretical explanations of the CAP trade-off do not quantify how individual database systems perform under specific partition conditions. A system that prioritises consistency may reject or delay requests when coordination is unavailable, whereas one that prioritises availability may continue processing requests while allowing temporary differences between replicas.

Causally consistent cloud systems demonstrate the range of approaches used to manage consistency and coordination in distributed environments (Freitas et al., 2025). However, the practical effects of these approaches must be evaluated against measurable outcomes under defined experimental conditions. Partition duration, workload intensity, replication configuration, and consistency settings may influence request success rates, response latency, throughput, replica consistency, and recovery time. Without controlled and reproducible experiments, it is difficult to determine how these factors affect database behaviour or compare the performance of alternative system configurations (Liu & Li et al., 2024).

This study therefore addresses the limited empirical evidence on how cloud-based distributed database systems balance consistency and availability under controlled network-partition conditions. It investigates system behaviour before, during, and after network partitions by measuring availability, consistency, latency, throughput, and recovery time. The findings will provide a quantitative basis for assessing the operational consequences of network partitions and comparing the behaviour of distributed database systems.

1.2Aim and objectives of the study

The aim of this study is to experimentally analyse the consistency-availability trade-offs in cloud-based distributed database systems under controlled network-partition conditions.

The specific objectives are to:

  1. 1. Evaluate database consistency and availability under normal and partitioned network conditions.
  2. 2. Assess the effects of network partitions on latency, throughput, and recovery time.
  3. 3. Examine the influence of partition duration and workload intensity on database performance.
  4. 4. Compare consistency-availability trade-offs across selected distributed database systems.

1.3Significance of the study

This study provides empirical evidence of how network partitions affect consistency, availability, and performance in cloud-based distributed database systems. The findings will assist database engineers and cloud architects in evaluating the operational effects of different consistency and replication configurations. It will also contribute to research on distributed databases, fault tolerance, and CAP-related trade-offs.

1.4Scope of the study

The study focuses on selected cloud-based distributed database systems deployed as replicated multi-node clusters. It evaluates their behaviour under normal network conditions and controlled network partitions, using consistency, availability, response latency, throughput, and recovery time as performance metrics. Partition duration and workload intensity serve as experimental variables. The study is limited to database-level behaviour and excludes application-specific business logic, physical hardware failures, and complete cloud infrastructure failures.

2Literature review

Distributed Database Systems in Cloud Computing: Cloud-based distributed database systems store and process data across multiple interconnected nodes rather than relying on a single database server. Data distribution supports scalability, while replication improves fault tolerance and access to data when individual nodes become unavailable (Dritsas and Trigka, 2025). However, maintaining multiple copies of data introduces challenges involving replica synchronization, update coordination, and consistency. Rambabu and Govardhan (2024) examine data replication in cloud systems, highlighting its role in improving data availability and the importance of replication strategies in distributed environments.

Modern distributed databases use different replication architectures and consistency models to manage these challenges (Carvalho et al., 2025). Replicas may be distributed across availability zones or geographical regions to reduce dependence on individual nodes or locations. However, coordinating updates across distributed replicas can increase response latency, particularly when communication delays are high or network connectivity is disrupted. Freitas et al. (2025) review approaches to causal consistency in cloud systems, illustrating how consistency models influence coordination requirements and system behaviour. These architectural differences are important when evaluating distributed databases under network partitions. A database's behaviour depends not only on the number and location of its replicas but also on how it handles updates, reads, and requests when communication between nodes fails. Understanding these mechanisms provides the foundation for experimentally examining consistency, availability, and performance under controlled network-partition conditions.

Consistency in Distributed Databases: Consistency refers to the guarantees a distributed database provides regarding the visibility and ordering of updates across replicas. Strong consistency ensures that clients observe data according to stricter ordering and visibility rules, but maintaining these guarantees may require coordination between nodes. Weaker consistency models can reduce coordination overhead and improve response times or request availability, although clients may temporarily observe different values across replicas.

Consistency is not limited to a choice between strong and eventual consistency. Intermediate models, such as causal consistency, preserve the causal ordering of related operations without necessarily requiring every update to be synchronised across all replicas before subsequent operations proceed. Freitas et al. (2025) review causal consistency in cloud systems and discuss its relevance to geographically distributed environments, where communication delays and coordination requirements can affect performance. The practical implications of consistency settings can be assessed through experimental benchmarking (Zennou et al. 2022). The authors investigated consistency levels in cloud-distributed NoSQL databases using the Yahoo! Cloud Serving Benchmark (YCSB), illustrating the value of workload-based evaluation when comparing consistency and performance. Such evaluations are relevant to the present study because consistency guarantees must be considered alongside request success rates, latency, throughput, and behaviour during network partitions (Krechowicz et al., 2025).

Availability and Network Partitions: Availability refers to a distributed database's ability to respond to requests despite failures or communication disruptions. A network partition occurs when nodes or groups of nodes cannot communicate reliably, even though they may remain operational. Such disruptions can prevent replicas from coordinating updates and maintaining a consistent state.

During a partition, systems that prioritise strong consistency may delay or reject requests requiring coordination, whereas availability-oriented systems may continue processing requests while allowing temporary differences between replicas. This trade-off underpins the CAP theorem (Gilbert & Lynch, 2002), whose practical implications Brewer (2012) further clarified. Lee et al. (2023) also examined consistency-availability trade-offs quantitatively, highlighting the value of measurable performance indicators when evaluating distributed systems.

Consistency-Availability Trade-offs: The consistency-availability trade-off becomes particularly evident during network partitions. Maintaining strong consistency generally requires coordination among replicas, which may increase latency or cause requests to be delayed or rejected. Prioritising availability allows systems to continue processing requests despite communication failures but may result in temporary differences between replicas. These outcomes depend on the replication protocol, consistency model, quorum configuration, workload, and partition conditions (Ahmed et al., 2023).

Lee et al. (2023) examined consistency-availability trade-offs quantitatively, highlighting the importance of measurable system properties in evaluating distributed-system behaviour. Therefore, classifying databases simply as consistency-oriented or availability-oriented is insufficient to explain their performance under specific failure conditions. Experimental evaluation of request success rates, consistency violations, latency, throughput, and recovery time is necessary to establish how different database configurations respond to network partitions.

CAP Theorem and Its Practical Interpretation: The CAP theorem provides the theoretical foundation for understanding distributed database behaviour during network partitions. Gilbert and Lynch (2002) demonstrated that a distributed system cannot simultaneously guarantee consistency, availability, and partition tolerance under the assumptions of their model (Camilleri et al., 2024). Partition tolerance is essential in cloud environments because communication failures cannot be completely eliminated. Brewer (2012) clarified that CAP concerns the choices a system faces when a network partition occurs, rather than assigning databases permanent consistency or availability classifications. Accordingly, system behaviour should be examined under normal operation, during partitions, and after recovery. Freitas et al. (2025) highlights the range of consistency models and configurations used to balance consistency, latency, and availability in cloud systems Experimental benchmarking also provides a means of evaluating how consistency configurations affect database performance (Ferreira et al., 2025). These findings support measuring observable outcomes under controlled partition conditions rather than relying solely on theoretical CAP classifications.

Empirical Evaluation of Distributed Databases: Experimental evaluation enables researchers to measure how distributed databases behave under controlled conditions. Workload generators such as the Yahoo! Cloud Serving Benchmark (YCSB) support repeatable read and write workloads, while network-emulation tools can introduce controlled delays, packet loss, and network partitions. Ferreira et al. (2025) demonstrate how workload-based benchmarking using YCSB can evaluate consistency configurations and their effects on performance in cloud-distributed NoSQL databases. Lee et al. (2023) similarly examine consistency-availability trade-offs using measurable system properties, and demonstrate how consistency-availability trade-offs can be evaluated using quantitative measures of system consistency, availability and communication latency. These studies support experimental assessment rather than relying solely on theoretical descriptions.

2.1Empirical review

  1. 1. Ahmed et al. (2023) reviewed consistency trade-offs in replicated distributed systems and databases, examining their relationships with latency, throughput, availability, replication, CAP, and PACELC. The review identified consistency management as a key challenge, highlighting how replication mechanisms and consistency choices affect system performance. However, the paper was a review rather than an experimental benchmark, it does not directly quantify database behaviour under controlled network partitions.
  2. 2. Gorbenko et al. (2019) investigated trade-offs between consistency, availability, and latency in fault-tolerant Internet and cloud systems. Using a replicated service testbed, deployed across multiple Amazon EC2 locations, they measured response times under different consistency requirements. Their findings showed that stronger consistency requirements could increase latency. The study also developed probabilistic models to estimate response-time behaviour under different consistency levels and timeout configurations. However, its focus on replicated services leaves scope for comparative experiments examining contemporary distributed databases under controlled network partitions.
  3. 3. Ferreira et al. (2024) investigated the effects of data consistency levels on the performance of cloud-based NoSQL databases, including Cassandra, MongoDB, and Redis. Their findings showed that consistency configurations and replication-related factors influenced database performance under data-intensive workloads. The study demonstrates the importance of evaluating consistency alongside performance; however, it did not primarily examine database behaviour under deliberately induced network partitions.
  4. 4. Lee et al. (2023) developed the Consistency, Availability, and apparent Latency (CAL) framework to quantify trade-offs among consistency, availability, and communication latency in distributed systems. They examined consistency as a logical property and availability as a time-dependent property, showing how communication and computation delays influence system behaviour. Their work provides a quantitative basis for evaluating consistency-availability trade-offs beyond categorical CAP classifications. However, empirical comparisons of replicated database systems under controlled network partitions, durations, and workloads remain relevant to the present study.
  5. 5. Krishan et al. (2023) examined consistency models in distributed databases, comparing approaches such as linearizability, serializability, sequential consistency, and causal consistency. Their study discussed how consistency guarantees influence database performance and availability. The findings highlight the importance of selecting consistency models according to system requirements. However, the study does not provide a direct comparative benchmark of database behaviour under controlled network partitions, which the present research seeks to investigate
  6. 6. da Silva and Lima (2023) experimentally evaluated three distributed databases, including Citus/PostgreSQL, Cassandra, and HBase, using a 15-node cluster of Raspberry Pi computers. Their results showed that replication and consistency configurations affected database performance. Cassandra benefited from configurable consistency levels, while Citus and HBase experienced performance penalties as the number of replicas increased. Although the study demonstrates the relationship between replication, consistency, and performance, it did not focus specifically on controlled network partitions of varying durations. This limitation supports the need for the present study’s experimental investigation of consistency-availability trade-offs under partition conditions

2.2Research gap

Existing studies examine CAP theory, consistency models, and distributed database performance, highlighting the effects of consistency requirements, coordination overhead, workload variation, and network conditions on system performance (Gorbenko et al., 2019; Lee et al., 2023; Ferreira et al., 2024, 2025). However, limited comparative experimental evidence examines how controlled network partitions and workload intensity simultaneously affect consistency, availability, latency, throughput, and recovery time. This study addresses this gap by experimentally comparing selected distributed databases under controlled partition durations and workload intensities, evaluating their behaviour before, during, and after network partitions.

3Methodology

3.1 Research Design: This study adopts a quantitative experimental design to compare Apache Cassandra 5.0.9, MongoDB 8.0, and PostgreSQL18 with Citus 14.2 under normal network conditions, controlled network partitions, and post-partition recovery. Each system was evaluated using consistent workloads and documented configurations. The experiment measured availability, consistency, latency, throughput, and recovery time.

3.2 Experimental Environment: The experiment employed three distributed database systems: Apache Cassandra 5.0.9, MongoDB Community Server 8.0.x, and PostgreSQL 18.6 with Citus 14.2.0. Cassandra and MongoDB were deployed using three database nodes each, while the PostgreSQL/Citus deployment comprised one coordinator and two worker nodes. All systems were hosted on Ubuntu Linux virtual machines. Each database VM was allocated 2 vCPUs and 4 GB RAM, while the client VM received 4 vCPUs and 8 GB RAM. YCSB generated workloads against one million records, with an approximate size of 1 KB per record. Linux tc/netem and firewall rules were used to simulate network partitions. Figure 1 shows the proposed experimental architecture, and figure 2 shows experimental environmental setup

Proposed experimental architecture: experimental setup for analysing consistency-availability trade-offs.
Figure 1. Proposed experimental architecture: experimental setup for analysing consistency-availability trade-offs.

3.2.1 Database Replication and Consistency Configurations: Each database was evaluated using two configurations to examine the effects of replication and consistency requirements on system performance, as shown in figure 2, which details the experimental environment setup for each of the databases (Apache Cassandra 5.0.9, MongoDB Community Server 8.0.x, PostgreSQL 18.6 with Citus 14.2.0).

Experimental environment setup: three distributed database systems with configured nodes.
Figure 2. Experimental environment setup: three distributed database systems with configured nodes.

Apache Cassandra 5.0.9: A three-node cluster was configured using NetworkTopologyStrategy with a replication factor of three. The consistency-oriented configuration used QUORUM for reads and writes, while the alternative configuration used ONE for both operations as shown in figure 3.

MongoDB Community Server 8.0.x: A three-member replica set comprising one primary and two secondary nodes was configured without an arbiter. The consistency-oriented configuration used primary read preference, majority read concern, and majority write concern with journaling enabled. The alternative configuration used primary read preference, local read concern, and a write concern of w:1. Majority write timeout was set to 5,000 ms, as shown in figure 3.

PostgreSQL 18.6 with Citus 14.2.0: The deployment comprised one coordinator and two worker nodes. Distributed tables were configured with a shard replication factor of two, with shard placements verified across the workers. The consistency-oriented configuration employed synchronous PostgreSQL streaming replication, while the alternative used asynchronous replication. Replication settings and shard placements were documented separately as shown in figure 3.

Nodal architectural configuration of the databases (Apache Cassandra 5.0.9, MongoDB Community Server 8.0.x, PostgreSQL 18.6 with Citus 14.2.0).
Figure 3. Nodal architectural configuration of the databases (Apache Cassandra 5.0.9, MongoDB Community Server 8.0.x, PostgreSQL 18.6 with Citus 14.2.0).

3.3 Experimental Variables: The independent variables comprised network condition (normal, partitioned, and recovered), partition duration (30 and 120 seconds), workload intensity (100 and 1,000 operations per second), workload distribution (50:50 and 95:5 read/update), and database-specific replication and consistency configurations. The dependent variables were consistency (stale reads, conflicting values, and missing acknowledged writes), availability (percentage of successful requests within a five-second timeout), latency (median and 95th-percentile response times), throughput (successful operations per second), and recovery time (time required to restore normal service and complete consistency verification).

3.4 Experimental Procedure: Each database system was tested under normal network conditions, controlled network partitions, and post-partition recovery. For Cassandra, one node was isolated from the remaining two nodes. For MongoDB, two partition scenarios were examined: isolation of the primary from both secondary members and isolation of one secondary from the remaining members. For PostgreSQL/Citus, coordinator-to-worker and inter-worker communication were interrupted separately, while the coordinator remained available during worker-partition tests. Each partition scenario lasted either 30 or 120 seconds. Following network restoration, database service resumption, replication synchronisation, and data convergence were monitored. Each experimental scenario was repeated five times using the same workload definitions and measurement procedures.

3.5 Data Collection and Analysis: Timestamped request outcomes, operation types, response times, throughput, consistency-check results, and partition and recovery events were logged automatically. Results were compared across database systems, network conditions, partition durations, and workload intensities. Factorial statistical analysis was used where assumptions are satisfied; Statistical significance was assessed at (p < .05), with effect sizes and confidence intervals reported where applicable.

3.6 Consistency Verification: A separate verification client assigned unique identifiers to write operations and recorded their acknowledgement status and timestamps. Reads were performed during and after network partitions to identify stale values, conflicting updates, and missing acknowledged writes. Following network restoration, replica states and replication status were examined to determine whether the database systems had converged according to their configured consistency and replication guarantees. Observed differences were interpreted in relation to each database's documented consistency model.

3.7 Validity and Reproducibility: Reproducibility was supported by retaining database versions, image digests, virtual-machine specifications, configuration files, workload definitions, partition rules, raw logs, and analysis scripts. Five repeated trials and baseline measurements were taken to assess variability. Pilot tests were conducted to verified the workload rates and timeout are appropriate. Limitations arising from virtualisation, network emulation, and differences in database architecture were acknowledged.

4Results and analysis

This section presents the experimental results for the comparative evaluation of Apache Cassandra 5.0.9, MongoDB Community Server 8.0.x, and PostgreSQL 18.6 with Citus 14.2.0. The analysis considers database performance under normal network conditions, controlled network partitions, and post-partition recovery. The evaluation focuses on baseline performance, availability, consistency violations, latency, throughput, recovery time, and replica convergence.

4.1Experimental baseline performance

Baseline experiments were conducted under normal network conditions to establish the performance characteristics of the three database systems before introducing network partitions. The evaluation considered throughput, median latency, 95th-percentile latency, and request availability.

Table 1. Baseline performance comparison at 1,000 operations per second.
Database Configuration Throughput (ops/s) Median latency (ms) P95 latency (ms) Availability (%)
Cassandra QUORUM 982 8.4 18.6 99.9
Cassandra ONE 995 5.2 12.3 99.9
MongoDB Majority 948 12.5 26.8 99.8
MongoDB w:1 976 7.8 17.4 99.9
PostgreSQL/Citus Synchronous 861 16.2 34.5 99.7
PostgreSQL/Citus Asynchronous 923 10.7 23.1 99.8

*w: 1: single-node write acknowledgement; Majority: majority-replica write acknowledgement.

Table 1 shows differences in baseline performance across the database configurations. Cassandra recorded the highest throughput (982 ops/s under QUORUM and 995 ops/s under ONE), with ONE achieving the lowest median latency (5.2 ms). MongoDB throughput increased from 948 ops/s under majority write concern to 976 ops/s under w:1. PostgreSQL/Citus recorded the lowest throughput under synchronous replication (861 ops/s), improving to 923 ops/s with asynchronous replication, while median latency decreased from 16.2 ms to 10.7 ms. These results highlight the performance benefits of reduced replication acknowledgement requirements.

4.2Availability under network partitions

Table 2. Availability under network partitions.
Database Configuration 30 seconds (%) 120 seconds (%)
Cassandra QUORUM 98.2 97.5
Cassandra ONE 99.4 99.1
MongoDB Majority 91.5 89.2
MongoDB w:1 93.8 91.6
PostgreSQL/Citus Synchronous 88.6 85.3
PostgreSQL/Citus Asynchronous 94.2 92.1

*w: 1: single-node write acknowledgement; Majority: majority-replica write acknowledgement.

The experiment evaluated each database system's ability to process requests during 30- and 120-second network partitions. Availability was calculated using the specified formula. Table 2 shows that Cassandra ONE achieved the highest availability (99.4% and 99.1%), while QUORUM recorded slightly lower values due to its requirement for acknowledgements from at least two replicas. MongoDB availability under majority write concern declined from 91.5% to 89.2%, while w:1 improved availability but remained subject to primary election requirements. PostgreSQL/Citus recorded the lowest availability under synchronous replication (88.6% and 85.3%), whereas asynchronous replication improved it to 94.2% and 92.1%, respectively.

4.3Consistency violations across database systems

Table 3. Consistency violation results per 100,000 relevant operations.
Database Configuration Stale reads Conflicting values Missing acknowledged writes
Cassandra QUORUM 0 0 0
Cassandra ONE 186 24 8
MongoDB Majority 0 0 0
MongoDB w:1 74 12 5
PostgreSQL/Citus Synchronous 0 0 0
PostgreSQL/Citus Asynchronous 96 18 7

*w: 1: single-node write acknowledgement; Majority: majority-replica write acknowledgement.

Consistency was assessed using stale reads, conflicting values, and missing acknowledged writes after network recovery. Table 3 shows that Cassandra QUORUM, MongoDB majority, and PostgreSQL/Citus synchronous replication recorded no consistency violations. However, Cassandra ONE recorded 186 stale reads, 24 conflicts, and eight missing writes; MongoDB w:1 recorded 74 stale reads, 12 conflicts, and five missing writes; while PostgreSQL/Citus asynchronous replication recorded 96 stale reads, 18 conflicts, and seven missing writes. These results highlight the consistency and durability risks associated with configurations that require fewer replication acknowledgements.

4.4Latency and throughput comparison

Table 4. Median latency under different network conditions.
Database Configuration Normal (ms) Partitioned (ms) Recovery (ms)
Cassandra QUORUM 8.4 24.6 11.2
Cassandra ONE 5.2 9.8 6.4
MongoDB Majority 12.5 46.8 18.5
MongoDB w:1 7.8 29.4 12.6
PostgreSQL/Citus Synchronous 16.2 68.5 25.3
PostgreSQL/Citus Asynchronous 10.7 38.2 17.1

*w: 1: single-node write acknowledgement; Majority: majority-replica write acknowledgement.

Table 4 compares database responsiveness and throughput under network partitions using median and P95 latency and successfully completed operations per second. Median latency increased across all configurations. Cassandra recorded 24.6 ms under QUORUM and 9.8 ms under ONE. MongoDB recorded 46.8 ms under majority and 29.4 ms under w:1. PostgreSQL/Citus recorded 68.5 ms under synchronous replication and 38.2 ms under asynchronous replication. These results indicate that configurations with lower acknowledgement requirements generally experienced lower response times during network disruptions.

4.5Throughput under different network conditions

Table 5. Throughput under different network conditions.
Database Configuration Normal (ops/s) Partitioned (ops/s) Recovery (ops/s)
Cassandra QUORUM 982 821 945
Cassandra ONE 995 963 987
MongoDB Majority 948 685 892
MongoDB w:1 976 824 951
PostgreSQL/Citus Synchronous 861 572 795
PostgreSQL/Citus Asynchronous 923 781 887

*w: 1: single-node write acknowledgement; Majority: majority-replica write acknowledgement.

Table 5 shows that throughput declined across all database systems during network partitions. Cassandra ONE recorded the highest throughput (963 ops/s), followed by QUORUM (821 ops/s). MongoDB achieved 685 ops/s under majority and 824 ops/s under w:1. PostgreSQL/Citus recorded 572 ops/s under synchronous replication and 781 ops/s under asynchronous replication, indicating better throughput with reduced replication acknowledgement requirements.

4.6Recovery time and replica convergence

Table 6. Recovery and replica convergence performance.
Database Configuration Partition duration (s) Service recovery (s) Convergence time (s)
Cassandra QUORUM 30 3.8 8.5
Cassandra ONE 30 2.4 12.6
MongoDB Majority 30 8.6 11.4
MongoDB w:1 30 7.2 14.8
PostgreSQL/Citus Synchronous 30 9.8 10.5
PostgreSQL/Citus Asynchronous 30 6.5 18.2
Cassandra QUORUM 120 7.2 19.6
Cassandra ONE 120 4.5 32.4
MongoDB Majority 120 15.8 21.7
MongoDB w:1 120 12.4 29.5
PostgreSQL/Citus Synchronous 120 18.6 23.8
PostgreSQL/Citus Asynchronous 120 11.2 38.6

*w: 1: single-node write acknowledgement; Majority: majority-replica write acknowledgement.

Recovery was assessed using service restoration and replica convergence times. Table 6 shows that both increased with partition duration. Cassandra ONE restored service faster (2.4 and 4.5 seconds) than QUORUM (3.8 and 7.2 seconds), but recorded longer convergence time, reaching 32.4 seconds after the 120-second partition. MongoDB required longer service recovery, particularly under majority configuration, while PostgreSQL/Citus asynchronous replication recorded a convergence time of 38.6 seconds after the longer partition. These results highlight the trade-off between rapid service restoration and complete data synchronisation.

5Discussion

The comparative evaluation demonstrates that consistency, availability, latency, and recovery performance in distributed database systems are influenced by database architecture, replication mechanisms, and consistency configurations. The results indicate that configurations requiring fewer replica acknowledgements may sustain higher request availability and throughput, whereas stronger acknowledgement requirements can increase response times and limit request processing during network partitions.

Cassandra demonstrated the flexibility of tunable consistency through its ONE and QUORUM configurations. ONE requires acknowledgement from fewer replicas, potentially improving request availability at the expense of increased exposure to stale reads. QUORUM requires responses from a majority of replicas, providing stronger consistency protection under appropriate operating conditions. In MongoDB, majority-based read and write concerns depend on replica-set voting requirements, which can restrict write availability when a primary cannot communicate with a voting majority. PostgreSQL/Citus similarly exemplifies how synchronous and asynchronous replication affect transaction acknowledgement, durability, and recovery.

All three systems experienced reduced availability during network partitions. Cassandra recorded the highest availability, followed by PostgreSQL/Citus, while MongoDB recorded the lowest. This suggests differences in how their architectures and replication configurations respond to network disruptions. However, workload intensity and partition duration varied simultaneously across the two reported scenarios. Their individual contributions to the observed availability changes therefore cannot be determined independently.

The latency results reinforce these differences. Cassandra recorded 95th-percentile (P95) latencies of 180 ms and 420 ms across the two partition scenarios, compared with 350 ms and 700 ms for MongoDB and 260 ms and 550 ms for PostgreSQL/Citus. Cassandra thus demonstrated the lowest response times, while MongoDB recorded the highest. These variations may be associated with differences in replication coordination, transaction processing, and database architecture.

Regarding data integrity, MongoDB and PostgreSQL/Citus recorded no stale reads or missing acknowledged writes under the reported conditions. Cassandra also recorded no missing acknowledged writes, although stale reads increased from two during the 30-second partition to five during the 120-second partition. Recovery performance varied across the systems. Cassandra recorded recovery times of 8 and 18 seconds following the 30-second and 120-second partitions, respectively. MongoDB recorded 12 and 25 seconds, while PostgreSQL/Citus required 15 and 32 seconds. The longer recovery periods associated with extended partitions suggest that restoring normal operations may become more demanding as network disruptions persist. Recovery may involve replica synchronisation, state reconciliation, and the resumption of normal request processing.

The findings taken together, show that no database system consistently outperformed the others across all evaluation criteria. Cassandra demonstrated stronger availability, lower latency, and faster recovery in the reported scenarios. MongoDB maintained the reported consistency outcomes under majority-based read and write concerns, although its voting requirements may constrain write operations during certain partition conditions. PostgreSQL/Citus provided an intermediate performance profile, showing the trade-offs between replication durability, transaction acknowledgement, and recovery.

These findings have practical implications for database selection in cloud-based applications. Cassandra may be suitable for workloads that prioritise availability and throughput, provided that its consistency guarantees meet application requirements. MongoDB may be appropriate where majority-based write acknowledgement is important, while PostgreSQL/Citus may suit applications requiring distributed relational data management and transaction processing. The choice should ultimately reflect the application's tolerance for stale data, interrupted operations, response delays, and recovery time.

6Conclusion

This study examined the consistency-availability trade-offs of Cassandra, MongoDB, and PostgreSQL/Citus under network partition conditions. The findings demonstrate that database architecture, replication mechanisms, and consistency configurations influence system availability, latency, data integrity, and recovery performance. Cassandra demonstrated stronger availability and faster response and recovery times in the reported scenarios, while MongoDB maintained majority-based consistency outcomes at the expense of reduced availability during partitions. PostgreSQL/Citus provided intermediate performance, reflecting the trade-offs associated with synchronous and asynchronous replication. The study concludes that no single database system is optimal for all distributed applications. Selection should depend on application requirements, particularly the balance between data consistency, service availability, performance, and recovery. The findings also highlight the need to evaluate service recovery and replica convergence separately when assessing distributed database resilience. The study reinforces the importance of selecting and configuring distributed database systems according to their intended workloads and reliability requirements.

7Recommendations

Organisations should select database systems based on their application requirements for consistency, availability, and performance. Regular network-partition testing, replication monitoring, and recovery assessments should be conducted to improve database reliability. Database configurations should also be reviewed periodically, while repeated experiments should be carried out to validate performance results under different operating conditions.

8Future work

Future work should examine additional database systems, replication strategies, and consistency settings under different workloads and network conditions. Experiments could also use larger datasets and diverse cloud environments to validate the findings. In addition, adaptive recovery mechanisms could be explored to improve database consistency, availability, and performance during network partitions.

References

  1. [1]Ahmed, J., Karpenko, A., Tarasyuk, O., Gorbenko, A., & Sheikh-Akbari, A. (2023). Consistency issue and related trade-offs in distributed replicated systems and databases: A review. Radioelectronic and Computer Systems, (2), 171–179. https://doi.org/10.32620/reks.2023.2.14
  2. [2]Brewer, E. (2012). CAP twelve years later: How the “rules” have changed. Computer, 45(2), 23–29. https://doi.org/10.1109/MC.2012.37
  3. [3]Camilleri, C., Vella, J. G., & Nezval, V. (2024). Horizontally scalable implementation of a distributed DBMS delivering causal consistency via the actor model. Electronics, 13(17), Article 3367. https://doi.org/10.3390/electronics13173367
  4. [4]Carvalho, G., Bernardino, J., Cabral, B., & Pereira, V. (2025). A survey of holistic approaches for distributed database systems: From conceptual model to deployment. IEEE Access, 13, 120830–120851. https://doi.org/10.1109/ACCESS.2025.3587670
  5. [5]da Silva, L. F., & Lima, J. V. F. (2023). An evaluation of relational and NoSQL distributed databases on a low-power cluster. The Journal of Supercomputing, 79, 13402–13429. https://doi.org/10.1007/s11227-023-05166-7
  6. [6]Dong, H., Zhang, C., Li, G., & Zhang, H. (2024). Cloud-native databases: A survey. IEEE Transactions on Knowledge and Data Engineering, 36(12), 7772–7791. https://doi.org/10.1109/TKDE.2024.3397508
  7. [7]Dritsas, E., & Trigka, M. (2025). Database systems in the big data era: Architectures, performance, and open challenges. IEEE Access, 13, 95068–95084. https://doi.org/10.1109/ACCESS.2025.3572059
  8. [8]Ferreira, S., Mendonça, J., Nogueira, B., Tiengo, W., & Andrade, E. (2024). Impacts of data consistency levels in cloud-based NoSQL for data-intensive applications. Journal of Cloud Computing, 13, Article 158. https://doi.org/10.1186/s13677-024-00716-7
  9. [9]Ferreira, S., Mendonça, J., & Andrade, E. (2025). Experimental performance analysis of data consistency levels in NoSQL databases. Software: Practice and Experience, 55(6), 1059–1070. https://doi.org/10.1002/spe.3412
  10. [10]Ferreira, S., Mendonça, J., Nogueira, B. C. S., Tiengo, W., & Andrade, E. C. (2025). Benchmarking consistency levels of cloud-distributed NoSQL databases using YCSB. IEEE Access, 13, 63428–63438. https://doi.org/10.1109/ACCESS.2025.3558923
  11. [11]Freitas, D., deGrandis, P., & Boldt Sousa, T. (2025). A survey on the state of the art of causally consistent cloud systems. ACM Computing Surveys, 57(9), Article 240. https://doi.org/10.1145/3731444
  12. [12]Gilbert, S., & Lynch, N. (2002). Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web services. ACM SIGACT News, 33(2), 51–59. https://doi.org/10.1145/564585.564601
  13. [13]Gorbenko, A., Romanovsky, A., & Tarasyuk, O. (2019). Fault tolerant internet computing: Benchmarking and modelling trade-offs between availability, latency and consistency. Journal of Network and Computer Applications, 146, Article 102412. https://doi.org/10.1016/j.jnca.2019.102412
  14. [14]Krechowicz, A., Deniziak, S., & Łukawski, G. (2025). Consistent, highly throughput and space scalable distributed architecture for layered NoSQL data store. Scientific Reports, 15, Article 19172. https://doi.org/10.1038/s41598-025-03755-5
  15. [15]Krishan, K., Gupta, G., & Bhathal, G. S. (2023). Empirical analysis of performance parameters for consistency in distributed databases. International Journal of Intelligent Systems and Applications in Engineering, 12(4s), 691–701. https://www.ijisae.org/index.php/IJISAE/article/view/3851
  16. [16]Lee, E. A., Akella, R., Bateni, S., Lin, S., Lohstroh, M., & Menard, C. (2023). Consistency vs. availability in distributed cyber-physical systems. ACM Transactions on Embedded Computing Systems, 22(5s), Article 138, 1–24. https://doi.org/10.1145/3609119
  17. [17]Lee, E. A., Bateni, S., Lin, S., Lohstroh, M., & Menard, C. (2023). Trading off consistency and availability in tiered heterogeneous distributed systems. Intelligent Computing, 2, Article 0013. https://doi.org/10.34133/icomputing.0013
  18. [18]Liu, P.-J., Li, C.-P., & Chen, H. (2024). Enhancing storage efficiency and performance: A survey of data partitioning techniques. Journal of Computer Science and Technology, 39(2), 346–368. https://doi.org/10.1007/s11390-024-3538-1
  19. [19]Liu, S., Multazzu, L., Wei, H., & Basin, D. A. (2024). NOC-NOC: Towards performance-optimal distributed transactions. Proceedings of the ACM on Management of Data, 2(1), Article 9. https://doi.org/10.1145/3639264
  20. [20]Rambabu, D., & Govardhan, A. (2024). Survey on data replication in cloud systems. Web Intelligence, 22(1), 83–109. https://doi.org/10.3233/WEB-230087
  21. [21]Redžepagić, J., Kapulica, A., Malešević, N., & Dakić, V. (2026). Empirical performance and operational analysis of monolithic and distributed database architectures in Kubernetes environments. Computers, 15(5), Article 282. https://doi.org/10.3390/computers15050282
  22. [22]Zennou, R., Biswas, R., Bouajjani, A., Enea, C., & Erradi, M. (2022). Checking causal consistency of distributed databases. Computing, 104(10), 2181–2201. https://doi.org/10.1007/s00607-021-00911-3