Big Data & Data-Driven Strategy

Chapter 5
Big Data Processing and Cloud Analytics

Advance Diploma in Business Analytics
Big Data & Data-Driven Strategy   •   Advance Diploma

Big Data Processing and Cloud Analytics

Introduction

Big data has changed the way organisations collect, process and use information. Transaction systems, mobile applications, sensors, social platforms and connected devices generate data at a scale and speed that often exceed the practical limits of a single computer. The central challenge is therefore not merely storing large datasets, but processing them reliably, economically and securely so that managers can make timely decisions.

This chapter examines the technical foundations of big data processing and cloud analytics. It explains distributed computing, parallel processing, scalability, virtualisation, containers, edge computing and cloud service models. It also develops a practical framework for evaluating platforms according to performance, cost, resilience and vendor risk. The focus is appropriate for business analytics professionals who must understand both technical architecture and business consequences.

Learning Objectives

By the end of this chapter, you should be able to:

  1. Explain how distributed and parallel computing support big data workloads.
  2. Distinguish vertical and horizontal scalability and identify their trade-offs.
  3. Explain the roles of virtual machines, containers and orchestration.
  4. Describe edge, cloud and hybrid analytics architectures.
  5. Compare Infrastructure as a Service, Platform as a Service and Software as a Service.
  6. Apply performance, cost, resilience and vendor-risk criteria when evaluating platforms.
  7. Recognise important governance, security, privacy and ethical issues in cloud analytics.

1. Why Big Data Requires New Processing Architectures

Traditional analytics commonly assumes that data can be stored in a central database and processed by a powerful server. This model remains useful for many workloads, but it becomes less suitable when data is:

  • High in volume: datasets may reach terabytes or petabytes.
  • High in velocity: data may arrive continuously and require near-real-time analysis.
  • High in variety: information may include tables, text, images, audio, logs and sensor events.
  • Variable in quality: records may be incomplete, duplicated, inconsistent or biased.
  • Widely distributed: data may originate from branches, devices, partners and cloud regions.

A big data platform divides work among many computing resources. Instead of asking one machine to read and analyse the entire dataset, the platform partitions the data, processes partitions concurrently and combines the results. This approach improves capacity, but it also introduces coordination, networking, security and failure-management challenges.

2. Distributed and Parallel Computing

2.1 Distributed computing

A distributed system consists of multiple independent computers that cooperate through a network. The computers, often called nodes, may collectively provide storage, processing and fault tolerance. Users may experience the system as one logical service even though many machines are involved.

A distributed big data system normally includes:

  • Data sources: applications, databases, devices and external feeds.
  • Ingestion services: mechanisms that collect and buffer incoming data.
  • Storage nodes: systems that store data across multiple disks or machines.
  • Processing engines: batch, interactive or stream-processing services.
  • Metadata and coordination services: components that track partitions, permissions, jobs and health.
  • Consumption tools: dashboards, reports, notebooks, models and applications.

Distribution provides capacity and resilience, but network communication is slower and less reliable than communication within a single machine. Consequently, good designs minimise unnecessary data movement and place computation near the data where practical.

2.2 Parallel processing

Parallel processing divides a task into smaller parts that execute simultaneously. For example, a dataset containing one billion records may be divided into 100 partitions. Each worker calculates a partial result, after which a coordinator combines the results.

Two common patterns are:

  • Data parallelism: the same operation is applied to different data partitions.
  • Task parallelism: different operations execute concurrently, possibly on the same or different data.

A typical aggregation consists of a map stage, in which workers produce intermediate results, and a reduce stage, in which those results are combined. Modern engines may optimise this pattern using in-memory processing, query planning, caching and columnar storage.

2.3 Speedup and Amdahl's Law

Parallelism does not guarantee proportional performance improvement. Some work must remain sequential, and coordination creates overhead. A useful idealised model is Amdahl's Law:

S(N) = 1 / (s + (1 − s)/N)

Here, S(N) is the theoretical speedup using N parallel workers, s is the fraction of the workload that must execute sequentially, and 1 − s is the parallel fraction. The model assumes equal worker performance and ignores communication, scheduling and input-output overhead; real systems usually perform worse than the theoretical result.

