4 Cloud Programming Models

Introduction to Cloud Computing · Unit 4 · 12 hrs

Cloud Programming Models

Exam-focused notes for Cloud Programming Models (Introduction to Cloud Computing, CSC481): what the TU syllabus asks and how it has actually been tested, with 3 solved past questions from this unit.

What this unit covers

  • Thread programming
  • Task programming
  • Map-reduce programming
  • Parallel efficiency of Map-Reduce
  • Enterprise batch processing using Map-Reduce
  • Comparisons between Thread, Task and Map reduce

Map-reduce programming

208110 marks

What is Map Reduce? Using an example, discuss how Map function, shuffling, and sorting, and Reduce function work in Map Reduce.[10]

MapReduce is a programming model and framework for processing and generating large datasets in a distributed computing environment. It allows developers to write programs that can process massive amounts of data in parallel across a cluster of computers, wi...

Full solved answer →

Thread programming

208010 marks

What is thread? Why multi-threading is used? Describe how thread programming is done in cloud.[10]

--- A thread is the smallest unit of execution within a process. It is a lightweight sub-process that shares the same memory space and resources (such as code, data, and files) of its parent process but executes independently. Multiple threads can exist wit...

Full solved answer →

Parallel efficiency of Map-Reduce

207910 marks

What is parallel efficiency of map-reduce means? Compare between thread, task and map-reduce.[10]

--- Parallel efficiency of MapReduce means the effectiveness of utilizing computational resources and achieving speedup when executing a MapReduce job on a distributed computing system. It measures how well the system scales and utilizes available resources...

Full solved answer →