<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mapreduce on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/mapreduce/</link><description>Recent content in Mapreduce on Java &amp; Software Architecture Knowledge Hub</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright><atom:link href="https://samirsahoo.github.io/design-patterns-hub/tags/mapreduce/index.xml" rel="self" type="application/rss+xml"/><item><title>Batch Processing: Unix Pipes, MapReduce and Dataflow Engines</title><link>https://samirsahoo.github.io/design-patterns-hub/data-systems/batch-processing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/data-systems/batch-processing/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;There are three broad kinds of system:&lt;/p&gt;&#10;&lt;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Kind&lt;/th&gt;&#10; &lt;th&gt;Input&lt;/th&gt;&#10; &lt;th&gt;Measured by&lt;/th&gt;&#10; &lt;th&gt;Example&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;Services&lt;/strong&gt; (online)&lt;/td&gt;&#10; &lt;td&gt;A request; respond quickly&lt;/td&gt;&#10; &lt;td&gt;Response time, availability&lt;/td&gt;&#10; &lt;td&gt;A REST API&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;Batch processing&lt;/strong&gt; (offline)&lt;/td&gt;&#10; &lt;td&gt;A large, &lt;strong&gt;bounded&lt;/strong&gt; dataset; runs for minutes or hours&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;Throughput&lt;/strong&gt;&lt;/td&gt;&#10; &lt;td&gt;Nightly reports, search index builds, ML training sets&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;Stream processing&lt;/strong&gt; (near-real-time)&lt;/td&gt;&#10; &lt;td&gt;&lt;strong&gt;Unbounded&lt;/strong&gt; events, processed shortly after they happen&lt;/td&gt;&#10; &lt;td&gt;Latency and throughput&lt;/td&gt;&#10; &lt;td&gt;Fraud detection, live dashboards&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;A &lt;strong&gt;batch job&lt;/strong&gt; reads a fixed set of input files, computes, and writes output files. Nobody waits for it interactively, so it can be optimised for throughput and retried freely when it fails.&lt;/p&gt;</description></item></channel></rss>