For example, if 20% of a job is sequential and 80% is parallel, then with 8 workers:

S(8) = 1 / (0.20 + 0.80/8) = 1 / 0.30 ≈ 3.33

Thus, eight workers produce an ideal speedup of about 3.33 rather than 8. Adding workers beyond this point produces diminishing returns. The sequential portion, data skew, network traffic and storage throughput may become bottlenecks.

2.4 Distributed data management

Large datasets are usually partitioned. Common partitioning methods include:

  • Hash partitioning: a hash function assigns records to partitions. It provides relatively even distribution when the key is suitable.
  • Range partitioning: records are assigned according to value ranges. It supports ordered queries but may create hotspots when values are unevenly distributed.
  • Round-robin partitioning: records are distributed sequentially among nodes. It can balance records but may not support selective queries efficiently.
  • Replication: copies of data are stored on more than one node or site.

Replication improves availability and read performance, but increases storage cost and creates consistency-management issues. A platform must define whether replicas are synchronously or asynchronously updated and what happens when network partitions occur.

3. Scalability and Elasticity

Scalability is the ability of a system to handle increased workload by adding resources or improving its design. Elasticity is the ability to acquire and release resources dynamically as demand changes.

3.1 Vertical and horizontal scaling

  • Vertical scaling, or scaling up, increases the capacity of one machine by adding CPU, memory, storage or network capability. It is often simple but constrained by hardware limits and may create a single point of failure.
  • Horizontal scaling, or scaling out, adds more machines or service instances. It can provide greater capacity and resilience but requires distributed coordination and operational maturity.

A small analytical application may begin vertically and later scale horizontally when data volume, users or availability requirements grow. The choice should be based on workload characteristics, not on the assumption that one approach is universally superior.

3.2 Throughput, latency and capacity

Latency is the time taken to complete an individual operation. Throughput is the amount of work completed per unit of time, such as records per second or queries per minute. A system can have high throughput but poor latency, as in a batch platform that processes millions of records efficiently but does not respond immediately to an individual query.

A basic relationship from queueing analysis is Little's Law:

L = λW

L is the average number of items in a stable system, λ is the average arrival rate, and W is the average time an item spends in the system. The units must be consistent: if λ is requests per second and W is seconds, L is requests. The relationship assumes a stable long-run system in which the average arrival and departure rates are equal.

For example, if an analytics service receives 50 queries per second and each query remains in the system for 0.4 seconds on average, then:

L = 50 × 0.4 = 20 queries

This result helps capacity planners estimate concurrent demand, but it does not by itself determine the number of servers required.

3.3 Performance bottlenecks

Important bottlenecks include:

  • CPU capacity for computation and compression;
  • memory capacity for caching and joins;
  • disk or object-storage throughput;
  • network bandwidth and cross-region transfer;
  • inefficient queries or excessive data scans;
  • data skew, where one partition receives much more work than others;
  • coordination overhead and slow workers;
  • external systems such as source databases or APIs.

Performance evaluation should use representative workloads and service-level indicators rather than a vendor's peak benchmark. Metrics may include p50, p95 and p99 latency, sustained throughput, failure recovery time and cost per processed terabyte.

4. Virtualisation, Containers and Orchestration

4.1 Virtual machines

Virtualisation abstracts physical hardware into virtual machines (VMs). A hypervisor allocates CPU, memory, storage and network resources to several guest operating systems on one physical host. VMs improve isolation, utilisation and portability. They are useful when workloads require different operating systems or strong boundaries.

However, each VM includes a complete operating system. This creates image size, startup-time and patching overhead. Performance is usually close to native hardware, but contention and virtualised input-output may affect results.

4.2 Containers

A container packages an application with its libraries and configuration while sharing the host operating system kernel. Containers are generally lighter and start faster than VMs. They support consistent development, testing and deployment, especially for microservices and data-processing components.

Containers do not automatically provide strong security isolation. A kernel vulnerability, excessive privilege or insecure image can affect multiple workloads. Images should be sourced from trusted registries, scanned for vulnerabilities, signed where appropriate and rebuilt regularly.

4.3 Orchestration

A container orchestrator schedules containers, exposes services, manages configuration, replaces failed instances and supports rolling deployments. It can also implement autoscaling and resource quotas. Orchestration improves operational consistency but adds conceptual and administrative complexity.

