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 > Ehcache vs. Google Cloud Firestore vs. H2 vs. LokiJS vs. XTDB

System Properties Comparison Ehcache vs. Google Cloud Firestore vs. H2 vs. LokiJS vs. XTDB

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelKey-value storeDocument storeRelational DBMSDocument storeDocument store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.64
Rank#68  Overall
#8  Key-value stores
Score7.36
Rank#53  Overall
#9  Document stores
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score0.18
Rank#332  Overall
#46  Document stores
Websitewww.ehcache.orgfirebase.google.com/­products/­firestorewww.h2database.comgithub.com/­techfort/­LokiJSgithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationwww.ehcache.org/­documentationfirebase.google.com/­docs/­firestorewww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSwww.xtdb.com/­docs
DeveloperTerracotta Inc, owned by Software AGGoogleThomas MuellerJuxt Ltd.
Initial release20092017200520142019
Current release3.10.0, March 20222.2.220, July 20231.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availablecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoMIT License
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 languageJavaJavaJavaScriptClojure
Server operating systemsAll OS with a Java VMhostedAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)All OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeschema-freeyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesnoyes, extensible-data-notation format
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 indexesnoyesyesyes infovia viewsyes
SQL infoSupport of SQLnonoyesnolimited SQL, making use of Apache Calcite
APIs and other access methodsJCacheAndroid
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
JavaScript APIHTTP REST
JDBC
Supported programming languagesJavaGo
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
JavaJavaScriptClojure
Java
Server-side scripts infoStored proceduresnoyes, Firebase Rules & Cloud FunctionsJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptno
Triggersyes infoCache Event Listenersyes, with Cloud Functionsyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerShardingnonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerMulti-source replicationWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoUsing Cloud Dataflownoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Immediate ConsistencyImmediate 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 possibleACID
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, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes
User concepts infoAccess controlnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.fine 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
EhcacheGoogle Cloud FirestoreH2LokiJSXTDB infoformerly named Crux
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

Scaling Australia's Most Popular Online News Sites with Ehcache
6 December 2010, InfoQ.com

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

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

provided by Google News

Google's AI-First Strategy Brings Vector Support To Cloud Databases
1 March 2024, Forbes

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

Google launches Cloud Firestore, a new document database for app developers
3 October 2017, TechCrunch

Google's Cloud-Native NoSQL Database Cloud Firestore Is Now Generally Available
8 February 2019, InfoQ.com

Firestore and Python | NoSQL on Google Cloud
7 August 2020, Towards Data Science

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

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