<!--StartFragment-->HA介绍<!--EndFragment--> ...
分类:
其他好文 时间:
2018-04-01 22:59:59
阅读次数:
257
Redis 多主写多从度 配置启动OK ;直接配 keepalived 相关配置; 检测监控 redis_backup.sh,redis_check.sh,redis_fault.sh redis_master.sh,redis_stop.sh脚本默认 /etc/keepalived/script ...
分类:
其他好文 时间:
2018-03-30 16:18:29
阅读次数:
242
Redis 主从不再重复默认路径 :/usr/local/redis keepalived 默认/etc/keepalived检测监控 redis_backup.sh,redis_check.sh,redis_fault.sh redis_master.sh,redis_stop.sh脚本默认 /etc/keepalived/script iptables 设置添加 需要开放的
分类:
其他好文 时间:
2018-03-29 17:24:17
阅读次数:
452
Flink的Fault Tolerance,是在在Chandy Lamport Algorithm的基础上扩展实现了一套分布式Checkpointing机制,这个机制在论文"Lightweight Asynchronous Snapshots for Distributed Dataflows"中进 ...
分类:
其他好文 时间:
2018-03-28 23:57:57
阅读次数:
933
从分布式系统的CAP理论出发,关注分布式一致性,以及区块链的共识问题及解决。 区块链首先是一个大规模分布式系统,共识问题本质就是分布式系统的一致性问题,但是又有很大的不同。工程开发中,认为系统中存在故障(fault),但不存在恶意(corrupt)节点,而区块链,特别是公开链是落地到物理世界中,涉及 ...
分类:
编程语言 时间:
2018-03-26 00:48:34
阅读次数:
206
One man's fault is another man's lesson. 前车之覆,后车之鉴。 We make mistakes every day, large or small, failures or faux pas. But failure and mistakes still d ...
分类:
其他好文 时间:
2018-03-20 10:36:55
阅读次数:
132
program 11.fault:没有判断i=0的情况2.不会执行fault的例子:x=null y=23.执行fault但是不会造成error的例子:x={1} y=24.造成error但没有造成failure的例子:x={1,2,3} y=2 program 21.fault:输出的是数组里第一 ...
分类:
其他好文 时间:
2018-03-16 00:18:16
阅读次数:
126
Fault: 可能导致程序失败的因素,可理解成具体的代码。 Error: 在程序运行过程中与设计时的预先设想不一致的情况,如变量值错误,错误的运行路径等。 Failure: 当一程序不能完成所要求的功能时,即失败。 函数findLast: 在边界判断时出错 在i=0 时退出循环,没有检验第一个int ...
分类:
其他好文 时间:
2018-03-16 00:13:15
阅读次数:
233
1.在第一个program中,循环语句的:i>0应该改正为i>=0 第二个program的循环条件有错,应该改为:for(int i=x.length-1;i>=0;i--) 2.第一个program中,x为空数组 同理,第二个program中,x也为空数组 3.第一个program中,x=[1,2 ...
分类:
其他好文 时间:
2018-03-15 01:43:55
阅读次数:
230
a)相关定义: Software Fault : A static defect in the software Software Failure : External, incorrect behavior with respect to the requirements or other des ...
分类:
其他好文 时间:
2018-03-12 18:42:22
阅读次数:
114