RubatoDB is an academic database project started by Dr. Li-Yan Yuan at University of Alberta, Canada. It falls into the category of a NewSQL system. It aims to provide the scalable performance similar to NOSQL systems while maintaining the traditional ACID guarantees present in relational databases. SQL is support is provided as the primary language with interfaces such as JDBC and ODBC. It has been implemented through a staged architecture consisting of a grid of staged modules connected through explicit queues. It implements a novel formula protocol for distributed concurrency control called as Formula DB a layer on top of Berkeley DB providing three levels of consistency guarantees :- ACID, BASE and BASIC. All table partitions and files along with the indexes are stored as Berkeley DB files where the transnational layer of Berkeley DB is switched off.
Multi-version Concurrency Control (MVCC) Timestamp Ordering
Concurrency Control in Rubato DB is provided through two different layers :-
1) Transaction Stage - This is present in all grid servers and is responsible for data integrity at a per server level. It supports operations like pre_commit, commit and rollback. 2) Formula DB - This is a thread free-layer present on the top over all the Berkeley DB nodes, orchestrating the transactions and allowing the system to provide three levels of consistency :-
A) ACID - The traditional Relational DBMS consistency guarantees, Atomicity, Consistency, Isolation and Durability.
B) BASE - This is one of models of the NoSQL world with weak consistency semantics. BASE stands for Basically Available with Soft State Eventual Consistency.
C) BASIC - Rubato DB also provides a middle ground of the both SQL and new SQL worlds, standing between the two extremes. BASIC stands for Basic Availability, Scalability and Instant Consistency.
The BASE and BASIC models differ on choosing one spectrum of the CAP theorem, either providing instant availability with fast queries or providing consistent results with higher latency.
http://webdocs.cs.ualberta.ca/~yuan/databases/rubatodb/rubatodb_dist.4.0.2.tar.gz
https://webdocs.cs.ualberta.ca/~yuan/databases/rubatodb/docs/rubatodb.html
University of Alberta
2014