A sound deployment separates:

  • application code;
  • configuration and secrets;
  • persistent data;
  • monitoring and logs;
  • identity and access controls;
  • deployment definitions.

The principle of least privilege should apply to both human users and workloads. A container should receive only the permissions and resources it needs.

5. Cloud Analytics and Service Models

Cloud computing provides on-demand access to shared computing resources over a network, usually with measured usage and rapid provisioning. Cloud analytics combines managed storage, databases, processing engines, security services, data integration and visualisation tools.

5.1 Infrastructure as a Service

Infrastructure as a Service (IaaS) provides virtual machines, storage, networks and related infrastructure. The customer controls the operating system, applications and much of the configuration, while the provider manages physical facilities and hardware.

IaaS offers flexibility and supports legacy or specialised workloads. It also creates responsibility for operating-system patches, network design, backup configuration and capacity management.

5.2 Platform as a Service

Platform as a Service (PaaS) provides a managed environment for developing and running applications. The provider manages more of the operating system, runtime and scaling mechanisms. Examples include managed databases, data warehouses, stream-processing services and machine-learning platforms.

PaaS can accelerate delivery and reduce operational work. The trade-off is reduced control and a greater risk that applications become dependent on provider-specific interfaces.

5.3 Software as a Service

Software as a Service (SaaS) delivers a complete application, such as a business-intelligence or customer-analytics platform. The provider manages infrastructure, software and most maintenance; the customer manages users, data, configuration and business processes.

SaaS usually provides the fastest adoption, but organisations must carefully assess data location, integration, export capability, identity management, service availability and contractual rights.

5.4 Shared responsibility

Cloud security is a shared responsibility. The provider generally secures the physical facilities and underlying service infrastructure. The customer remains responsible for appropriate identity controls, data classification, configuration, application security and lawful use. The exact boundary differs by service model and contract; it must never be assumed from marketing language.

6. Edge, Cloud and Hybrid Analytics

Edge computing processes data near the source, such as a factory machine, retail store, vehicle or telecommunications base station. It reduces network latency, lowers the volume of data transmitted and allows limited operation during network interruptions.

Edge systems are valuable when:

  • decisions must be made in milliseconds;
  • connectivity is expensive or intermittent;
  • data cannot all be transferred for privacy or operational reasons;
  • local filtering can reduce storage and bandwidth requirements.

Cloud systems remain valuable for long-term storage, cross-site analysis, model training, governance and large-scale computation. A hybrid architecture places time-critical or sensitive processing at the edge while sending selected data or summaries to the cloud.

Edge computing introduces challenges: physical tampering, constrained hardware, inconsistent software versions, limited observability and difficult patch management. Organisations should use authenticated devices, encrypted communication, secure boot where available, signed updates and centralised asset inventories.

7. Evaluating Big Data Platforms

A platform should be evaluated against the organisation's workload, risk tolerance and operating model. The following four criteria are central.

7.1 Performance

Evaluate:

  • batch completion time;
  • streaming latency and event-processing rate;
  • interactive query response times;
  • scalability under concurrent users;
  • data-ingestion capacity;
  • performance consistency, not only peak performance;
  • compatibility with required formats, engines and tools.

Benchmarks should use realistic data distributions, query patterns, security settings and failure conditions. A benchmark that excludes data transfer, licensing and operational work may be misleading.

7.2 Cost

Cloud costs may include compute, storage, requests, data transfer, managed-service charges, licences, support, backups, observability and staff time. A simple total-cost model is:

TCO = Ccompute + Cstorage + Cnetwork + Cservice + Clicence + Coperations + Crisk

The terms represent the relevant cost categories over a defined period. Crisk is difficult to estimate and may include expected loss from outages, breaches, lock-in or compliance failure. Costs should be measured over the same time period and workload volume.

A low hourly price may not produce a low total cost if the service requires extensive data movement, specialist skills or proprietary redesign. FinOps practices—budget ownership, tagging, usage monitoring, forecasting and optimisation—help connect technical consumption to business value.

7.3 Resilience

