You build a big data architecture by treating it as a data supply chain rather than a pile of tools: define the questions and service levels first, then lay down ingestion, storage, processing, and serving layers that each have an owner, a schema contract, and a measurable promise. The key condition is scale—this layered approach pays off when data volume, variety, or arrival rate breaks what a single database and nightly batch job can handle. For a few gigabytes refreshed daily, a well-tuned relational database and a scheduler are cheaper and easier. The plan below assumes you've crossed that threshold or can see it coming within a year.

Start With Decisions and Service Levels, Not Technology

The most common failure in big data projects is choosing a stack before knowing what it must answer. A useful exercise is to write down the five to ten decisions the system will support—fraud scoring at transaction time, weekly cohort retention, equipment failure prediction—and for each one record:

Latency budget: must the answer arrive in milliseconds, minutes, hours, or overnight? Freshness requirement: how stale can the underlying data be? Accuracy tolerance: is an approximate count acceptable, or must totals reconcile to the ledger? Retention window: how far back must queries reach, and how fast must old data be deletable? Consumers: dashboards, APIs, machine-learning models, or downstream teams?

These five attributes drive almost every later choice. A fraud score that must land in 40 milliseconds forces a different serving path than a monthly finance report. A retention rule that says "delete customer records within 30 days of a request" forces you to design deletion into storage rather than bolt it on.

Define service levels for the platform itself too: ingestion lag (the gap between an event occurring and being queryable), pipeline success rate, and query response time at the 95th percentile. Make them explicit numbers with owners so you can tell later whether the architecture works.

Academic and industry frameworks converge on similar layer models—often summarized as ingestion, storage, processing, and serving, with governance and operations cutting across all of them. What matters is that each boundary has a contract: a schema, a freshness guarantee, and a named owner.

Choose the Ingestion Pattern Before the Database

Ingestion is where most architectures either earn their reliability or quietly rot. Sort your sources into three families and handle each deliberately.

Batch sources—database extracts, nightly file drops, third-party feeds—arrive on a schedule. Load them into a landing area first, unchanged, before any transformation. That raw copy is your replay button: if a transformation has a bug, you reprocess from the landing zone instead of asking a partner to resend data.

Streaming sources—application events, clickstreams, sensor telemetry—arrive continuously. The durable pattern is to publish them to a log or queue that retains data for days, so downstream consumers can fail and catch up without losing events. Whether you use a managed event-streaming service or a self-hosted log, the principle is the same: the stream is the system of record for "what happened," and consumers read at their own pace.

Change data capture (CDC) sits between the two. Rather than polling a production database with SELECT * WHERE updated_at > last_run—which misses hard deletes and strains the source—read the database's change log and emit each insert, update, and delete as an event. This gives you near-real-time replication with far less load on the transactional system. CDC has real operational costs: schema changes in the source can break the feed, and you need monitoring for lag and for dropped events.

A practical success check: for each source, you should be able to answer "if this pipeline were down for 24 hours, could we fully recover without the source resending anything?" If yes, your landing and retention design is sound.

Record a schema contract at the ingestion boundary. Even schema-on-read systems benefit from documented expectations—field meanings, nullability, units—because contracts are what let ten teams share data without constant breakage.

Design Storage as Zones With a Lifecycle

Big data storage is usually organized into zones that mirror increasing refinement:

1: Raw or landing zone: source-faithful copies, append-only, retained for replay and audit. 2: Cleaned or conformed zone: deduplicated, typed, validated data in open formats, partitioned for efficient reads. 3: Curated or serving zone: modeled tables, aggregates, and feature sets shaped for specific consumers.

The technical core of the middle zone in most modern stacks is object storage plus an open table format—such as Apache Iceberg, Apache Hudi, or Delta Lake—that adds transactions, schema evolution, and time travel on top of plain files. This combination decouples storage from compute: multiple engines can read the same tables, and you can scale each independently. It also makes the raw zone genuinely cheap to keep, since object storage costs a fraction of block storage on a cluster.

Partitioning and file sizing are where storage design meets query performance. Partition on the columns consumers filter by most—usually date, sometimes region or tenant—and avoid over-partitioning into millions of tiny files, which slows every engine. A common target is files in the hundreds-of-megabytes range, compacted periodically. Small-file accumulation from streaming writes is one of the most frequent operational problems in these systems; schedule compaction as a standing job, not an emergency fix.

Put a lifecycle policy on every zone: how long raw data lives, when it moves to cheaper tiers, and how deletion requests propagate. If regulations require deleting individual records, verify that your table format and your backups both honor deletion—otherwise "deleted" data lingers in snapshots.

Match the Processing Engine to the Job

Three processing shapes cover most needs, and they are not interchangeable:

Workload shape Typical need Suitable engine class Watch-outs
Batch transformation Recompute large history nightly Distributed batch SQL/DataFrame engines Cost of full recompute; skew in joins
Stream processing Per-event enrichment, alerting, near-real-time aggregates Stream processors with event-time windows Late/out-of-order events; state size
Ad hoc and interactive Analyst exploration, dashboard queries Warehouse-style query engines over open tables Concurrency limits; scan costs

Batch engines shine when you can tolerate hours of latency and want simple, replayable logic. Stream processors handle unbounded input and must reason about event time versus processing time—events arrive late, and your windowing logic has to decide how long to wait before finalizing a result. That "allowed lateness" setting is a business decision, not a default; a 10-minute wait may be fine for dashboards and unacceptable for fraud alerts.

