goals for today operating systems and systems...

13
Page 1 CS162 Operating Systems and Systems Programming Lecture 24 Capstone: Cloud Computing April 30, 2014 Anthony D. Joseph http://inst.eecs.berkeley.edu/~cs162 24.2 4/30/2014 Anthony D. Joseph CS162 ©UCB Spring 2014 Goals for Today Big data Cloud Computing programming paradigms Cloud Computing OS Note: Some slides and/or pictures in the following are adapted from slides Ali Ghodsi. 24.3 4/30/2014 Anthony D. Joseph CS162 ©UCB Spring 2014 Background of Cloud Computing 1980’s and 1990’s: 52% growth in performance per year! 2002: The thermal wall – Speed (frequency) peaks, but transistors keep shrinking 2000’s: Multicore revolution – 15-20 years later than predicted, we have hit the performance wall 2010’s: Rise of Big Data 24.4 4/30/2014 Anthony D. Joseph CS162 ©UCB Spring 2014 Sources Driving Big Data It’s All Happening On-line Every: Click Ad impression Billing event Fast Forward, pause,… Friend Request Transaction Network message Fault User Generated (Web & Mobile) .. Internet of Things / M2M Scientific Computing

Upload: others

Post on 27-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 1

CS162 Operating Systems andSystems Programming

Lecture 24

Capstone: Cloud Computing"

April 30, 2014!Anthony D. Joseph !

http://inst.eecs.berkeley.edu/~cs162!

24.2!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Goals for Today"•  Big data!

•  Cloud Computing programming paradigms!

•  Cloud Computing OS!

Note: Some slides and/or pictures in the following are"adapted from slides Ali Ghodsi."

24.3!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Background of Cloud Computing"•  1980’s and 1990’s: 52% growth in performance per year!!

•  2002: The thermal wall!– Speed (frequency) peaks,

but transistors keep shrinking!

•  2000’s: Multicore revolution!– 15-20 years later than

predicted, we have hit the performance wall!

•  2010’s: Rise of Big Data!

24.4!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Sources Driving Big Data"It’s All Happening On-line"

Every:"Click"Ad impression"Billing event"Fast Forward, pause,…"Friend Request"Transaction"Network message"Fault"…"

User Generated (Web & Mobile)"

….."

Internet of Things / M2M" Scientific Computing"

Page 2: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 2

24.5!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Data Deluge"•  Billions of users connected through the net!

– WWW, FB, twitter, cell phones, …!– 80% of the data on FB was produced last year!

•  Storage getting cheaper!– Store more data!!

24.6!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Data Grows Faster than Moore’s Law"

Projected Growth"

Incr

ease

ove

r 201

0"

0

10

20

30

40

50

60

2010 2011 2012 2013 2014 2015

Moore's Law!

Particle Accel.!

DNA Sequencers!

24.7!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Solving the Impedance Mismatch"

•  Computers not getting faster, and we are drowning in data!

– How to resolve the dilemma?!

•  Solution adopted by web-scale companies!

– Go massively distributed and parallel!

24.8!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Enter the World of Distributed Systems"•  Distributed Systems/Computing!

– Loosely coupled set of computers, communicating through message passing, solving a common goal!

– Tools: Msg passing, Distributed shared memory, RPC!

•  Distributed computing is challenging!– Dealing with partial failures (examples?)!– Dealing with asynchrony (examples?)!– Dealing with scale (examples?)!– Dealing with consistency (examples?)!

•  Distributed Computing versus Parallel Computing?!– distributed computing=parallel computing + partial failures!

Page 3: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 3

24.9!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

The Datacenter is the new Computer"

•  “The datacenter as a computer” still in its infancy!– Special purpose clusters, e.g., Hadoop cluster!– Built from less reliable components!– Highly variable performance!– Complex concepts are hard to program (low-level primitives)!

=!?

24.10!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Datacenter/Cloud Computing OS"

•  If the datacenter/cloud is the new computer!– What is its Operating System?!– Note that we are not talking about a host OS!

•  Could be equivalent in benefit as the LAMP stack was to the .com boom – every startup secretly implementing the same functionality!!

•  Open source stack for a Web 2.0 company: !– Linux OS!– Apache web server!– MySQL, MariaDB or MongoDB DBMS!– PHP, Perl, or Python languages for dynamic web pages!

24.11!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Classical Operating Systems"•  Data sharing!

–  Inter-Process Communication, RPC, files, pipes, …!

•  Programming Abstractions!– Libraries (libc), system calls, …!

•  Multiplexing of resources!– Scheduling, virtual memory, file allocation/protection, …!

24.12!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Datacenter/Cloud Operating System"•  Data sharing!

