Tag: Consistency
Relational vs. Non-Relational Databases: Features and Benefits
Databases play a crucial role in storing, organizing, and retrieving information. Two main types of databases are relational (SQL) and non-relational (NoSQL) databases. Both have unique features and benefits, so choosing the right type of database is essential for building...
Data Consistency Models & Performance: Couchbase vs. CockroachDB
Design decisions influenced by CAP Theorem The CAP theorem states that a database cannot simultaneously provide all three of the following guarantees: Consistency (the latest information is always available everywhere) Availability (every read and write request receives a response) Partitioning...
Introduction To Jepsen Testing At Couchbase
Intro As most of you know, Couchbase is a database that provides users with a range of consistency and fault tolerance options to ensure that the state of their data meet certain criteria or guarantees. Users can specify varying levels...
Define Your Own Durability Requirements in Couchbase with the SDKs
As a Developer Advocate at Couchbase, I go to many events and interact with a great deal of developers. When talking about Couchbase, I get a lot of questions around the durability of data that is being created. For example,...
Concurrency Behavior: MongoDB vs. Couchbase
Multi-User Testing David Glasser of Meteor wrote a blog on an MongoDB query missing matching documents issue he ran into. It is straightforward to reproduce the issue on both MongoDB MMAPv1 and MongoDB WiredTiger engine. Here are his conclusions...
Distributed Databases and Replication Design
One of the most important elements of distributed database architecture is replication. In fact, it defines the database architecture. It determines whether or not the data is consistent / available. Master / Slave Writes are executed on master nodes, replicated...