Resilience is the ability to continue or restore service when components fail. Relevant measures include:

  • Availability: proportion of time a service is usable.
  • Recovery time objective (RTO): maximum acceptable time to restore service.
  • Recovery point objective (RPO): maximum acceptable amount of data loss measured in time.
  • Durability: likelihood that stored data will not be lost or corrupted.
  • Fault isolation: ability to prevent one failure from spreading.

For a single period, availability can be represented as:

Availability = Uptime / (Uptime + Downtime)

If a service is available for 99,900 minutes and unavailable for 100 minutes, availability is approximately 99.9%. The calculation assumes that uptime and downtime are measured consistently and that scheduled and unscheduled interruptions are treated according to the agreed service definition.

Resilience requires tested backups, replicated data, monitoring, incident procedures and regular recovery exercises. Replication alone is not a backup if accidental deletion is copied immediately to every replica.

7.4 Vendor risk

Vendor risk includes dependence on proprietary APIs, limited data portability, uncertain pricing, concentration of critical workloads, provider financial instability, geopolitical exposure and inadequate support. It should be assessed before implementation rather than after migration.

Useful questions include:

  • Can data be exported in open, documented formats?
  • Can processing be reproduced on another platform?
  • Are encryption keys controlled by the organisation where required?
  • What happens to data after contract termination?
  • Are service-level commitments financially meaningful?
  • Does the provider offer transparent incident reporting?
  • Is there a viable exit plan and tested migration path?

A multi-cloud strategy may reduce concentration risk, but it can also increase complexity, duplicated skills, network costs and inconsistent governance. Portability should be applied selectively to workloads where its benefits exceed its cost.

Platform evaluation matrix

CriterionEvidence to collectTypical risk if neglected
PerformanceWorkload benchmark, latency percentiles, throughputMissed service levels and poor user experience
CostForecast, unit economics, transfer charges, staff effortBudget overruns and misleading comparisons
ResilienceRTO, RPO, architecture, recovery test resultsExtended outage or permanent data loss
Vendor riskContract, portability, support, exit planLock-in and difficult migration
Security and governanceCertifications, controls, audit evidence, data locationBreach, regulatory action and loss of trust

8. Applied Case: Illustrative Retail Demand Analytics Platform

Background

Consider a fictional national retailer with 600 stores, an online channel and connected refrigeration equipment. Point-of-sale transactions arrive continuously, while inventory and supplier data are received in scheduled batches. Management wants hourly demand forecasts and rapid alerts when refrigeration failure threatens stock.

Problem

The retailer's existing server processes nightly files. Reports are often unavailable during processing, forecasts are stale, and a single server failure can delay operations. The organisation must choose between extending its data centre, adopting a managed cloud platform or using a hybrid edge-cloud design.

Analysis

The workload has three distinct characteristics:

  1. Transaction and inventory data require scalable batch and interactive analytics.
  2. Refrigeration alerts require low local latency and must continue during connectivity interruptions.
  3. Forecast models require centralised historical data and substantial periodic computation.

A comparison based only on hourly compute price would miss resilience, network and operational requirements. The retailer therefore defines target measures: hourly data refresh, sub-minute alert response at stores, an RPO of 15 minutes for critical data and an RTO of four hours for reporting services.

Approach and solution

The retailer adopts a hybrid architecture. Store gateways perform local validation, threshold detection and temporary buffering. Selected events are transmitted securely to cloud ingestion services. Cloud object storage retains historical data, while a managed analytical warehouse supports reporting. A distributed processing engine prepares features for forecasting, and model training occurs centrally. Containerised services package data-quality checks and forecasting components consistently across development and production.

The platform is tested with realistic seasonal demand, network interruption and refrigeration-event workloads. Data is encrypted in transit and at rest. Access is controlled through role-based identities, and customer-related fields are minimised or pseudonymised for forecasting purposes. The contract requires export in documented formats and defines incident notification and data-deletion procedures.

Outcome

The architecture reduces unnecessary transmission of raw sensor data, provides local alerts during short network failures and centralises enterprise forecasting. The retailer accepts somewhat higher design complexity in exchange for improved resilience and lower latency. It also retains a documented exit plan rather than treating the first cloud provider as a permanent dependency.

