SearcharxivSearch

arXiv subjects

Adam A. E. Alflahi

Publications and source records attributed to Adam A. E. Alflahi.

2 recordsLinked to original sources

A Scalable Transaction Management Framework for Consistent Document-Oriented NoSQL Databases

NoSQL databases are widely used in modern applications due to their scalability and schema flexibility, yet they often rely on eventual consistency models that limit reliable transaction processing. This study proposes a four-stage transaction management framework for document-oriented NoSQL databases, with MongoDB as the reference platform. The framework combines transaction lifecycle management, operation classification, pre-execution conflict detection, and an adaptive locking strategy with timeout-based deadlock prevention. Formal correctness analysis shows that the proposed approach guarantees conflict serializability under defined conditions. An experimental evaluation using the Yahoo Cloud Serving Benchmark (YCSB) workloads A, B, and F, with concurrency levels ranging from 1 to 100 clients, demonstrates a reduction in transaction abort rates from 8.3% to 4.7%, the elimination of observed deadlocks, and a 34.2% decrease in latency variance. Throughput improvements ranging from 6.3% to 18.4% are observed under high concurrency, particularly for read-modify-write workloads. Distributed experiments on clusters of up to 9 nodes confirm scalability, achieving 15.2% higher throughput and 53% lower abort rates than baseline systems. Comparisons with MongoDB's native transactions, CockroachDB, and TiDB indicate that the proposed framework strikes a good balance between consistency guarantees and performance overhead. Sensitivity analysis identifies optimal parameter settings, including a lock timeout of 100 ms, an initial backoff of 10 ms, and a maximum backoff of 500 ms. These results show that carefully designed consistency mechanisms can significantly improve data integrity in NoSQL systems without undermining scalability.

cs.DB

Enhancement of database access performance by improving data consistency in a non-relational database system (NoSQL)

This study aims to enhance data consistency in NoSQL databases, traditionally designed with BASE properties, as opposed to the strong consistency guaranteed by ACID principles in RDBMS. We introduce a comprehensive four-stage server-side model engineered explicitly for MongoDB. This model covers transaction management, bifurcation of read and write transactions, assessment of transaction readiness, and transaction execution via a specialized locking algorithm. Utilizing the Yahoo Cloud Services Benchmark (YCSB), particularly for update-heavy workloads (A, B, and F), our model exhibited significant improvements. Specifically, the average throughput, read, and update latencies improved to 2864.726 ms, 32806.275 ms, and 51845.629 ms, respectively, from the baseline metrics of 2914.110 ms, 26510.930 ms, and 32457.662 ms. These results demonstrate the efficacy of our proposed model in enhancing consistency not only in document-based NoSQL databases like MongoDB but also in other NoSQL database variants, including key-value, graph, and wide-column stores.

cs.DB