HBase, Memcached, MongoDB, Redis和Solr对比

NameHBase  Memcached MongoDB  Redis  Solr   
DescriptionWide-column store based on Apache Hadoop and on concepts of BigTableIn-memory key-value store, originally intended for cachingOne of the most popular document storesIn-memory database with configurable options performance vs. persistencyA widely usedenterprise search engine based onApache Lucene 
DeveloperApache Software FoundationDanga InteractiveMongoDB, IncSalvatore SanfilippoApache Software Foundation 
Initial release20082003200920092004 
LicenseOpen SourceOpen SourceOpen SourceOpen SourceOpen Source 
Implementation languageJavaCC++CJava 
Server operating systemsLinuxLinuxLinuxLinuxAll OS with a Java VM and a servlet container 
UnixUnix   
 OS X OS X 
WindowsWindowsWindowsWindows 
 FreeBSD Solaris BSD 
Database modelWide column storeKey-value storeDocument storeKey-value store Search engine 
Data schemeschema-freeschema-freeschema-freeschema-freeyes 
Typingnonoyesnoyes 
Secondary indexesnonoyesnoyes 
SQLnonononono 
APIs and other access methodsJava APIProprietary protocolproprietary protocol using JSONproprietary protocolJava API 
RESTful HTTP APIRESTful HTTP API 
Thrift  
Supported programming languagesCCCC  
C#.NetC#C#.Net 
C++C++C++C++  
GroovyColdFusionGroovyClojure  
JavaJava JavaJavaJava 
 ErlangErlangErlangErlang 
PythonPython  PythonPythonPython 
ScalaLuaScalaScalaScala 
 Ruby RubyRubyRuby 
 PHPPHPPHP PHPPHP 
   JavaScriptJavaScriptJavaScript 
 PerlPerlPerlPerl 
 OCamlLuaLua any language that supports sockets and either XML or JSON 
  LispLispLisp  
   DartDart  
  ColdFusion   
  GoGo  
   ActionscriptObjective-C  
  HaskellHaskell  
   SmalltalkSmalltalk  
   Clojure Tcl  
  MatLab   
  PowerShell   
  Prolog   
Server-side scriptsyesnoJavaScriptLuaJava plugins 
Triggersyesnononono 
Partitioning methodsShardingnoneShardingnoneSharding 
 
Replication methodsselectable replication factornoneMaster-slave replicationMaster-slave replicationcloud/distributed (via Zookeeper) 
Master-slave replication 
MapReduceyesnoyesnono 
Consistency conceptsImmediate Consistency Eventual Consistency Eventual Consistency 
Immediate Consistency 
Foreign keysnonononono 
Transaction conceptsnononooptimistic lockingoptimistic locking 
 
Concurrencyyesyesyesyesyes 
Durabilityyesnoyesyesyes 
User conceptsAccess Control Lists (ACL)yesUsers can be defined with full access or read-only accessvery 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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值