Learning points

  • Workloads should be decomposed according to latency, volume and availability requirements.
  • Edge and cloud computing are complementary, not mutually exclusive.
  • Platform evaluation must include data transfer and operational costs.
  • Recovery objectives should be specified before selecting technology.
  • Portability, security and privacy are design requirements, not contract afterthoughts.

9. Governance, Ethics and Professional Practice

Big data platforms concentrate valuable information and therefore concentrate responsibility. Governance should address:

  • lawful collection, purpose limitation and retention;
  • data ownership, stewardship and quality accountability;
  • access control, authentication and segregation of duties;
  • encryption, key management and secure deletion;
  • audit logs and evidence preservation;
  • cross-border transfers and data residency;
  • incident response and breach notification;
  • fairness, explainability and human oversight in analytics and AI.

Data minimisation is especially important at the edge, where devices may collect information beyond what is needed for the business purpose. Automated decisions should be tested for discriminatory effects, and model performance should be monitored after deployment because population behaviour and data quality change over time.

Professionals should avoid claiming that cloud migration automatically improves security or lowers cost. Both outcomes depend on architecture, configuration, skills, governance and workload characteristics. Independent review, threat modelling, supplier due diligence and periodic control testing are essential.

10. Contemporary Developments and Best Practices

Several developments are shaping cloud analytics:

  • Serverless processing abstracts server management and can suit event-driven workloads, although execution limits and variable pricing must be examined.
  • Lakehouse architectures seek to combine flexible low-cost storage with warehouse-style governance and performance.
  • Streaming analytics supports continuous monitoring and event-driven decisions.
  • Data mesh approaches emphasise domain ownership, shared standards and data products, but require strong governance and organisational capability.
  • Confidential computing and stronger encryption methods seek to reduce exposure while data is processed.
  • AI-assisted operations can help detect anomalies and optimise resources, but automated recommendations require monitoring and human accountability.

Best practice is to begin with business service requirements, classify data, measure the baseline workload, define architecture and ownership, test failure scenarios, and monitor cost and performance after deployment. Infrastructure should be treated as code where practical, and changes should be reviewed, versioned and auditable.

Chapter Summary

Big data processing uses distributed and parallel computing to divide storage and computation across multiple resources. Partitioning, replication and coordination make large-scale analytics possible but introduce network, consistency and failure-management challenges. Amdahl's Law demonstrates why sequential work limits speedup, while Little's Law links arrival rate, response time and concurrency.

Scalability may be vertical or horizontal, and elasticity allows resources to change with demand. Virtual machines provide broad isolation, containers provide lightweight packaging, and orchestration manages deployment and recovery at scale. Edge computing places selected processing near data sources, while cloud computing provides elastic storage and managed analytics. Hybrid architectures combine these strengths.

IaaS, PaaS and SaaS differ in the balance of control and provider responsibility. Platforms should be evaluated using realistic evidence about performance, total cost, resilience and vendor risk. Availability, RTO, RPO, portability, security and governance should be specified before implementation. Effective cloud analytics is therefore both a technical and strategic discipline: it connects architecture, economics, risk management and responsible data use.

Key Terms

Distributed computing: Coordinated computing performed by multiple networked machines.

Parallel processing: Simultaneous execution of parts of a computational task.

Node: A computer or logical processing unit participating in a distributed system.

Partitioning: Dividing data or work into manageable subsets.

Replication: Maintaining copies of data or services across multiple locations or nodes.

Data parallelism: Applying the same operation to multiple data partitions concurrently.

Scalability: The ability to handle increased workload through additional capacity or improved design.

Elasticity: The dynamic acquisition and release of resources as demand changes.

Latency: Time taken to complete an operation.

Throughput: Amount of work completed per unit of time.

Virtual machine: A software-defined computer running through a hypervisor.

Container: A packaged application environment sharing the host operating-system kernel.

Orchestration: Automated scheduling, deployment, scaling and recovery of workloads.

Edge computing: Processing data near the location where it is generated.

IaaS: Cloud provision of infrastructure such as virtual machines, storage and networks.

PaaS: Cloud provision of a managed application-development and execution platform.

SaaS: Delivery of a complete software application through the cloud.

RTO: Maximum acceptable time required to restore a service.

RPO: Maximum acceptable period of data loss measured in time.

