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. Elasticsearch vs. Sphinx vs. Tarantool

System Properties Comparison Ehcache vs. Elasticsearch vs. Sphinx vs. Tarantool

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonElasticsearch  Xexclude from comparisonSphinx  Xexclude from comparisonTarantool  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricOpen source search engine for searching in data from different sources, e.g. relational databasesIn-memory computing platform with a flexible data schema for efficiently building high-performance applications
Primary database modelKey-value storeSearch engineSearch engineDocument store
Key-value store
Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMS infowith Tarantool/GIS extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.89
Rank#67  Overall
#8  Key-value stores
Score135.35
Rank#7  Overall
#1  Search engines
Score5.98
Rank#56  Overall
#5  Search engines
Score1.72
Rank#144  Overall
#25  Document stores
#25  Key-value stores
#66  Relational DBMS
Websitewww.ehcache.orgwww.elastic.co/­elasticsearchsphinxsearch.comwww.tarantool.io
Technical documentationwww.ehcache.org/­documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlsphinxsearch.com/­docswww.tarantool.io/­en/­doc
DeveloperTerracotta Inc, owned by Software AGElasticSphinx Technologies Inc.VK
Initial release2009201020012008
Current release3.10.0, March 20228.6, January 20233.5.1, February 20232.10.0, May 2022
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoElastic LicenseOpen Source infoGPL version 2, commercial licence availableOpen Source infoBSD-2, source-available extensions (modules), commercial licenses for Tarantool Enterprise
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 languageJavaJavaC++C and C++
Server operating systemsAll OS with a Java VMAll OS with a Java VMFreeBSD
Linux
NetBSD
OS X
Solaris
Windows
BSD
Linux
macOS
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesFlexible data schema: relational definition for tables with ability to store json-like documents in columns
Typing infopredefined data types such as float or dateyesyesnostring, double, decimal, uuid, integer, blob, boolean, datetime
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 indexesnoyes infoAll search fields are automatically indexedyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLnoSQL-like query languageSQL-like query language (SphinxQL)Full-featured ANSI SQL support
APIs and other access methodsJCacheJava API
RESTful HTTP/JSON API
Proprietary protocolOpen binary protocol
Supported programming languagesJava.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
C
C#
C++
Erlang
Go
Java
JavaScript
Lua
Perl
PHP
Python
Rust
Server-side scripts infoStored proceduresnoyesnoLua, C and SQL stored procedures
Triggersyes infoCache Event Listenersyes infoby using the 'percolation' featurenoyes, before/after data modification events, on replication events, client session events
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerShardingSharding infoPartitioning is done manually, search queries against distributed index is supportedSharding, partitioned with virtual buckets by user defined affinity key. Live resharding for scale up and scale down without maintenance downtime.
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServeryesnoneAsynchronous replication with multi-master option
Configurable replication topology (full-mesh, chain, star)
Synchronous quorum replication (with Raft)
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Eventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allCasual consistency across sharding partitions
Eventual consistency within replicaset partition infowhen using asyncronous replication
Immediate Consistency within single instance
Sequential consistency including linearizable read within replicaset partition infowhen using Raft
Foreign keys infoReferential integritynononoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourcenonoACID, with serializable isolation and linearizable read (within partition); Configurable MVCC (within partition); No cross-shard distributed transactions
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes, cooperative multitasking
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyes infoThe original contents of fields are not stored in the Sphinx index.yes, write ahead logging
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesMemcached and Redis integrationyes, full featured in-memory storage engine with persistence
User concepts infoAccess controlnonoAccess Control Lists
Mutual TLS authentication for Tarantol Enterprise
Password based authentication
Role-based access control (RBAC) and LDAP for Tarantol Enterprise
Users and Roles

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
EhcacheElasticsearchSphinxTarantool
DB-Engines blog posts

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

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Data processing speed and reliability: in-memory synchronous replication
9 November 2021,  Vladimir Perepelytsya, Tarantool (sponsor) 

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

Migration From JBoss 5 to JBoss 7: All It Takes Is 11 Easy Steps
3 June 2021, hackernoon.com

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

provided by Google News

Netflix Uses Elasticsearch Percolate Queries to Implement Reverse Searches Efficiently
29 April 2024, InfoQ.com

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Elastic Reports 8x Speed and 32x Efficiency Gains for Elasticsearch and Lucene Vector Database
26 April 2024, businesswire.com

Elasticsearch Changes Name to Elastic to Reflect Wide Adoption Beyond Search
29 April 2024, Yahoo Singapore News

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Googles Newest Challenger
11 January 2024, Free Press Journal

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

provided by Google News

TaranHouse: New Big Data Warehouse Announced by Tarantool
4 April 2018, Newswire

In-Memory Showdown: Redis vs. Tarantool
1 September 2021, Хабр

Tarantool Announces New Enterprise Version With Enhanced Scaling and Monitoring Capabilities
18 May 2018, Newswire

Deploying Tarantool Cartridge applications with zero effort (Part 1)
16 December 2019, Хабр

Deploying Tarantool Cartridge applications with zero effort (Part 2)
13 April 2020, Хабр

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Present your product here