orleans: cloud computing for everyone

12
ORLEANS: CLOUD PROGRAMMING FOR EVERYONE James Larus Microsoft Research ASPLOS Mini-Symposium 10/20/2011

Upload: others

Post on 26-Feb-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Orleans: Cloud Computing for Everyone

ORLEANS:

CLOUD PROGRAMMING FOR EVERYONE James Larus

Microsoft Research

ASPLOS Mini-Symposium

10/20/2011

Page 2: Orleans: Cloud Computing for Everyone

CLOUD COMPUTING = CLIENTS + CLOUD

2

Next computing platform

Functionality split between

client and cloud

Multiplicity of devices

“Unlimited” compute and

storage on demand in cloud

Augmentation not substitution

Smartphone + tablet + PC

Many devices, some specialized

Buy services, not bits

Page 3: Orleans: Cloud Computing for Everyone

CHALLENGES OF CLOUD COMPUTING

Inherently parallel and distributed

Many servers, possibly in multiple data centers

Diverse clients with disparate capabilities

Unreliable, failure-prone platform

Commodity computers and communication links

Non-negligible failure rates with complex failure modes

Services, not stand-alone applications

Varying and unpredictable loads

High availability and reliability

And, historic challenges of constructing secure, reliable, scalable,

elastic, and efficient software 3

Page 4: Orleans: Cloud Computing for Everyone

ORLEANS

4

Software framework and runtime to make cloud programming easier and more productive

Experimental system from Microsoft Research

Shift burden of correctness and performance from developer to Orleans system

Radically simplified, prescriptive programming model

Application

Orleans

.NET

Azure

Servers

Page 5: Orleans: Cloud Computing for Everyone

ORLEANS IS ACTOR BASED

5

Field Value

Name “John Doe”

Email “[email protected]

Address “123 Main St.,

Anywhere UR 01234”

Products

Grain

ID1 Grain

ID2

Checkout

AddProduct

RemoveProduct

Grain (actor)

Customer Grain Messages

State

Methods

Message Queue

Page 6: Orleans: Cloud Computing for Everyone

GRAIN ACTIVATIONS

6

NumAvailable

Buy

AddReview

Field Value

Name “Canon

EOS T3i”

Num

ber

B004J3V90

Y

Quan

tity

12345

Price $800.0

Revie

ws Grain

ID1 Grain

ID2

NumAvailable

Buy

AddReview

Field Value

Name “Canon EOS

T3i”

Numbe

r

B004J3V90Y

Quantit

y

12345

Price $800.0

Review

s Grain

ID1 Grain

ID2

Page 7: Orleans: Cloud Computing for Everyone

IN-GRAIN PROGRAMMING MODEL

7

Field Value

Name “John Doe”

Email “[email protected]

Address “123 Main St.,

Anywhere UR 01234”

Products

Grain

ID1 Grain

ID2

Checkout

AddProduct

RemoveProduct

Page 8: Orleans: Cloud Computing for Everyone

SYSTEM IS COMPOSED OF GRAINS

8

Silo (process)

Page 9: Orleans: Cloud Computing for Everyone

TRANSACTIONS

9

Isolation

Consistency

Atomicity

Page 10: Orleans: Cloud Computing for Everyone

ADAPTIVE PERFORMANCE MANAGEMENT

10

Grain Placement

Grain Migration

Page 11: Orleans: Cloud Computing for Everyone

PERSISTENCE

11

Page 12: Orleans: Cloud Computing for Everyone

CONCLUSION

Orleans provides explicit support for key aspects of cloud software

Communications

Concurrency

Data partitioning

Computation replication

Error handling

Performance monitoring and control

Shifts burden from developer to Orleans

Make the cloud accessible to everyone

12