A useful discipline is to write transformations as declarative SQL or well-tested code with explicit input and output tables, so each job is reproducible and testable in isolation. Avoid embedding business logic inside orchestration scripts. Orchestrators should schedule and monitor; they shouldn't compute.

For a concrete sizing illustration (inputs labeled as illustrative): suppose you ingest 2 TB of compressed events per day and your batch engine processes at roughly 50 MB per second per worker core for this workload. A full daily pass needs about 2,000,000 MB ÷ 50 MB/s ≈ 40,000 core-seconds, or about 11 core-hours—trivial. But if analysts trigger that full recompute 20 times a day on interactive queries, you're at 220 core-hours daily, and the architecture should instead materialize aggregates. The arithmetic, not the vendor, tells you where to invest.

Serve Data Through Contracts, Not Screens

The serving layer is where architecture becomes visible to users, and where unmanaged sprawl begins. Three delivery styles usually coexist:

BI and dashboards reading curated aggregate tables, refreshed on a schedule. APIs exposing specific entities or metrics with defined latency and rate limits. Feature pipelines feeding machine-learning models, requiring point-in-time correctness so training data doesn't leak future information.

Publish datasets as products with owners, documentation, freshness indicators, and versioned schemas. A consumer should be able to see, before querying, when the table last updated and what its columns mean. This sounds bureaucratic; in practice it's the difference between a platform five teams trust and a swamp everyone queries cautiously.

Keep a semantic layer—metric definitions in one place—so "active customer" means the same thing in every dashboard. Divergent metric definitions are among the most expensive data problems because they erode trust silently.

Make Governance and Security Load-Bearing

Governance fails when it's a committee rather than a mechanism. Build these into the platform itself:

Catalog and lineage: a searchable inventory of datasets with column-level lineage, so impact analysis before a schema change is a query, not a meeting. Access control: role-based or attribute-based permissions enforced at the storage and query layer, with column masking for sensitive fields. Data quality checks: automated assertions on row counts, null rates, referential integrity, and freshness, with alerts routed to owners. Run checks at zone boundaries. Privacy controls: classification of personal data, encryption at rest and in transit, and auditable access logs.

A specific check that catches many incidents: compare yesterday's row count for each core table against a rolling seven-day median and alert when the deviation exceeds, say, 30 percent. A pipeline that silently loads zero rows is more common than dramatic failures.

Operate for Failure: Monitoring, Cost, and Stop Conditions

Distributed systems fail partially and constantly. Design for it:

Idempotent writes: rerunning a job must not double-count. Use merge-on-key or partition-replace patterns. Backpressure: streaming consumers that can't keep up should slow producers or spill to durable storage, not drop events. Dead-letter handling: malformed records go to a quarantine table with the error, so one bad event doesn't halt the pipeline. Alerting on lag, not just failure: a job that runs but is three hours behind is failing silently.

Cost control deserves equal billing. In cloud deployments, compute usually dominates the bill, and the biggest lever is eliminating idle clusters and redundant recomputation. Tag jobs by team and pipeline so cost is attributable. A monthly review of the top ten costliest queries and jobs typically finds several that can be scheduled more cheaply or replaced by precomputed aggregates.

Know when to stop and call in specialists: if your pipelines can't meet a regulatory audit requirement, if you're designing cryptographic key management for sensitive data, or if a migration risks data loss without a tested rollback, bring in qualified data engineering, security, or compliance professionals rather than improvising.

Sequence the Build So Each Phase Earns the Next

A workable order for a first build:

1: Confirm the threshold. Verify that current systems genuinely can't meet the service levels; document the decision. 2: Stand up the landing zone and one batch source end to end. Prove ingestion, storage, one transformation, and one consumer before adding breadth. 3: Add the catalog and quality checks now, not later. Retrofitting governance onto a sprawling estate is far harder. 4: Introduce CDC or streaming for the sources whose freshness requirements demand it, one at a time, with lag monitoring. 5: Build curated serving tables with documented contracts as consumer needs are confirmed. 6: Establish lifecycle, compaction, cost review, and on-call rotation as standing operations.

Success looks like this: a new data source can be onboarded in days, a failed pipeline is detected within minutes by someone other than its author, and a consumer can trace any number to its source without asking a person. Check these quarterly; if any regresses, fix it before expanding scope.

Frequently Asked Questions

Do we need a data lake and a data warehouse, or is one enough? Often one open table layer on object storage serves both: batch and interactive engines read the same curated tables, with the warehouse-style engine handling analyst queries. The dual-system pattern persists mainly where a mature warehouse already holds governed reporting and the lake serves exploration and machine learning. Decide by workload, not by fashion.

How much can we approximate to save cost? Approximate distinct counts and sampled dashboards are often acceptable for exploration and unacceptable for billing or regulatory reporting. Tag each metric with its accuracy requirement; only the "exploratory" ones get approximations.

What is the single most common cause of big data architecture failure? Undefined ownership. Pipelines without a named owner and a freshness promise accumulate silently until consumers stop trusting them. Assign an owner to every dataset and every job on day one.

When should streaming replace batch? Only when a decision genuinely requires sub-hour freshness and you can support the operational burden—state management, late-event handling, and 24/7 monitoring. "It would be nice to see it sooner" is not a requirement.