Scylla (database)
Scylla is an open-source distributed NoSQL column-oriented data store. It was designed to be compatible with Apache Cassandra while achieving significantly higher throughputs and lower latencies. It supports the same protocols as Cassandra (CQL and Thrift) and the same file formats (SSTable), but is a completely rewritten implementation, using the C++17 language replacing Cassandra's Java, and the Seastar[1] asynchronous programming library replacing threads, shared memory, mapped files, and other classic Linux programming techniques.
Scylla monster, mascot of the Scylla database | |
Developer(s) | ScyllaDB Inc. |
---|---|
Initial release | 22 September 2015 |
Stable release | Scylla Open Source 4.0.1
/ 28 May 2020 |
Repository | |
Written in | C++ |
Operating system | Linux |
Type | distributed data store |
License | GNU AGPL |
Website | https://www.scylladb.com/ |
Scylla uses a sharded design on each node, meaning that each CPU core handles a different subset of data. Cores do not share data, but rather communicate explicitly when they need to. The Scylla authors claim that this design allows Scylla to achieve much better performance on modern NUMA SMP machines, and to scale very well with the number of cores. They have measured as much as 2 million requests per second on a single machine,[2] and also claim that a Scylla cluster can serve as many requests as a Cassandra cluster 10 times its size - and do so with lower latencies.[3] Independent testing has not always been able to confirm such 10-fold throughput improvements, and sometimes measured smaller speedups, such as 2x.[4] A 2017 benchmark from Samsung observed the 10x speedup on high-end machines - the Samsung benchmark reported that Scylla outperformed Cassandra on a cluster of 24-core machines by a margin of 10–37x depending on the YCSB workload.[5]
Scylla is available as either an on-premises solution, on the major public cloud providers or as a DBaaS (Scylla Cloud).
History
Scylla was started in December 2014 by the startup Cloudius Systems (later renamed ScyllaDB Inc.), previously known for having created OSv. Scylla was released as open source in September 2015,[6] under the AGPL license. Employees of ScyllaDB Inc. remain the primary coders behind Scylla, but its development is open to the public and uses public GitHub repositories and public mailing lists.
References
- Seastar is an advanced, open-source C++ framework for high-performance server applications on modern hardware.
- ScyllaDB: Cassandra compatibility at 1.8 million requests per node by Don Marti (then a ScyllaDB Inc. employee), presented at the Fourteenth Annual Southern California Linux Expo, January 24, 2016.
- YCSB cluster benchmark, on the ScyllaDB Inc. website, read February 19, 2017.
- ScyllaDB vs Cassandra: towards a new myth?, by Marc Alonso and Thomas Mouron on the octo.com website, December 15, 2015.
- Rezaei, Arash; Guz, Zvika; Balakrishnan, Vijay (February 2017), ScyllaDB and Samsung NVMe SSDs Accelerate NoSQL Database Performance (PDF), Samsung Semiconductor Inc., p. 12, retrieved 2019-02-07
- "Cassandra Rewritten In C++, Ten Times Faster", September 22, 2015, Slashdot
External links
- Scylla public GitHub repository, with source code repository and bug tracker
- ScyllaDB Inc. homepage
- ScyllaDB another contender to the open source NoSQL database crown