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. LokiJS vs. XTDB

System Properties Comparison Ehcache vs. EJDB vs. LokiJS vs. XTDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonEJDB  Xexclude from comparisonLokiJS  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsEmbeddable document-store database library with JSON representation of queries (in MongoDB style)In-memory JavaScript DBMSA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelKey-value storeDocument storeDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.64
Rank#68  Overall
#8  Key-value stores
Score0.31
Rank#296  Overall
#44  Document stores
Score0.49
Rank#260  Overall
#42  Document stores
Score0.18
Rank#332  Overall
#46  Document stores
Websitewww.ehcache.orggithub.com/­Softmotions/­ejdbgithub.com/­techfort/­LokiJSgithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationwww.ehcache.org/­documentationgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdtechfort.github.io/­LokiJSwww.xtdb.com/­docs
DeveloperTerracotta Inc, owned by Software AGSoftmotionsJuxt Ltd.
Initial release2009201220142019
Current release3.10.0, March 20221.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoGPLv2Open SourceOpen Source infoMIT License
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaCJavaScriptClojure
Server operating systemsAll OS with a Java VMserver-lessserver-less, requires a JavaScript environment (browser, Node.js)All OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, bool, date, object_idnoyes, 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.nonono
Secondary indexesnonoyes infovia viewsyes
SQL infoSupport of SQLnononolimited SQL, making use of Apache Calcite
APIs and other access methodsJCachein-process shared libraryJavaScript APIHTTP REST
JDBC
Supported programming languagesJavaActionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
JavaScriptClojure
Java
Server-side scripts infoStored proceduresnonoView functions in JavaScriptno
Triggersyes infoCache Event Listenersnoyesno
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 Servernonenoneyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)none
Foreign keys infoReferential integritynono infotypically not needed, however similar functionality with collection joins possiblenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourcenono infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyes
Durability infoSupport for making data persistentyes 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.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.yesyes
User concepts infoAccess controlnonono

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
EhcacheEJDBLokiJSXTDB infoformerly named Crux
DB-Engines blog posts

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

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News



Share this page

Featured Products

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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