A quick walktrough map-reduce and introduction into the Hazelcast implementation of Google's Whitepaper given at the Hazelcast User Group London on 11th June 2014
Map Reduce in Hazelcast - Hazelcast User Group London Version
1. BIG DATA - FAST DATA
USING MAPREDUCE IN HAZELCAST
Source:
www.hazelcast.com
2. Christoph Engelbert(@noctarius2k)
8+ years of JavaWeirdoness
Performance, GC, traffic topics
Apache Committer
Gaming, TravelManagement, ...
CastMapRMapReduce for Hazelcast3
www.hazelcast.com
24. Dataare mapped /transformed in asetof key-value pairs
SOME PSEUDO CODE (1/3)
MAPPING
map(key:String,document:String):Void->
foreachw:Wordindocument:
emit(w,1)
www.hazelcast.com
25. Multiple values are combined to an
intermediate resultto preserve traffic
SOME PSEUDO CODE (2/3)
COMBINING
combine(word:Word,counts:List[Int]):Void->
emit(word,sum(counts))
www.hazelcast.com
26. Values are reduced /aggregated to the requested result
SOME PSEUDO CODE (3/3)
REDUCING
reduce(word:String,counts:List[Int]):Int->
returnsum(counts)
www.hazelcast.com