摘要: 分布式计算,数据尽量在本地计算,减少网络I/O如果操作之间相互关系不大,则尽量采用分布式计算。spark采用分布式计算中的master-slave模型,master对应含有master进程的节点,slave对应含有worker进程的节点。Client 负责提交应用,driver负责控制应用的执行。基... 阅读全文
posted @ 2015-07-01 22:20 masic 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html1.IntroductionAt times, it is necessary to use native codes (C/C++) ... 阅读全文
posted @ 2015-06-24 17:11 masic 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 来自董飞的回答HBase:是一个高可靠性、高性能、面向列、可伸缩的分布式存储系统,利用HBase技术可在廉价PC Server上搭建起大规模结构化数据集群。像Facebook,都拿它做大型实时应用Facebook's New Realtime Analytics System: HBase to P... 阅读全文
posted @ 2015-06-15 22:52 masic 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 原文链接什么是SparkApache Spark是一个围绕速度、易用性和复杂分析构建的大数据处理框架。最初在2009年由加州大学伯克利分校的AMPLab开发,并于2010年成为Apache的开源项目之一。与Hadoop和Storm等其他大数据和MapReduce技术相比,Spark有如下优势。首先,... 阅读全文
posted @ 2015-06-09 17:56 masic 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 两个帖子: 知乎, Quora@严林 推荐的三篇论文1.Sinfonia: A New Paradigm for Building Scalable Distributed Systems,这篇论文是SOSP2007的Best Paper,阐述了一种构建分布式文件系统的范式方法,个人感觉非常有用。淘... 阅读全文
posted @ 2015-06-01 23:41 masic 阅读(752) 评论(0) 推荐(0) 编辑
摘要: source LinkIntroductionThis is theEntityFrameworkarticle series. In our previous two articles we learned various approaches to working withEntityFrame... 阅读全文
posted @ 2015-05-26 17:20 masic 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 原文链接Pre-RequisitesYou will need to have Visual Studio 2010 or Visual Studio 2012 installed to complete this walkthrough.If you are using Visual Studio... 阅读全文
posted @ 2015-05-17 19:09 masic 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Configure Visual Studio 2013 for debugging .NET frameworkIn order to configure Visual Studio 2013 do the following in the Tools -> Options -> Debuggin... 阅读全文
posted @ 2015-05-08 22:27 masic 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 软件下载1.JDK:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html2. Eclipse:http://www.eclipse.org/downloads/download.php?... 阅读全文
posted @ 2015-04-23 22:16 masic 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 原文地址线程池的应用范围:需要大量的线程来完成任务,且完成任务的时间比较短。 WEB服务器完成网页请求这样的任务,使用线程池技术是非常合适的。因为单个任务小,而任务数量巨大,你可以想象一个热门网站的点击次数。 但对于长时间的任务,比如一个Telnet连接请求,线程池的优点就不明显了。因为Telnet... 阅读全文
posted @ 2015-04-22 20:55 masic 阅读(864) 评论(0) 推荐(0) 编辑