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++20 language replacing Cassandra's Java, and the Seastar[1] asynchronous programming library replacing 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
Scylla monster, mascot of the Scylla database
Developer(s)ScyllaDB Inc.
Initial release22 September 2015 (2015-09-22)
Stable release
Scylla Open Source 4.3 / 18 January 2021 (2021-01-18)
Repository
Written inC++
Operating systemLinux
Typedistributed data store
LicenseGNU AGPL
Websitehttps://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,[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 Cloudius Systems (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

  1. Seastar is an advanced, open-source C++ framework for high-performance server applications on modern hardware.
  2. ScyllaDB Secures $25 Million to Open Source Amazon DynamoDB-compatible API
  3. 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.
  4. YCSB cluster benchmark, on the ScyllaDB Inc. website, read February 19, 2017.
  5. ScyllaDB vs Cassandra: towards a new myth?, by Marc Alonso and Thomas Mouron on the octo.com website, December 15, 2015.
  6. 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
  7. "Cassandra Rewritten In C++, Ten Times Faster", September 22, 2015, Slashdot
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.