码迷,mamicode.com
首页 >  
搜索关键字:replicas    ( 222个结果
使用HashRing实现python下的一致性hash
import md5 class HashRing(object): def __init__(self, nodes=None, replicas=3): """Manages a hash ring. `nodes` is a list of objects that have a proper __str__ representation. ...
分类:编程语言   时间:2015-06-06 10:42:32    阅读次数:1235
Kafka系列(二)特性和常用命令
Kafka中Replicas复制备份机制 kafka将每个partition数据复制到多个server上,任何一个partition有一个leader和多个follower(可以没有),备份的个数可以通过broker配置文件来设定(replication-factor的参数配置指定).leader处...
分类:其他好文   时间:2015-03-16 22:45:56    阅读次数:302
在ElasticSearch中,集群(Cluster),节点(Node),分片(Shard),Indices(索引),replicas(备份)之间是什么关系?
最近在知乎上看到了这个问题,自己也搞了半学期的Elasticsearch,于是就想用自己所知道的浅陋知识来回答一下这个问题。Cluster包含多个node,Indices不应该理解成动词索引,Indices可理解成关系数据库中的databases,Indices可包含多个Index,Index对应关...
分类:其他好文   时间:2015-03-15 13:41:56    阅读次数:221
HOW TO RECOVER BRICKED FAKE FT232
本文转载于google搜索内容。First off, I’m against piracy in software and hardware. I understand FTDI trying to protect themselves from piracy and fake replicas. ...
分类:其他好文   时间:2015-01-19 12:14:28    阅读次数:230
Memcached 一致性hash分布式算法
1 _hasher = $hash ? $hash : new Crc32HashWay(); 41 if(!empty($replicas))$this->_replicas = intval($replicas); 42 } 43 44 ...
分类:编程语言   时间:2015-01-16 18:56:36    阅读次数:203
php memcached 一致性hash
<?php /** *一致性hahs实现类 * */ classFlexiHash{ /** *varint *虚拟节点 */ private$_replicas=200; /** *使用hash方法 */ private$_hasher=null; /** *真实节点计数器 * */ private$_targetCount=0; /** *位置对应节点,用户lookup中根据位置确定要访问的节点 */ privat..
分类:Web程序   时间:2014-12-19 19:16:41    阅读次数:198
执行redis-trib.rb时遇到的问题
redis-trib.rb是Redis Cluster的一个常用工具。下面记录了执行此命令时遇到的一系列错误。 [plain]?view plaincopyprint? redis-trib.rb?create?--replicas?1??127.0.0.1:7379?127.0.0.1:7380?127.0.0.1...
分类:其他好文   时间:2014-12-15 17:28:46    阅读次数:1053
Cassandra中的数据一致性
Cassandra中数据一致性指的是数据行在各个复制节点(replicas)上的更新和同步程度。通过提供tunable consistency,Cassandra扩展了eventual consistency的概念。针对任何读或写操作,客户端根据对反应时间和数据准确性的要求来决定数据的一致性程度(....
分类:其他好文   时间:2014-09-12 16:49:13    阅读次数:184
All about Eve: Execute-Verify Replication for Multi-Core Servers
本文理解来自论文All about Eve: Execute-Verify Replication for Multi-Core Servers Eve是为了适应多核服务器而诞生的distributed replication方案。State machine replication旨在实现fault tolerance。由于让所有的replicas执行一样顺序的请求很困难,Eve采取...
分类:其他好文   时间:2014-09-07 21:14:05    阅读次数:301
目前配过的规模最大的HDFS
Configured Capacity: 249915348971520 (227.30 TB) Present Capacity: 153799153632972 (139.88 TB) DFS Remaining: 153799146688512 (139.88 TB) DFS Used: 6944460 (6.62 MB) DFS Used%: 0.00% Under replicated blocks: 0 Blocks with corrupt replicas: 0 Missing blocks...
分类:其他好文   时间:2014-09-05 10:03:11    阅读次数:257
222条   上一页 1 ... 20 21 22 23 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!