DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > AlaSQL vs. Cassandra vs. Ehcache vs. Firebase Realtime Database vs. LokiJS

System Properties Comparison AlaSQL vs. Cassandra vs. Ehcache vs. Firebase Realtime Database vs. LokiJS

Editorial information provided by DB-Engines
NameAlaSQL  Xexclude from comparisonCassandra  Xexclude from comparisonEhcache  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionJavaScript DBMS libraryWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessA widely adopted Java cache with tiered storage optionsCloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.In-memory JavaScript DBMS
Primary database modelDocument store
Relational DBMS
Wide column storeKey-value storeDocument storeDocument store
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.46
Rank#260  Overall
#40  Document stores
#121  Relational DBMS
Score101.89
Rank#12  Overall
#1  Wide column stores
Score4.89
Rank#67  Overall
#8  Key-value stores
Score14.29
Rank#39  Overall
#6  Document stores
Score0.43
Rank#264  Overall
#42  Document stores
Websitealasql.orgcassandra.apache.orgwww.ehcache.orgfirebase.google.com/­products/­realtime-databasegithub.com/­techfort/­LokiJS
Technical documentationgithub.com/­AlaSQL/­alasqlcassandra.apache.org/­doc/­latestwww.ehcache.org/­documentationfirebase.google.com/­docs/­databasetechfort.github.io/­LokiJS
DeveloperAndrey Gershun & Mathias R. WulffApache Software Foundation infoApache top level project, originally developped by FacebookTerracotta Inc, owned by Software AGGoogle infoacquired by Google 2014
Initial release20142008200920122014
Current release4.1.3, July 20233.10.0, March 2022
License infoCommercial or Open SourceOpen Source infoMIT-LicenseOpen Source infoApache version 2Open Source infoApache Version 2; commercial licenses availablecommercialOpen Source
Cloud-based only infoOnly available as a cloud servicenononoyesno
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 languageJavaScriptJavaJavaJavaScript
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)BSD
Linux
OS X
Windows
All OS with a Java VMhostedserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-freeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or datenoyesyesyesno
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 indexesnorestricted infoonly equality queries, not always the best performing solutionnoyesyes infovia views
SQL infoSupport of SQLClose to SQL99, but no user access control, stored procedures and host language bindings.SQL-like SELECT, DML and DDL statements (CQL)nonono
APIs and other access methodsJavaScript APIProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JCacheAndroid
iOS
JavaScript API
RESTful HTTP API
JavaScript API
Supported programming languagesJavaScriptC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
JavaJava
JavaScript
Objective-C
JavaScript
Server-side scripts infoStored proceduresnononolimited functionality with using 'rules'View functions in JavaScript
Triggersyesyesyes infoCache Event ListenersCallbacks are triggered when data changesyes
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infono "single point of failure"Sharding infoby using Terracotta Servernone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneselectable replication factor infoRepresentation of geographical distribution of servers is possibleyes infoby using Terracotta Servernone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Tunable Consistency (Strong, Eventual, Weak)Eventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
none
Foreign keys infoReferential integrityyesnononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infoonly for local storage and DOM-storageno infoAtomicity and isolation are supported for single operationsyes infosupports JTA and can work as an XA resourceyesno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infoby using IndexedDB, SQL.JS or proprietary FileStorageyesyes infousing a tiered cache-storage approachyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyesyes
User concepts infoAccess controlnoAccess rights for users can be defined per objectnoyes, based on authentication and database rulesno
More information provided by the system vendor
AlaSQLCassandraEhcacheFirebase Realtime DatabaseLokiJS
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

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 partiesCassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
AlaSQLCassandraEhcacheFirebase Realtime DatabaseLokiJS
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

Cloud-based DBMS's popularity grows at high rates
12 December 2019, 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

Create a Marvel Database with SQL and Javascript, the easy way
2 July 2019, Towards Data Science

HarperDB - How and Why We Built It From The Ground Up on NodeJS
28 February 2021, hackernoon.com

Multi faceted data exploration in the browser using Leaflet and amCharts
3 May 2020, Towards Data Science

provided by Google News

What Is Cassandra? Working, Features, and Uses - Spiceworks Inc
17 August 2023, Spiceworks News and Insights

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

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

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

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

provided by Google News

Jira Data Center user? Here's a critical Ehcache vulnerability to spoil your day
22 July 2021, The Register

Atlassian asks customers to patch critical Jira vulnerability
22 July 2021, BleepingComputer

Critical Jira Flaw in Atlassian Could Lead to RCE
22 July 2021, Threatpost

Migration From JBoss 5 to JBoss 7: All It Takes Is 11 Easy Steps
3 June 2021, hackernoon.com

DZone Coding Java JBoss 5 to 7 in 11 steps
9 January 2014, dzone.com

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

Hundreds of Google Firebase websites might have leaked data online
19 March 2024, TechRadar

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News



Share this page

Featured Products

SingleStore logo

Database for your real-time AI and Analytics Apps.
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.

Milvus logo

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

Present your product here