– Google File System, key/value stores!– Apache project: Hadoop Distributed File System!

•  Programming Abstractions!– Google MapReduce!– Apache projects: Hadoop, Pig, Hive, Spark!

•  Multiplexing of resources!– Apache projects: Mesos, YARN (MapReduce v2),

ZooKeeper, BookKeeper, …!

Page 4: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 4

24.13!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Google Cloud Infrastructure"

•  Google File System (GFS), 2003!– Distributed  File  System  for  entire    cluster

–  Single  namespace

•  Google MapReduce (MR), 2004!– Runs  queries/jobs  on  data – Manages  work  distribution  &  fault-­‐‑  tolerance

– Colocated  with  file  system

•  Apache open source versions: Hadoop DFS and Hadoop MR !24.14!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

GFS/HDFS Insights "

•  Petabyte storage!– Files split into large blocks (128 MB) and replicated across

several nodes!– Big blocks allow high throughput sequential reads/writes!

•  Data striped on hundreds/thousands of servers!– Scan 100 TB on 1 node @ 50 MB/s = 24 days!– Scan on 1000-node cluster = 35 minutes!

24.15!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

GFS/HDFS Insights (2) "

•  Failures will be the norm!– Mean time between failures for 1 node = 3 years!– Mean time between failures for 1000 nodes = 1 day"

!•  Use commodity hardware!

– Failures are the norm anyway, buy cheaper hardware!

•  No complicated consistency models!– Single writer, append-only data!

24.16!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

MapReduce Insights"•  Restricted key-value model!

– Same fine-grained operation (Map & Reduce) repeated on big data!

– Operations must be deterministic"– Operations must be idempotent/no side effects"– Only communication is through the shuffle!– Operation (Map & Reduce) output saved (on disk)!

Page 5: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 5

24.17!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

What is MapReduce Used For?"

•  At Google:!–  Index building for Google Search!– Article clustering for Google News!– Statistical machine translation!

•  At Yahoo!:!–  Index building for Yahoo! Search!– Spam detection for Yahoo! Mail!

•  At Facebook:!– Data mining!– Ad optimization!– Spam detection!

24.18!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

MapReduce Pros"•  Distribution is completely transparent!

– Not a single line of distributed programming (ease, correctness)!

•  Automatic fault-tolerance"– Determinism enables running failed tasks somewhere else again!– Saved intermediate data enables just re-running failed reducers!

•  Automatic scaling"– As operations as side-effect free, they can be distributed to any

number of machines dynamically!

•  Automatic load-balancing"– Move tasks and speculatively execute duplicate copies of slow

tasks (stragglers)!

24.19!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

MapReduce Cons"•  Restricted programming model!

– Not always natural to express problems in this model!– Low-level coding necessary!– Little support for iterative jobs (lots of disk access)!– High-latency (batch processing)!

•  Addressed by follow-up research and Apache projects!– Pig and Hive for high-level coding!– Spark for iterative and low-latency jobs!

24.20!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Administrivia"•  Project 4 code due next week Thu April 8 by 11:59pm!

•  MIDTERM #2 results TBA!– Exam and solutions posted!

•  RRR week office hours: E-mail for an appointment!

Page 6: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 6

24.21!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

2min Break"

24.22!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Apache Pig"•  High-level language:!

– Expresses sequences of MapReduce jobs!– Provides relational (SQL) operators

(JOIN, GROUP BY, etc)!– Easy to plug in Java functions!

•  Started at Yahoo! Research!– Runs about 50% of Yahoo!’s jobs!

•  https://pig.apache.org/ !

•  Similar to Google’s (internal) Sawzall project!

24.23!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Example Problem"

Given user data in one file, and website data in another, find the top 5 most visited pages by users aged 18-25!

Load Users Load Pages

Filter by age

Join on name

Group on url

Count clicks

Order by clicks

Take top 5 Example from http://wiki.apache.org/pig-data/attachments/PigTalksPapers/attachments/ApacheConEurope09.ppt

24.24!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

In MapReduce"

Example from http://wiki.apache.org/pig-data/attachments/PigTalksPapers/attachments/ApacheConEurope09.ppt

Page 7: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 7

24.25!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

In Pig Latin"

Example from http://wiki.apache.org/pig-data/attachments/PigTalksPapers/attachments/ApacheConEurope09.ppt

Users        =  load  ‘users’ as  (name,  age);  Filtered  =  filter  Users  by                                        age  >=  18  and  age  <=  25;    Pages        =  load  ‘pages’ as  (user,  url);  Joined      =  join  Filtered  by  name,  Pages  by  user;  Grouped    =  group  Joined  by  url;  Summed      =  foreach  Grouped  generate  group,                                        count(Joined)  as  clicks;  Sorted      =  order  Summed  by  clicks  desc;  Top5          =  limit  Sorted  5;    store  Top5  into  ‘top5sites’;  

