上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 53 下一页

Clojure常用模块

摘要: http://qiujj.com/static/clojure-handbook.html http://clojure.github.io/clojure/ Base ->, (-> x form & more) http://clojuredocs.org/clojure_core/clojure.core/-%3E 线性化嵌套, 使其更具有可读性, Inserts x as the se... 阅读全文
posted @ 2013-06-04 17:48 fxjwind 阅读(1558) 评论(0) 推荐(0)

Storm-源码分析- Thrift的使用

摘要: 1 IDL 首先是storm.thrift, 作为IDL里面定义了用到的数据结构和service 然后backtype.storm.generated, 存放从IDL通过Thrift自动转化成的Java代码 比如对于nimbus service 在IDL的定义为, service Nimbus { void submitTopology(1: string name, 2:... 阅读全文
posted @ 2013-06-04 16:50 fxjwind 阅读(3977) 评论(5) 推荐(0)

Protocol and DataType

摘要: https://www.ibm.com/developerworks/cn/java/j-clojure-protocols/, 通过 Clojure 1.2 解决表达式问题 http://code.google.com/p/clojure-doc-en2ch/wiki/Chapter_13_Datatypes_and_Protocols, Practical Clojure 表达式问... 阅读全文
posted @ 2013-05-31 14:50 fxjwind 阅读(1112) 评论(0) 推荐(0)

同步和异步, 阻塞和非阻塞, Reactor和Proactor

摘要: http://www.artima.com/articles/io_design_patterns.html http://note.sdo.com/u/1434409594/n/lvRFW~kjR2N0LX0nE004_r http://www.cnblogs.com/xuxm2007/archive/2011/08/15/2139808.html, 图示 我看了些blog, 很少有... 阅读全文
posted @ 2013-05-25 16:56 fxjwind 阅读(1223) 评论(0) 推荐(0)

Storm starter - Overview

摘要: Storm的starter例子, 都给的很有诚意, 不光是例子, 而是可以直接使用在实际的场景里面. 并且提高一些很有用的tool, 比如SlidingWindowCounter, TimeCacheMap 所以starter可以说是提高了基于storm编程的框架, 值得认真研究一下... ExclamationTopology, 基本的Topology 没有什么特别的地方... 阅读全文
posted @ 2013-05-24 18:05 fxjwind 阅读(2089) 评论(1) 推荐(0)

Storm starter - SingleJoinExample

摘要: Storm常见模式——流聚合 Topology 1.定义两个spout, 分别是genderSpout, ageSpout Fields, ("id", "gender"), ("id", "age"), 最终join的结果应该是("id", "gender", "age") 2. 在设置SingleJoinBolt需要将outFields作为参数, 即告诉bolt, join完的结... 阅读全文
posted @ 2013-05-24 10:21 fxjwind 阅读(1696) 评论(0) 推荐(0)

Storm starter - RollingTopWords

摘要: Implementing Real-Time Trending Topics With a Distributed Rolling Count Algorithm in Storm, 图文并茂, 早看到就直接翻译这篇了... 计算top N words的topology, 用于比如trending topics or trending images on Twitter. 实现了滑动窗口... 阅读全文
posted @ 2013-05-22 16:26 fxjwind 阅读(3008) 评论(3) 推荐(1)

RPC综述 - PB, Thrift, Avro

摘要: Apache Avro 与 Thrift 比较, http://www.tbdata.org/archives/1307Thrift vs. Protocol Buffers, http://stuartsierra.com/2008/07/10/thrift-vs-protocol-buffersThrift vs Protocol Buffers vs Avro - Biased Comparison – SlideShareSchema evolution in Avro, Protocol Buffers and Thrift Protocol Buffershttp://code.g 阅读全文
posted @ 2013-05-16 17:25 fxjwind 阅读(9245) 评论(0) 推荐(0)

Thrift

摘要: http://thrift.apache.org/ http://blog.csdn.net/ellios/article/details/6293129, thrift 入门介绍 http://en.wikipedia.org/wiki/Apache_Thrift Thrift: Scalable Cross-Language Services Implementation 对于... 阅读全文
posted @ 2013-05-16 15:48 fxjwind 阅读(1531) 评论(0) 推荐(0)

Schema evolution in Avro, Protocol Buffers and Thrift

摘要: http://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html 当想要数据, 比如对象或其他类型的, 存到文件或是通过网络传输, 需要面对的问题是序列化问题 对于序列化, 当然各个语言都提供相应的包, 比如, Java serialization, Ruby’s ma... 阅读全文
posted @ 2013-05-14 16:32 fxjwind 阅读(1938) 评论(0) 推荐(0)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 53 下一页