Redis vs Elasticsearch

Comparison IndexRedisElasticsearch
IntroductionRedis is in-memory data structure store, used as database, cache and message brokerElasticsearch is a modern search and analytics engine based on Apache Lucene
Primary database modelKey-value storeSearch Engine
DB-Engines RankingScore120.41 Overall Rank #9 Rank in Key-value stores #7Score 120.00 Overall Rank #10 Rank in Search engines #1
Websiteredis.iowww.elastic.co/¬products/¬elasticsearch
Technical documentationredis.io/¬documentationwww.elastic.co/¬guide/¬index.html
Developed BySalvatore SanfilippoElastic
Initial release20092010
Current release4.0.2, September 20175.6.1, September 2017
License infoOpen Source infoOpen Source info
Cloud-based infonono
Implementation languageCJava
Server operating systemsBSD Linux OS X WindowsAll OS with a Java VM
Data schemeschema-freeschema-free
Typingpartialyes
XML supportno
Secondary indexesnoyes
SQLnono
APIs and other access methodsproprietary protocolJava API RESTful HTTP/JSON API
Supported programming languagesC C# C++ Clojure Crystal D Dart Elixir Erlang Fancy Go Haskell Haxe Java JavaScript (Node.js) Lisp Lua MatLab Objective-C OCaml Perl PHP Prolog Pure Data Python R Rebol Ruby Rust Scala Scheme Smalltalk Tcl.Net Clojure Erlang Go Groovy Haskell Java JavaScript Lua Perl PHP Python Ruby Scala
Server-side scriptsLuayes
Triggersnoyes
Partitioning methodsShardingSharding
Replication methodsMaster-slave replicationyes
MapReducenono
Consistency conceptsEventual ConsistencyEventual Consistency
Foreign keysnono

osky