注:本文章是翻译自:Resilient Distributed Datasets: A Fault-Tolerant Abstraction for In-Memory Cluster Computing 概要 我们提出了弹性分布式数据集(Resilient Distributed Datasets...
分类:
其他好文 时间:
2014-09-15 19:07:59
阅读次数:
146
1. 前言 该篇中测试的机器发生了变更,在第一篇中设置的ApacheDocumentRoot "d:/deployment"修改为了DocumentRoot d:/cluster 。这个不影响实际操作,just换了台电脑。 在第一篇中讲了apache整合tomcat的,该篇中将阐述tomc...
分类:
其他好文 时间:
2014-09-15 15:41:29
阅读次数:
291
转自:http://blog.csdn.net/liu_lin_xm/article/details/4850630摘抄“GPU Programming And Cg Language Primer 1rd Edition” 中文 名“GPU编程与CG语言之阳春白雪下里巴人” 算法流程图47展示了使...
分类:
其他好文 时间:
2014-09-14 22:00:17
阅读次数:
284
转自:http://blog.csdn.net/liu_lin_xm/article/details/4850609摘抄“GPU Programming And Cg Language Primer 1rd Edition” 中文 名“GPU编程与CG语言之阳春白雪下里巴人”15.1光线投射算法原理...
分类:
其他好文 时间:
2014-09-14 21:55:07
阅读次数:
286
多台机器\config\elasticsearch.yml 文件修改cluster.name设置统一的集群名如cluster.name: win-es-001node.name 设置当前Node名称node.name: "win-da-013"如果没有办法自发现,可以查看日志,看启动IP是否正确,如...
分类:
其他好文 时间:
2014-09-13 00:37:34
阅读次数:
321
本文原创自 http://blog.csdn.net/voipmaker 转载注明出处。
Redis的HA 目的是当主节点挂掉后,从节点自动升级为主节点。
目前的方案有如下几种:
(1) Redis-cluster内置HA功能,redis 3.0实现了cluster功能,内置HA.
此功能需要在集群模式下才支持,master挂掉后,slave会自动升级为master,对客户端是...
分类:
其他好文 时间:
2014-09-12 23:32:44
阅读次数:
521
Memcachedisahighperformancecentralizedcachesystemthatstoresdataaskey/valuepair.ItisusuallyusedasL2cachethatservesasadatabasefront.However,memcachedlackoffeaturesthattypicalno-sqlstorehas:Dataisstoredinmemoryonly,thereisnodiskpersistenceetc,sodataislostonser..
分类:
其他好文 时间:
2014-09-12 19:20:54
阅读次数:
164
1、垃圾回收在conf/spark-env.sh中添加SPARK_JAVA_OPTS=-verberos:gc -XX;+PrintGCDetails -XX:+PrintGCTimeStamps如果发现集群耗费过多时间在垃圾回收上,可以通过spark.storage.memoryFaction调低...
分类:
其他好文 时间:
2014-09-12 11:35:43
阅读次数:
234
分布式锁的作用 一般来讲,锁的作用是在于解决不同的执行流之间对于同一个资源的竞争而产生的问题。分布式锁的作用就在于解决分布式程序中,分布在不同机器上的执行流对于资源的竞争问题。在mongodb的cluster上,...
分类:
数据库 时间:
2014-09-11 19:38:22
阅读次数:
291
Problem D
FILL
There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the thi...
分类:
其他好文 时间:
2014-09-11 09:42:51
阅读次数:
210