52 Big Data Fundamentals
More
Depth: Practitioner
Progress saves as you read. Mark sections complete as you go; your progress appears in the sidebar.
52.1 Begin With One Day of Device Records
This section: Begin With One Day of Device Records — Telemetry means records sent from a system so its state can be watched.
Telemetry means records sent from a system so its state can be watched. Picture ten thousand meters that each send a small reading once a minute. The first choice is not a brand of data tool. It is the work the records must support and the time, quality, and keep rules that work needs.
Count devices, bytes per record, and records per hour. Add late, repeated, and missing events. Mark which time comes from the device and which comes from arrival. Then follow one record through intake, check, store, query, and removal. Test a burst, a slow stage, a bad clock, and a lost link. Record what waits, what is dropped, and how the team knows.
Keeping more can help later study, but it raises cost, privacy, and search load. Fast intake can protect fresh work, but it may pass poor data unless checks keep up. A large count alone does not make a sound design. For meter-data intake, size the stages and choose controls; check event time, state, replay, backpressure, and recovery before accepting the result.
52.2 Start With the Story
This section: Start With the Story — A field reading becomes useful when its treatment and the resulting alert can be traced to the original record.
A field reading becomes useful when its treatment and the resulting alert can be traced to the original record.
-
An operations team reviews messy data from a field device.
-
An analysis may change an alert before anyone can explain it.
-
Keep the observed data and each treatment visible.
-
Act only when an operator can trace and trust the result.
52.3 Big Data as Engineering Contract
This section: Big Data as Engineering Contract — Big data in IoT is not just a synonym for a large database.
Big data in IoT is not just a synonym for a large database. It describes a workload whose size, arrival rate, format mix, quality risk, and decision value shape the architecture. A temperature history table, a vibration stream, a fleet of camera summaries, and a connected-vehicle telemetry feed can all be "big" for different reasons.
Where the Flood Comes From
Big data did not start big. Figure 52.1 shows the world it replaced: three information services, each with its own dedicated delivery network and its own physical medium.
The lane worth pausing on in Figure 52.1 is the bottom one: the Broadcast network transmits one way only, which is why its receiver card simply shows the programme while the computer and telephone lanes exchange traffic in both directions. The THE TRADE-OFF card underneath states the economics that killed this model — every new service, IoT telemetry included, would have demanded yet another dedicated build.
Convergence answers that trade-off. In Figure 52.2 the same endpoints — now joined by IoT sensors — share a single IP network, and the centre of the diagram shows what that sharing physically means.
Look inside the Converged IP network block of Figure 52.2: the interleaved packet strip is the whole story, because congestion in the pipe touches all four services at once. The trade-off flipped rather than vanished — separate networks wasted capacity, the converged network shares fate, and the IoT platform at the lower right now competes with video for the same pipe. Prioritisation therefore appears in the figure as a design duty, not an optional extra.
Once every service travels as digital traffic, the stored record of the world turns digital too. Figure 52.3 puts measured numbers on how quickly that happened.
Hold the two end columns of Figure 52.3 against each other: 1986 stored 2.6 EB in total, 99 % of it analog, while 2007 stored digital 280 EB against analog 19 EB — roughly a hundredfold expansion in which the digital share crossed 50 % only in 2002. Sensor fleets extend exactly this curve, which is why the rest of this chapter turns the vocabulary of scale into an engineering contract instead of a slogan.
The common shorthand is the 5 Vs: volume, velocity, variety, veracity, and value. They become useful when each V turns into a design requirement. Volume asks how many bytes and records must be retained. Velocity asks how quickly events arrive and how soon they must affect a decision. Variety asks how many schemas, units, media types, and device models must be combined. Veracity asks how the system handles missing, duplicated, noisy, late, or drifting data. Value asks what decision justifies the cost.
A useful IoT big-data statement is specific: "10,000 sensors publish one 80-byte reading per second; operations needs one-minute alerts, 30 days of raw replay, and one year of hourly aggregates." That statement is easier to design from than "we have lots of data."
Use the five-V diagram in Figure 52.4 to turn the familiar vocabulary into a review of the system's actual pressures.
Read Figure 52.4 around the centre, not as a ranking. Volume becomes bytes, record counts, and retention time. Velocity joins arrival rate to the decision deadline. Variety exposes schemas, units, and media that must agree before analysis. Veracity asks how missing, noisy, late, or drifting readings are handled. Value comes last because a decision or saved cost must justify the pipeline. The lower path turns those questions into ingest, quality, retention, and outcome requirements. A team can now test each pressure against the specific workload stated above instead of claiming that its data is merely “big.”
52.4 When the Source Uses Seven Vs
This section: When the Source Uses Seven Vs — The NPTEL source uses a seven-V vocabulary: volume, velocity, variety, variability, veracity, visualization, and value.
The NPTEL source uses a seven-V vocabulary: volume, velocity, variety, variability, veracity, visualization, and value. Its two additional labels make useful review questions without replacing this chapter’s five-part engineering contract. Variability asks whether meaning changes with context, as it can for language, hashtags, geospatial data, multimedia, or sensor events. Visualization asks whether a pictorial or graphical presentation helps a decision-maker see an analytic result or pattern. In this chapter’s workflow, record variability under the schema-and-context work prompted by variety, and treat visualization as a delivery check between analysis and decision. The important evidence is the requirement each label exposes, not whether a team says “five” or “seven.”
Volume
How many records and bytes arrive, and how long raw, cleaned, and aggregated data must be retained.
Velocity
How quickly events arrive, queue, and need to be transformed into alerts, dashboards, or control actions.
Variety
The mix of MQTT payloads, JSON logs, binary samples, Parquet batches, images, device metadata, and units.
Veracity
The trust controls for duplicates, gaps, calibration drift, schema drift, outliers, and late-arriving events.
Value
The operational decision: detect faults, reduce energy use, schedule maintenance, document compliance, or improve a product.
Overview Knowledge Check
52.5 Size Pipeline Before Tools
This section: Size Pipeline Before Tools — Start with the event contract: timestamp, device id, schema version, units, quality flags, and payload size.
Start with the event contract: timestamp, device id, schema version, units, quality flags, and payload size. Then size the pipeline from the outside in. MQTT, HTTP, or gateway protocols deliver events to an ingestion service; Apache Kafka or a cloud equivalent buffers and partitions streams; Spark Structured Streaming, Apache Flink, or a managed stream processor computes windows; curated data lands in a time-series database, lakehouse table, or object store such as Parquet files in cloud storage.
The tool names matter only after the workload is sized. A small campus deployment may work with a time-series database and nightly Parquet export. A regional fleet may need Kafka partitions, schema registry, stream processors, and a raw/curated data lake. The design mistake is choosing a large stack because the phrase "big data" sounds impressive, or choosing a single server when the rate and retention math already shows a distributed workload.
Worked example: rate, volume, and retention fleet size: 10,000 sensors publish rate: 1 reading per second per sensor payload after protocol parsing: 80 bytes per reading events per second: 10,000 sensors * 1 reading/s = 10,000 events/s ingest bytes per second: 10,000 events/s * 80 bytes = 800,000 bytes/s 800,000 bytes/s = 0.8 MB/s using decimal units daily raw volume: 0.8 MB/s * 86,400 s/day = 69,120 MB/day = 69.12 GB/day 30-day raw retention: 69.12 GB/day * 30 = 2,073.6 GB, or about 2.07 TB hourly aggregate retention: 10,000 sensors * 24 hourly records/day * 120 bytes = 28,800,000 bytes/day 28,800,000 bytes/day = 28.8 MB/day design implication: Keep raw records for replay and debugging while they are operationally useful. Keep compact aggregates much longer for dashboards, reports, and trend models.
Partitioning is part of the data model. Kafka partitions, Parquet folder layout, and database shard keys should spread load across time and devices. A poor key can create a hot partition even when the total cluster size looks adequate.
Practitioner Knowledge Check
52.6 Time, State, and Backpressure
This section: Time, State, and Backpressure — At scale, IoT big-data errors often come from timing and state rather than from the storage engine itself.
At scale, IoT big-data errors often come from timing and state rather than from the storage engine itself. Devices report event time, gateways add arrival time, brokers preserve ordering only within a partition, and stream processors must decide when a window is complete. Late events, clock skew, duplicate retries, and out-of-order batches can make a dashboard or alert incorrect unless the pipeline treats time as part of the data contract.
Watermarks tell a stream processor how long to wait for late data before closing a window. Idempotent writes keep retries from double-counting the same reading. Schema evolution rules prevent a new firmware version from silently breaking downstream jobs. Backpressure tells upstream components that the sink is slower than the source so the system can buffer, scale, sample, or shed noncritical work instead of failing unpredictably.
Worked example: velocity and backpressure gateway ingest rate: 12,000 events/s current sink write rate: 9,000 events/s backlog growth: 12,000 - 9,000 = 3,000 events/s after 10 minutes: 3,000 events/s * 600 s = 1,800,000 queued events if each event averages 120 bytes after enrichment: 1,800,000 * 120 bytes = 216,000,000 bytes, or 216 MB design implication: A short sink slowdown can create a large queue. The pipeline needs lag alarms, autoscaling rules, replay capacity, and a policy for dropping or downsampling noncritical streams before critical alerts are affected.
Event Time
The timestamp when the reading was measured. Use it for physical windows, trends, and anomaly evidence.
Arrival Time
The timestamp when the platform received the event. Use it for lag monitoring and operations.
Watermark
The processor's estimate that older late events are unlikely enough to close a window.
Idempotency
A write design where replaying the same event does not create duplicate facts or double-counted totals.
Under the Hood Knowledge Check
52.7 Summary
This section: Summary — Big data in IoT is an engineering contract about rate, size, format, quality, and decision value.
Big data in IoT is an engineering contract about rate, size, format, quality, and decision value. The 5 Vs are useful when they become concrete numbers and controls: bytes per event, events per second, retention windows, schema versions, quality flags, event-time handling, and the operational decision the data supports. A good design sizes the workload first, then chooses tools such as MQTT, Kafka, Spark Structured Streaming, Flink, Parquet, object storage, lakehouse tables, or a time-series database to match the required latency and retention.
Do not call a workload “big data” and jump straight to a stack. Calculate event rate, daily volume, retention, aggregate size, late-data behavior, and backpressure limits. Those numbers determine whether the system needs a simple database, a stream buffer, a distributed processor, a lakehouse, or a combination of all four.
52.8 See Also
This section: See Also
Big Data Technologies
Compare IoT big-data technologies for ingestion, brokers, storage, stream processing, batch jobs, analytics, governance, and operational fit.
Big Data Pipelines
Design big-data pipelines for IoT ingestion, buffering, transformation, enrichment, storage, stream processing, quality checks, and evidence handoff.
Big Data Operations
Operate IoT big-data systems with ingestion checks, storage lifecycle, schema control, observability, cost, reliability, governance, and retests.
Big Data Edge Processing
Explain edge processing for IoT big data through local filtering, aggregation, compression, latency control, bandwidth limits, and cloud handoff.
Find help
3 reviewed answers.
Where should I start in a module?
Open the module page from the sidebar to see its chapters in order. Use the module map to return to a topic you need.
Modules and pathsReviewed
What can I try when a project does not work?
Check the symptom, then work through the diagnostic steps. Keep the error message and the smallest example that reproduces it.
When you are stuckReviewed
How do interactive examples work?
Use the interactive guide to check how examples and simulations work before changing your project.
Interactive examples guideReviewed