24.26!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Translation to MapReduce"

Notice how naturally the components of the job translate into Pig Latin!

Users  =  load  …  Filtered  =  filter  …    Pages  =  load  …  Joined  =  join  …  Grouped  =  group  …  Summed  =  …  count()…  Sorted  =  order  …  Top5  =  limit  …  

Example from http://wiki.apache.org/pig-data/attachments/PigTalksPapers/attachments/ApacheConEurope09.ppt

Load Users Load Pages

Filter by age

Join on name

Group on url

Count clicks

Order by clicks

Take top 5

Job 1

Job 2

Job 3

24.27!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Apache Hive"•  Relational database built on Hadoop!

– Maintains table schemas!– SQL-like query language (which can also call Hadoop

Streaming scripts)!– Supports table partitioning, complex data types,

sampling, some query optimization!

•  Developed at Facebook!– Used for many Facebook jobs!

•  Now used by many others!– Netfix, Amazon, …!

•  http://hive.apache.org/ !

24.28!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Apache Spark Motivation"Complex jobs, interactive queries and online processing all need one thing that MR lacks:!

Efficient primitives for data sharing!

Stag

e 1"

Stag

e 2"

Stag

e 3"

Iterative job"

Query 1"

Query 2"

Query 3"

Interactive mining"

Job

1"

Job

2"

…"

Stream processing"

Page 8: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 8

24.29!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Spark Motivation"Complex jobs, interactive queries and online processing all need one thing that MR lacks:!

Efficient primitives for data sharing!St

age

1"

Stag

e 2"

Stag

e 3"

Iterative job"

Query 1"

Query 2"

Query 3"

Interactive mining"

Job

1"

Job

2"

…"

Stream processing"

Problem: in MR, the only way to share data across jobs is using stable storage

(e.g. file system) ! slow!"

24.30!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Examples"

iter. 1" iter. 2" . . ."

Input"

HDFSread"

HDFSwrite"

HDFSread"

HDFSwrite"

Input"

query 1"

query 2"

query 3"

result 1"

result 2"

result 3"

. . ."

HDFSread"

Opportunity: DRAM is getting cheaper ! use main memory for intermediate

results instead of disks"

24.31!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

iter. 1" iter. 2" . . ."

Input"

Goal: In-Memory Data Sharing"

Distributedmemory"

Input"

query 1"

query 2"

query 3"

. . ."

one-time processing"

10-100× faster than network and disk" 24.32!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Solution: Resilient Distributed Datasets (RDDs)"

•  Partitioned collections of records that can be stored in memory across the cluster!

•  Manipulated through a diverse set of transformations (map, filter, join, etc)!

•  Fault recovery without costly replication!– Remember the series of transformations that built an

RDD (its lineage) to recompute lost data!

•  http://spark.apache.org/ !

Page 9: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 9

24.33!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.34!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Security: Old Meets New"•  Heard of vishing?!•  A Voice over IP phishing attack!

•  Scenario!– Victim receives a text message:!

– Victim calls number !–  Interactive Voice Response system prompts user to enter

debit card number and PIN!– Criminals produce duplicate cards or use online and siphon

$300/card/day!•  April 2014: At least 2,500 cards stolen (up to $75K/day)!

Urgent message from your bank! We’ve deactivated your debit card due to detected fraudulent activity. Please call 1-800-PHISHME to reactivate your card

24.35!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

How Hackers Perform Vishing"•  Compromise a vulnerable server (anywhere in the world)!

–  Install Interactive Voice Response (IVR) software!•  Compromise a vulnerable VoIP server!

– Hijack the Direct Inward Dialing (DID) function to assign a phone number to their IVR system!

•  Use free text-to-speech tools to generate recordings!– Load onto IVR system!

•  Send spam texts using email-to-SMS gateways!•  VoIP server redirects incoming calls to IVR system!

–  IVR system prompts callers for card data and PIN!– Data saved locally or in a drop site!

•  Data encoded onto new cards for ATM or purchasing use!– Also used for online/phone “card not present” transactions!

http://blog.phishlabs.com/ !24.36!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

2min Break"

Page 10: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 10

24.37!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

•  Rapid innovation in datacenter computing frameworks!•  No single framework optimal for all applications"•  Want to run multiple frameworks in a single datacenter!

– …to maximize utilization!– …to share data between frameworks!

Pig

Datacenter Scheduling Problem "

Dryad

Pregel

Percolator

CIEL"

24.38!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Hadoop

Pregel

