Scylla (database)
![]() Scylla monster, mascot of the Scylla database | |
Developer(s) | ScyllaDB Inc. |
---|---|
Initial release | 22 September 2015 |
Stable release | Scylla Open Source 4.5
/ 14 October 2021 |
Repository | |
Written in | C++ |
Operating system | Linux |
Type | distributed data store |
License | GNU AGPL |
Website | https://www.scylladb.com/ |
Scylla is an open-source distributed NoSQL wide-column 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++20 language replacing Cassandra's Java, and the [1] asynchronous programming library with threads, shared memory, mapped files, and other classic Linux programming techniques. In addition implementing Cassandra's protocols, Scylla also implements the Amazon DynamoDB API.[2]
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,[3] 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.[4] Independent testing has not always been able to confirm such 10-fold throughput improvements, and sometimes measured smaller speedups, such as 2x.[5] 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.[6]
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 (later renamed ScyllaDB Inc.), previously known for having created OSv. Scylla was released as open source in September 2015,[7] 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 Secures $25 Million to Open Source Amazon DynamoDB-compatible API
- ^ 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[]
- Distributed data stores
- NoSQL
- Free database management systems
- Software that was rewritten in C++
- Software using the GNU AGPL license