Saved
Software · Systems

Apache Spark

2014

Spark replaces MapReduce’s disk-bound rigidity with memory-resident flexibility—so long as your cluster has enough RAM.

Worth your time?4/5Yes.Study the whole thing.What works, what does not, who it is for ↓
9:54in productionCh. 1 · Origin/ 9:54 · ceiling 15 min
4 chapters · 9:54Ceiling 15:00

The brief is written and checked. The video joins this page when it is cut.4 chapters · 1 min read · 9:54 planned

Read the brief

Spark redefines large-scale data processing by replacing MapReduce’s rigid, disk-bound pipeline with an in-memory, DAG-driven engine built on RDDs. It delivers order-of-magnitude latency reductions for iterative and exploratory workloads—but only when memory capacity matches data scale. It offers no storage, no scheduler, and no security model of its own. Its value is real but bounded: it accelerates what fits in RAM, and nothing else.

Chapters & takeaways4
  1. 1:07
    Origin

    Spark is an open-source analytics engine, born at UC Berkeley in 2009 and donated to Apache in 2013.

  2. 2:41
    The RDD

    RDDs are Spark’s foundational abstraction: fault-tolerant, read-only, distributed data sets acting as a restricted form of shared memory.

  3. 4:16
    Beyond MapReduce

    Spark abandons MapReduce’s linear disk-to-disk flow in favour of DAG-managed, in-memory workflows.

  4. 5:48
    What It Accelerates

    Latency drops by orders of magnitude for iterative and exploratory workloads—but only when data fits in memory.

1 more chapterFewer chapters
Worth your time?

Yes. Study the whole thing.

4/ 5
What works
  • in-memory iterative computation
  • interactive data exploration
  • fault-tolerant cluster programming
What does not
  • replace storage systems
  • provide native resource isolation
  • eliminate disk dependency
  • include built-in security
Study it if
  • engineers building iterative ML pipelines
  • analysts running repeated ad-hoc queries on large datasets
Skip it if
  • teams constrained by memory budget
  • operators needing turnkey multi-tenancy
Who should study it, and who should skipHide who it is for
The written brief1 min read

What it is and the problem it solves

Apache Spark is an open-source unified analytics engine for large-scale data processing. It solves the high-latency bottleneck of Hadoop MapReduce by enabling in-memory computation and arbitrary DAG-based execution.

How it works

Spark uses resilient distributed datasets (RDDs) as its core abstraction: read-only, fault-tolerant collections of data partitioned across cluster nodes. Workflows are compiled into directed acyclic graphs (DAGs), where nodes represent RDDs and edges represent transformations or actions. This avoids MapReduce’s forced disk-to-disk linear pipeline.

What works

Iterative algorithms—like machine learning training loops—and interactive data exploration work significantly faster. Spark’s implicit parallelism and fault tolerance let developers write cluster code without managing low-level distribution logic.

What does not

Spark does not eliminate disk dependency. RDDs are in-memory only by default; persistence must be explicitly configured. It does not replace storage systems, scheduling frameworks, or security layers. It provides no native resource isolation or multi-tenancy.

What it changes

It changes how engineers structure distributed computation: from rigid, stateless batch pipelines to flexible, stateful, multi-stage workflows with shared intermediate data. It moves latency-sensitive analytics from hours to seconds—but only for workloads that fit in cluster memory.

Is it worth your time

Yes—if you run iterative algorithms or exploratory queries on large datasets and can provision memory-heavy clusters. It demands more RAM than MapReduce and offers no built-in storage, so operational cost shifts from I/O to memory management.

Same field · Software4 of 114
9:37
GNU ManifestoRichard Stallman · 1985The GNU Manifesto is not code. It is a deliberate, public, repeatable act of movement-building—written to recruit, not just explain.
9:41
Google Chrome2008Chrome is not a browser that evolved—it is a delivery mechanism for Google’s ecosystem. It succeeded by embedding itself where users already were: Android, search, and cloud services. Its technical innovations (V8, multi-process, Blink) enabled scale—but its real function is alignment: between Google’s services, device platforms, and developer expectations. It trades openness for predictability, and performance for control.
9:14
Apache HBase2006HBase is a wide-column, non-relational, distributed database modelled after Google's Bigtable. It runs on HDFS or Alluxio. It provides fault-tolerant storage for large sparse datasets with fast read/write operations, high throughput, low I/O latency, and CP consistency per the CAP Theorem. It features compression, in-memory operation, and Bloom filters on a per-column basis. Tables can serve as input and output for MapReduce jobs and are accessible via Java API, REST, Avro, or Thrift.
10:04
Android (operating system)2008Android is a Linux-based, open-source mobile OS developed by Google and launched commercially in 2008. It solved platform fragmentation by offering OEMs a free, customisable base—but entrenched Google’s control over app distribution, updates, and services. Its scale is real: 3.9 billion users, dominant on smartphones. Its mechanisms—LTS kernel, ART, Project Mainline—are specific, iterative, and partial fixes. Its failure is systemic: inconsistent updates, vendor lock-in masked as openness, and no path to true interoperability.
Up next in Technology

Apple I

1976 · 9:34

It did not invent the personal computer — it outsourced the enclosure, power, and input, then billed it as progress.

9:34