MPI Shared  cluster  

Today:  static  partitioning   Dynamic  sharing  

Where We Want to Go"

24.39!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Solution: Apache Mesos"

Mesos  

Node   Node   Node   Node  

Hadoop   Pregel  …  

Node   Node  

Hadoop  

Node   Node  

Pregel  …  

•  Mesos is a common resource sharing layer over which diverse frameworks can run!

•  Run multiple instances of the same framework!–  Isolate production and experimental jobs!– Run multiple versions of the framework concurrently!

•  Build specialized frameworks targeting particular problem domains!

– Better performance than general-purpose abstractions!24.40!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Mesos Goals"

•  High utilization of resources!•  Support diverse frameworks (current & future)!•  Scalability to 10,000’s of nodes!•  Reliability in face of failures!

http://mesos.apache.org/ !

Resulting design: Small microkernel-like core that pushes scheduling

logic to frameworks"

Page 11: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 11

24.41!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Mesos Design Elements"• Fine-grained sharing:!

– Allocation at the level of tasks within a job!–  Improves utilization, latency, and data locality!

• Resource offers:!– Simple, scalable application-controlled scheduling

mechanism!

24.42!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Element 1: Fine-Grained Sharing"

Framework 1"

Framework 2"

Framework 3"

Coarse-Grained Sharing (HPC):! Fine-Grained Sharing (Mesos):!

+ Improved utilization, responsiveness, data locality "Storage System (e.g. HDFS)" Storage System (e.g. HDFS)"

Fw. 1"

Fw. 1"Fw. 3"

Fw. 3" Fw. 2"Fw. 2"

Fw. 2"

Fw. 1"

Fw. 3"

Fw. 2"Fw. 3"

Fw. 1"

Fw. 1" Fw. 2"Fw. 2"

Fw. 1"

Fw. 3" Fw. 3"

Fw. 3"

Fw. 2"

Fw. 2"

24.43!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Element 2: Resource Offers"• Option: Global scheduler!

– Frameworks express needs in a specification language, global scheduler matches them to resources!

+ Can make optimal decisions!– Complex: language must support all framework needs!– Difficult to scale and to make robust!– Future frameworks may have unanticipated needs!

24.44!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Element 2: Resource Offers"•  Mesos: Resource offers!

– Offer available resources to frameworks, let them pick which resources to use and which tasks to launch"

+  Keeps Mesos simple, lets it support future frameworks!-  Decentralized decisions might not be optimal!

!

Page 12: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 12

24.45!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Mesos Architecture"

MPI job"

MPI scheduler"

Hadoop job"

Hadoop scheduler"

Allocation module!

Mesos"master"

Mesos slave"MPI

executor!

Mesos slave"MPI

executor!

task"task"

Resource offer"

Pick framework to offer resources to"

24.46!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Mesos Architecture"

MPI job"

MPI scheduler"

Hadoop job"

Hadoop scheduler"

Allocation module!

Mesos"master"

Mesos slave"MPI

executor!

Mesos slave"MPI

executor!

task"task"

Resource offer"

Pick framework to offer resources to"

Resource offer = list of (node, availableResources)!! E.g. { (node1, <2 CPUs, 4 GB>),! (node2, <3 CPUs, 2 GB>) }!

24.47!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Mesos Architecture"

MPI job"

MPI scheduler"

Hadoop job"

Hadoop scheduler"

Allocation module!

Mesos"master"

Mesos slave"MPI

executor!Hadoop executor!

Mesos slave"MPI

executor!

task"task"

Pick framework to offer resources to"

task"Framework-

specific scheduling"

Resource offer"

Launches and isolates executors"

24.48!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Deployments"Many 1,000’s of nodes running many production services !!

Genomics researchers using Hadoop and Spark on Mesos!!

Spark in use by Yahoo! Research!!

Spark for analytics!"

Hadoop and Spark used by machine learning researchers!

Page 13: Goals for Today Operating Systems and Systems ...inst.eecs.berkeley.edu/~cs162/sp14/Lectures/lec24-cloud...Job 2 Job 3 4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014! 24.27!

Page 13

24.49!4/30/2014! Anthony D. Joseph ! !CS162 ! ©UCB Spring 2014!

Summary"•  Cloud computing/datacenters are the new computer!

– Emerging “Datacenter/Cloud Operating System” appearing!

•  Many pieces of the DC/Cloud OS “LAMP” stack are available today:!

– High-throughput filesystems (GFS/Apache HDFS)!– Job frameworks (MapReduce, Apache Hadoop,

Apache Spark, Pregel)!– High-level query languages (Apache Pig, Apache Hive)!– Cluster scheduling (Apache Mesos)!