DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache Druid vs. Cassandra vs. LokiJS vs. Riak TS vs. Spark SQL

System Properties Comparison Apache Druid vs. Cassandra vs. LokiJS vs. Riak TS vs. Spark SQL

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonCassandra  Xexclude from comparisonLokiJS  Xexclude from comparisonRiak TS  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessIn-memory JavaScript DBMSRiak TS is a distributed NoSQL database optimized for time series data and based on Riak KVSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelRelational DBMS
Time Series DBMS
Wide column storeDocument storeTime Series DBMSRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.34
Rank#88  Overall
#48  Relational DBMS
#7  Time Series DBMS
Score101.89
Rank#12  Overall
#1  Wide column stores
Score0.43
Rank#264  Overall
#42  Document stores
Score0.20
Rank#319  Overall
#27  Time Series DBMS
Score18.96
Rank#33  Overall
#20  Relational DBMS
Websitedruid.apache.orgcassandra.apache.orggithub.com/­techfort/­LokiJSspark.apache.org/­sql
Technical documentationdruid.apache.org/­docs/­latest/­designcassandra.apache.org/­doc/­latesttechfort.github.io/­LokiJSwww.tiot.jp/­riak-docs/­riak/­ts/­latestspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperApache Software Foundation and contributorsApache Software Foundation infoApache top level project, originally developped by FacebookOpen Source, formerly Basho TechnologiesApache Software Foundation
Initial release20122008201420152014
Current release29.0.1, April 20244.1.3, July 20233.0.0, September 20223.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoApache version 2Open SourceOpen SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Astra DB: Multi-cloud DBaaS built on Apache Cassandra.
Implementation languageJavaJavaJavaScriptErlangScala
Server operating systemsLinux
OS X
Unix
BSD
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)Linux
OS X
Linux
OS X
Windows
Data schemeyes infoschema-less columns are supportedschema-freeschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyesnonoyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonononono
Secondary indexesyesrestricted infoonly equality queries, not always the best performing solutionyes infovia viewsrestrictedno
SQL infoSupport of SQLSQL for queryingSQL-like SELECT, DML and DDL statements (CQL)noyes, limitedSQL-like DML and DDL statements
APIs and other access methodsJDBC
RESTful HTTP/JSON API
Proprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JavaScript APIHTTP API
Native Erlang Interface
JDBC
ODBC
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
JavaScriptC infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Java
Python
R
Scala
Server-side scripts infoStored proceduresnonoView functions in JavaScriptErlangno
Triggersnoyesyesyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding infono "single point of failure"noneShardingyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesselectable replication factor infoRepresentation of geographical distribution of servers is possiblenoneselectable replication factornone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
noneEventual Consistency
Foreign keys infoReferential integritynononono infolinks between datasets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanono infoAtomicity and isolation are supported for single operationsno infoatomic operations within a single collection possiblenono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesno
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemAccess rights for users can be defined per objectnonono
More information provided by the system vendor
Apache DruidCassandraLokiJSRiak TSSpark SQL
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
News

How Concide Built its Chat Platform with Enhanced Document Management for Legal Tech Professionals
23 May 2024

Astra Vectorize: Generate Vector Embeddings with 1 Line of Code
22 May 2024

GitHub Copilot + DataStax Astra DB: Build GenAI Apps 100x Faster
21 May 2024

Empowering On-Premises Deployments with Generative AI: Introducing Vector Search for a Self-Managed Modern Architecture
15 May 2024

Tips and Tricks for the DataStax Astra CLI
7 May 2024

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Cassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
Apache DruidCassandraLokiJSRiak TSSpark SQL
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Imply Announces Automatic Schema Discovery for Apache Druid, Reinforcing Druid's Leadership for Real-Time ...
6 June 2023, Business Wire

Apache Druid Takes Its Place In The Pantheon Of Databases
16 June 2022, The Next Platform

provided by Google News

Microsoft Build 2024: Cosmos DB for NoSQL gets vector search
21 May 2024, InfoWorld

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

Why Apache Cassandra 5.0 Is a Game-Changer for Developers
10 May 2024, The New Stack

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

LokiJS Reaches 1.4
8 July 2016, iProgrammer

provided by Google News

Best open source databases for IoT applications
26 May 2017, Open Source For You

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Performant IPv4 Range Spark Joins | by Jean-Claude Cote
24 January 2024, Towards Data Science

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here