Back to website
Mayank Aggarwal Learning Center

Phase 04 · Data Engineering & Big DataLesson 1 of 4

What is Big Data?

When data outgrows one machine, and what changes when it does.

  • 19:18 video
  • 2 min read
  • Beginner
01

The problem

A spreadsheet handles thousands of rows. A laptop database handles millions. But what about the billions of clicks a shopping site records every day, or years of sensor readings from a factory? When data outgrows a single machine, you're in the world of big data, and the way you store and process it has to change.

02

The concept

When does data become "big"?#

There's no exact number. Data is "big" when it's too large, too fast or too varied for traditional single-machine tools to handle in reasonable time. Typical signs:

  • A query that takes hours, or a file that won't fit in memory
  • Data arriving continuously (streams) rather than in occasional batches
  • A mix of tables, logs, JSON, images and text that doesn't fit one neat schema

The core idea: distribute the work#

Instead of buying one enormous computer (scaling up), big data systems split the work across many ordinary machines (scaling out).

Two ways to handle more data

Scaling up

  • Buy one enormous computer

Scaling out

  • Split the work across many ordinary machines
  • The approach big data systems take

The key technologies#

TechnologyWhat it does
HDFS (Hadoop)Distributed storage: splits huge files into blocks spread across many machines, with copies for safety
MapReduceThe original model for distributed processing: map work out to machines, reduce the results
Apache SparkFast, in-memory distributed processing; the modern standard for large-scale data work
KafkaHandles real-time streams of events (clicks, payments, sensor data)
Cloud warehousesBigQuery, Synapse, Snowflake: SQL over huge datasets without managing servers

A tiny taste of Spark#

Spark lets you write code that looks like normal data processing, and it handles the distribution for you:

Python
from pyspark.sql import SparkSession

spark = SparkSession.builder.appName("sales").getOrCreate()
df = spark.read.csv("sales/*.csv", header=True, inferSchema=True)

(df.groupBy("country")
   .sum("revenue")
   .orderBy("sum(revenue)", ascending=False)
   .show(5))

The same code works whether sales/ holds 10 MB on your laptop or 10 TB on a cluster.

Why AI engineers should care#

Machine learning models and RAG systems are only as good as their data. Recommendation engines, fraud detection and analytics dashboards all depend on pipelines that collect, clean and serve huge volumes of data reliably. Understanding these pipelines makes you far more effective when your AI project meets real-world data volumes.

03

Try it

Your task · about 10 minutes

Estimate how much data a food-delivery app creates in a day: orders, GPS pings, clicks. When does one laptop stop being enough?

04

Recap & next

Key takeaways

  1. Big data is data too large, fast or varied for traditional single-machine tools.
  2. The solution is distributed systems: storage and computation spread across many machines.
  3. Hadoop introduced distributed storage (HDFS); Apache Spark made distributed processing fast and in-memory.
  4. AI models depend on these pipelines to get clean, timely data.

Quick check

2 questions · instant feedback

1Big data systems handle scale mainly by…
2Apache Spark is primarily used for…

Finished this lesson?

Mark it complete to track your progress and keep your streak going.

Next