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

DBMS > Ehcache vs. Memcached vs. MongoDB

System Properties Comparison Ehcache vs. Memcached vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonMemcached  Xexclude from comparisonMongoDB  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsIn-memory key-value store, originally intended for cachingOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelKey-value storeKey-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
Score5.55
Rank#69  Overall
#8  Key-value stores
Score20.81
Rank#32  Overall
#4  Key-value stores
Score424.53
Rank#5  Overall
#1  Document stores
Websitewww.ehcache.orgwww.memcached.orgwww.mongodb.com
Technical documentationwww.ehcache.org/­documentationgithub.com/­memcached/­memcached/­wikiwww.mongodb.com/­docs/­manual
DeveloperTerracotta Inc, owned by Software AGDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalMongoDB, Inc
Initial release200920032009
Current release3.10.0, March 20221.6.23, January 20246.0.7, June 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoBSD licenseOpen 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 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 languageJavaCC++
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
Linux
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 dateyesnoyes 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.no
Secondary indexesnonoyes
SQL infoSupport of SQLnonoRead-only SQL queries via the MongoDB Atlas SQL Interface
APIs and other access methodsJCacheProprietary protocolGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Supported programming languagesJava.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
Actionscript 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
Triggersyes infoCache Event Listenersnoyes infoin MongoDB Atlas only
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServernoneSharding 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 nodesyes infoby using Terracotta Servernone infoRepcached, a Memcached patch, provides this functionallityMulti-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 systemTunable 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 datayes infosupports JTA and can work as an XA resourcenoMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachnoyes 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 controlnoyes infousing SASL (Simple Authentication and Security Layer) protocolAccess rights for users and roles
More information provided by the system vendor
EhcacheMemcachedMongoDB
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 partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

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

More resources
EhcacheMemcachedMongoDB
DB-Engines blog posts

Redis extends the lead in the DB-Engines key-value store ranking
3 February 2014, Matthias Gelbmann

New DB-Engines Ranking shows the popularity of database management systems
3 October 2012, Matthias Gelbmann, Paul Andlinger

show all

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

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Ehcache 3.0 Released with Revamped API and Off-Heap Storage
2 May 2016, InfoQ.com

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

provided by Google News

Amazon ElastiCache now supports Memcached 1.6.22
11 January 2024, AWS Blog

Amazon ElastiCache Serverless for Redis and Memcached is now available | Amazon Web Services
27 November 2023, AWS Blog

Memcached DDoS: The biggest, baddest denial of service attacker yet
1 March 2018, ZDNet

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

What are memcached servers, and why are they being used to launch record-setting DDoS attacks?
6 March 2018, GeekWire

provided by Google News

Amazon DocumentDB (with MongoDB compatibility) supports in-place major version upgrade in AWS GovCloud (US ...
29 February 2024, AWS Blog

MongoDB CEO On New AI, LLMs And GenAI Innovation In 2024
28 February 2024, CRN

Broadcom, Target, MongoDB And Jobs Data: Investing Action Plan
1 March 2024, Investor's Business Daily

MongoDB Atlas expands global reach amid multi-cloud demand surge
4 March 2024, DataCenterNews Asia

Caisse DE Depot ET Placement DU Quebec Sells 5,700 Shares of MongoDB, Inc. (NASDAQ:MDB)
4 March 2024, MarketBeat

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus 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.

Present your product here