Vendor lock-in: Dependence on a provider that makes migration difficult or costly.

Review Questions

Short Answer Questions

  1. What is the difference between distributed computing and parallel processing?
  2. Distinguish vertical scaling from horizontal scaling.
  3. Why does data partitioning matter in a big data platform?
  4. What are the principal differences among IaaS, PaaS and SaaS?
  5. Define RTO and RPO.

Long Answer Questions

  1. Explain how replication improves resilience and discuss its effects on cost and consistency.
  2. Describe the benefits and limitations of virtual machines, containers and orchestration.
  3. Explain how edge and cloud computing can be combined in a hybrid analytics architecture.
  4. Discuss why cloud cost evaluation should include network transfer, operations and risk rather than compute price alone.
  5. Explain the shared-responsibility model and its implications for security governance.

Analytical / Application Questions

  1. A data-processing job is 15% sequential. Use Amdahl's Law to estimate its ideal speedup with 10 workers. Explain why actual performance may be lower.
  2. A company receives 80 analytics requests per second, and each request remains in the system for 0.25 seconds. Use Little's Law to estimate the average number of concurrent requests. What additional information would be needed for capacity planning?
  3. Design a platform-selection scorecard for a healthcare analytics workload. Justify the measures you would use for performance, cost, resilience, privacy and vendor risk.

Multiple Choice Questions with Answers

Question 1

Which characteristic most directly distinguishes horizontal scaling from vertical scaling?

A. Horizontal scaling adds more machines or service instances.

B. Horizontal scaling always requires replacing the operating system.

C. Horizontal scaling increases only the memory of one machine.

D. Horizontal scaling eliminates the need for data partitioning.

Correct Answer: A. Horizontal scaling adds more machines or service instances.

Question 2

A workload is 20% sequential. According to Amdahl's Law, what is the ideal speedup with 8 workers?

A. 2.00

B. 3.33

C. 6.40

D. 8.00

Correct Answer: B. 3.33

Question 3

Which statement best describes data parallelism?

A. Different operating systems run on one physical server.

B. The same operation is applied concurrently to different data partitions.

C. A single task is deliberately executed without coordination.

D. Data is copied only after a system failure.

Correct Answer: B. The same operation is applied concurrently to different data partitions.

Question 4

A service receives 50 requests per second and has an average response time of 0.4 seconds. What is the estimated average number of requests in the system?

A. 10

B. 20

C. 50

D. 125

Correct Answer: B. 20

Question 5

Which cloud service model gives the customer the greatest control over the operating system?

A. Software as a Service

B. Platform as a Service

C. Infrastructure as a Service

D. Business Process as a Service

Correct Answer: C. Infrastructure as a Service

Question 6

Which requirement is most strongly associated with edge computing?

A. Centralising every raw event in one data centre before action

B. Making decisions close to the data source with low latency

C. Removing the need for device security

D. Guaranteeing unlimited local storage

Correct Answer: B. Making decisions close to the data source with low latency

Question 7

What does the Recovery Point Objective specify?

A. The maximum acceptable time to restore service

B. The maximum acceptable amount of data loss measured in time

C. The number of replicas required for a database

D. The percentage of CPU used by a workload

Correct Answer: B. The maximum acceptable amount of data loss measured in time

Question 8

Which item is an example of vendor lock-in risk?

A. Using documented open data formats

B. Maintaining a tested export process

C. Depending on proprietary interfaces that are difficult to reproduce elsewhere

D. Separating application code from configuration

Correct Answer: C. Depending on proprietary interfaces that are difficult to reproduce elsewhere

Question 9

Why may containers be more lightweight than virtual machines?

A. Containers share the host operating-system kernel.

B. Containers never require security controls.

C. Containers always run without memory limits.

D. Containers replace the need for persistent storage.

Correct Answer: A. Containers share the host operating-system kernel.

Question 10

Which cost should be included in a realistic cloud total-cost assessment?

A. Only the advertised compute price

B. Only the initial migration cost

C. Compute, storage, network transfer, operations and relevant risk

D. Only the cost of user licences

Correct Answer: C. Compute, storage, network transfer, operations and relevant risk

Big Data & Data-Driven Strategy
Chapter 5 of 15