Scalar DB is a universal transaction manager that achieves:
- database/storage-agnostic ACID transactions in a scalable manner even if an underlying database or storage is not ACID-compliant.
- multi-storage/database/service ACID transactions that can span multiple (possibly different) databases, storages, and services.
The library is available on Maven Central. You can install it in your application using your build tool such as Gradle and Maven.
To add a dependency on Scalar DB using Gradle, use the following:
dependencies {
implementation 'com.scalar-labs:scalardb:3.5.1'
}
To add a dependency using Maven:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb</artifactId>
<version>3.5.1</version>
</dependency>
- Getting started
- Scalar DB supported databases
- Multi-storage Transactions
- Two-phase Commit Transactions
- Design document
- Slides
- Making Cassandra more capable, faster, and more reliable at ApacheCon@Home 2020
- Scalar DB: A library that makes non-ACID databases ACID-compliant at Database Lounge Tokyo #6 2020
- Transaction Management on Cassandra at Next Generation Cassandra Conference / ApacheCon NA 2019
- Javadoc
- scalardb - A library that makes non-ACID distributed databases/storages ACID-compliant
- scalardb-rpc - Scalar DB RPC libraries
- scalardb-server - Scalar DB Server that is the gRPC interfarce of Scalar DB
- scalardb-schema-loader - Scalar DB Schema Loader that creates and deletes Scalar DB schemas
- Jepsen tests
- TLA+
- Sample applications by contributors/collaborators
This library is mainly maintained by the Scalar Engineering Team, but of course we appreciate any help.
- For asking questions, finding answers and helping other users, please go to stackoverflow and use scalardb tag.
- For filing bugs, suggesting improvements, or requesting new features, help us out by opening an issue.
Here are the contributors we are especially thankful for:
- Toshihiro Suzuki - created Phoenix adapter for Scalar DB
- Yonezawa-T2 - reported bugs around Serializable and proposed a new Serializable strategy (now named Extra-Read)
Scalar DB is dual-licensed under both the Apache 2.0 License (found in the LICENSE file in the root directory) and a commercial license. You may select, at your option, one of the above-listed licenses. The commercial license includes enterprise-grade tools, such as a multi-table consistent backup/restore tool for Cassandra. Regarding the commercial license, please contact us for more information.