DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Dgraph vs. Ehcache vs. MongoDB

System Properties Comparison Dgraph vs. Ehcache vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonEhcache  Xexclude from comparisonMongoDB  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSA widely adopted Java cache with tiered storage optionsOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelGraph DBMSKey-value storeDocument store
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.25
Rank#160  Overall
#15  Graph DBMS
Score3.98
Rank#67  Overall
#8  Key-value stores
Score402.51
Rank#5  Overall
#1  Document stores
Websitedgraph.iowww.ehcache.orgwww.mongodb.com
Technical documentationdgraph.io/­docswww.ehcache.org/­documentationwww.mongodb.com/­docs/­manual
DeveloperDgraph Labs, Inc.Terracotta Inc, owned by Software AGMongoDB, Inc
Initial release201620092009
Current release3.10.0, March 20227.0.5, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache Version 2; commercial licenses availableOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.
Cloud-based only infoOnly available as a cloud servicenonono infoMongoDB available as DBaaS (MongoDB Atlas)
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
Implementation languageGoJavaC++
Server operating systemsLinux
OS X
Windows
All OS with a Java VMLinux
OS X
Solaris
Windows
Data schemeschema-freeschema-freeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatial
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.nono
Secondary indexesyesnoyes
SQL infoSupport of SQLnonoRead-only SQL queries via the MongoDB Atlas SQL Interface
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
JCacheGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
JavaActionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
Server-side scripts infoStored proceduresnonoJavaScript
Triggersnoyes infoCache Event Listenersyes infoin MongoDB Atlas only
Partitioning methods infoMethods for storing different data on different nodesyesSharding infoby using Terracotta ServerSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via Raftyes infoby using Terracotta ServerMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyTunable Consistency (Strong, Eventual, Weak)Eventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Foreign keys infoReferential integritynonono infotypically not used, however similar functionality with DBRef possible
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyes infosupports JTA and can work as an XA resourceMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infousing a tiered cache-storage approachyes infooptional, enabled by default
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes infoIn-memory storage engine introduced with MongoDB version 3.2
User concepts infoAccess controlno infoPlanned for future releasesnoAccess rights for users and roles
More information provided by the system vendor
DgraphEhcacheMongoDB
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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 parties
» more

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

More resources
DgraphEhcacheMongoDB
DB-Engines blog posts

DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending
1 May 2025, DB-Engines

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Dgraph on AWS: Setting up a horizontally scalable graph database
1 September 2020, Amazon Web Services (AWS)

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

Graph database reinvented: Dgraph secures $11.5M to pursue its unique and opinionated path
31 July 2019, ZDNET

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

provided by Google News

Fig. 3 Ehcache architecture (http://ehcache.org/documentation)
30 September 2019, ResearchGate

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

Caching challenges and strategies
5 December 2019, Amazon Web Services (AWS)

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

provided by Google News

MongoDB (NasdaqGM:MDB) Sees 21% Stock Rise Over Last Month
14 May 2025, Yahoo Finance

MongoDB Options Trading: A Deep Dive into Market Sentiment
13 May 2025, Nasdaq

MongoDB Stock Analysis: Buy, Hold, or Sell?
6 May 2025, The Motley Fool

MongoDB Announces Acquisition of Voyage AI to Enable Organizations to Build Trustworthy AI Applications
24 February 2025, PR Newswire

MongoDB shares slip following interim CFO resignation
22 April 2025, The CFO

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

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