DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Ehcache vs. EJDB vs. Firebase Realtime Database vs. HyperSQL vs. LokiJS

System Properties Comparison Ehcache vs. EJDB vs. Firebase Realtime Database vs. HyperSQL vs. LokiJS

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonEJDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsEmbeddable document-store database library with JSON representation of queries (in MongoDB style)Cloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBIn-memory JavaScript DBMS
Primary database modelKey-value storeDocument storeDocument storeRelational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.23
Rank#68  Overall
#8  Key-value stores
Score0.30
Rank#294  Overall
#44  Document stores
Score15.00
Rank#39  Overall
#6  Document stores
Score3.90
Rank#85  Overall
#46  Relational DBMS
Score0.48
Rank#262  Overall
#42  Document stores
Websitewww.ehcache.orggithub.com/­Softmotions/­ejdbfirebase.google.com/­products/­realtime-databasehsqldb.orggithub.com/­techfort/­LokiJS
Technical documentationwww.ehcache.org/­documentationgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdfirebase.google.com/­docs/­databasehsqldb.org/­web/­hsqlDocsFrame.htmltechfort.github.io/­LokiJS
DeveloperTerracotta Inc, owned by Software AGSoftmotionsGoogle infoacquired by Google 2014
Initial release20092012201220012014
Current release3.10.0, March 20222.7.2, June 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoGPLv2commercialOpen Source infobased on BSD licenseOpen Source
Cloud-based only infoOnly available as a cloud servicenonoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaCJavaJavaScript
Server operating systemsAll OS with a Java VMserver-lesshostedAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, bool, date, object_idyesyesno
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.nononono
Secondary indexesnonoyesyesyes infovia views
SQL infoSupport of SQLnononoyesno
APIs and other access methodsJCachein-process shared libraryAndroid
iOS
JavaScript API
RESTful HTTP API
HTTP API infoJDBC via HTTP
JDBC
ODBC
JavaScript API
Supported programming languagesJavaActionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
Java
JavaScript
Objective-C
All languages supporting JDBC/ODBC
Java
JavaScript
Server-side scripts infoStored proceduresnonolimited functionality with using 'rules'Java, SQLView functions in JavaScript
Triggersyes infoCache Event ListenersnoCallbacks are triggered when data changesyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta Servernonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta Servernonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Eventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate Consistencynone
Foreign keys infoReferential integritynono infotypically not needed, however similar functionality with collection joins possiblenoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourcenoyesACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyesyesyes 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.yesyesyes
User concepts infoAccess controlnonoyes, based on authentication and database rulesfine grained access rights according to SQL-standardno

More information provided by the system vendor

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

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

More resources
EhcacheEJDBFirebase Realtime DatabaseHyperSQL infoalso known as HSQLDBLokiJS
DB-Engines blog posts

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

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

Cache replication
19 August 2013, Packt Hub

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

provided by Google News

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

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

Millions of user records exposed by 900+ sites via Firebase
18 March 2024, The Register

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

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

SingleStore logo

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

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