DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Ehcache vs. Firebase Realtime Database vs. H2 vs. LokiJS vs. STSdb

System Properties Comparison Ehcache vs. Firebase Realtime Database vs. H2 vs. LokiJS vs. STSdb

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparisonSTSdb  Xexclude from comparison
DescriptionA 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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSKey-Value Store with special method for indexing infooptimized for high performance using a special indexing method
Primary database modelKey-value storeDocument storeRelational DBMSDocument storeKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.79
Rank#66  Overall
#8  Key-value stores
Score13.60
Rank#39  Overall
#6  Document stores
Score7.57
Rank#47  Overall
#30  Relational DBMS
Score0.44
Rank#256  Overall
#40  Document stores
Score0.03
Rank#365  Overall
#54  Key-value stores
Websitewww.ehcache.orgfirebase.google.com/­products/­realtime-databasewww.h2database.comgithub.com/­techfort/­LokiJSgithub.com/­STSSoft/­STSdb4
Technical documentationwww.ehcache.org/­documentationfirebase.google.com/­docs/­databasewww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJS
DeveloperTerracotta Inc, owned by Software AGGoogle infoacquired by Google 2014Thomas MuellerSTS Soft SC
Initial release20092012200520142011
Current release3.10.0, March 20222.2.220, July 20234.0.8, September 2015
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availablecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoGPLv2, commercial license available
Cloud-based only infoOnly available as a cloud servicenoyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJavaJavaScriptC#
Server operating systemsAll OS with a Java VMhostedAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Windows
Data schemeschema-freeschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes infoprimitive types and user defined types (classes)
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 indexesnoyesyesyes infovia viewsno
SQL infoSupport of SQLnonoyesnono
APIs and other access methodsJCacheAndroid
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
JavaScript API.NET Client API
Supported programming languagesJavaJava
JavaScript
Objective-C
JavaJavaScriptC#
Java
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'Java Stored Procedures and User-Defined FunctionsView functions in JavaScriptno
Triggersyes infoCache Event ListenersCallbacks are triggered when data changesyesyesno
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 ServerWith clustering: 2 database servers on different computers operate on identical copies of a databasenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyesno
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 integritynonoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourceyesACIDno infoatomic operations within a single collection possibleno
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes
User concepts infoAccess controlnoyes, based on authentication and database rulesfine grained access rights according to SQL-standardnono

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
EhcacheFirebase Realtime DatabaseH2LokiJSSTSdb
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

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

How to partition Sonatype Nexus Repository: Targets, privileges, and roles
9 February 2010, Sonatype Blog

Implementing fallback with cached data
8 October 2018, O'Reilly Media

provided by Google News

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

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

Misconfigured Firebase instances leaked 19 million plaintext passwords
19 March 2024, BleepingComputer

Misconfigured firebase: A real-time cyber threat
18 January 2024, Atos

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

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

RaimaDB logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it 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