对比下HBase, Memcached, MongoDB, Redis和Solr
admin
2023-02-08 14:40:03
0

Name

HBase  

Memcached  

MongoDB  

Redis  

Solr  


Description

Wide-column store based on Apache Hadoop and on concepts of  BigTable

In-memory key-value store, originally intended for caching

One of the most popular document stores

In-memory database with configurable options performance vs.  persistency

A widely usedenterprise search engine based onApache  Lucene


Developer

Apache Software Foundation

Danga Interactive

MongoDB, Inc

Salvatore Sanfilippo

Apache Software Foundation


Initial release

2008

2003

2009

2009

2004


License

Open Source

Open Source

Open Source

Open Source

Open Source


Implementation language

Java

C

C++

C

Java


Server operating systems

Linux

Linux

Linux

Linux

All OS with a Java VM and a servlet container


Unix

Unix





OS X


OS X


Windows  

Windows

Windows

Windows



FreeBSD

Solaris

BSD


Database model

Wide column store

Key-value store

Document store

Key-value store

Search engine


Data scheme

schema-free

schema-free

schema-free

schema-free

yes


Typing

no

no

yes

no

yes


Secondary indexes

no

no

yes

no

yes


SQL

no

no

no

no

no


APIs and other access methods

Java API

Proprietary protocol

proprietary protocol using JSON

proprietary protocol

Java API


RESTful HTTP API

RESTful HTTP API


Thrift



Supported programming languages

C

C

C

C



C#

.Net

C#

C#

.Net


C++

C++

C++

C++



Groovy

ColdFusion

Groovy

Clojure



Java

Java

Java

Java

Java



Erlang

Erlang

Erlang

Erlang


Python

Python

 Python

Python

Python


Scala

Lua

Scala

Scala

Scala



Ruby

Ruby

Ruby

Ruby


PHP

PHP

PHP

PHP

PHP




JavaScript

JavaScript

JavaScript



Perl

Perl

Perl

Perl



OCaml

Lua

Lua

any language that  supports sockets and either XML or JSON



Lisp

Lisp

Lisp





Dart

Dart





ColdFusion






Go

Go





Actionscript

Objective-C





Haskell

Haskell





Smalltalk

Smalltalk





Clojure

Tcl





MatLab






PowerShell






Prolog




Server-side scripts

yes

no

JavaScript

Lua

Java plugins


Triggers

yes

no

no

no

no


Partitioning methods

Sharding

none

Sharding

none

Sharding



Replication methods

selectable replication factor

none

Master-slave replication

Master-slave replication

cloud/distributed (via Zookeeper)


Master-slave replication


MapReduce

yes

no

yes

no

no


Consistency concepts

Immediate Consistency


Eventual Consistency


Eventual Consistency


Immediate Consistency


Foreign keys

no

no

no

no

no


Transaction concepts

no

no

no

optimistic locking

optimistic locking



Concurrency

yes

yes

yes

yes

yes


Durability

yes

no

yes

yes

yes


User concepts

Access Control Lists (ACL)

yes

Users can be defined with full access or read-only access

very simple password-based access control



Specific characteristics




Redis very much emphasize performance. In any design decisions  performance has priority over features or memory requirements.

Architecture: Lives in web stack, ships by default with Jetty.  Connectors, JDBC, multiple languages, true morphological CJK, binary document  filters (Tika), Entity Extraction (UIMA)


Typical application scenarios


Mostly used for caching


Applications that can hold all data in memory, and that have  high performance requirements.




相关内容

热门资讯

今日重大发现“天天九州麻将.有... 网上科普关于“天天九州麻将有没有挂”话题很是火热,小编也是针对天天九州麻将作*弊开挂的方法以及开挂对...
年终好物清单:这台255g的旗... 在“大屏即正义”的数码潮流里,我们似乎习惯了为了更大的显示面积而牺牲手腕的舒适度。但当我们冷静下来审...
【第一资讯】“宁波游戏大厅.有... 有 亲,根据资深记者爆料宁波游戏大厅是可以开挂的,确实有挂(咨询软件无需...
终于懂了“快乐打筒子.到底有挂... 家人们!今天小编来为大家解答快乐打筒子透视挂怎么安装这个问题咨询软件客服徽9752949的挂在哪里买...
【今日要闻】“国民麻将.开挂器... 网上科普关于“国民麻将有没有挂”话题很是火热,小编也是针对国民麻将作*弊开挂的方法以及开挂对应的知识...
重磅消息“飞鹰互娱.到底有挂吗... 您好:飞鹰互娱这款游戏可以开挂,确实是有挂的,需要了解加客服微信【9784099】很多玩家在这款游戏...
今日重大发现“功夫熊猫炸金花.... 今日重大发现“功夫熊猫炸金花.怎么装挂?”外卦神器下载您好,功夫熊猫炸金花这个游戏其实有挂的,确实是...
玩家攻略科普“上海敲麻.可以开... 网上科普关于“上海敲麻有没有挂”话题很是火热,小编也是针对上海敲麻作*弊开挂的方法以及开挂对应的知识...
今日重大发现“乐驿茶坊.到底是... 有 亲,根据资深记者爆料乐驿茶坊是可以开挂的,确实有挂(咨询软件无需打开...
我来教教您“情怀古诗词.是不是... 您好:情怀古诗词这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款游...