+ All Categories
Home > Technology > Real World Patterns for Cloud Computing

Real World Patterns for Cloud Computing

Date post: 21-May-2015
Category:
Upload: wade-wegner
View: 576 times
Download: 1 times
Share this document with a friend
Description:
Real World Patterns for Cloud Computing, as presented at TechEd NA 2010.
Popular Tags:
53
JUNE 7-10, 2010 | NEW ORLEANS, LA
Transcript
Page 1: Real World Patterns for Cloud Computing

JUNE 7-10, 2010 | NEW ORLEANS, LA

Page 2: Real World Patterns for Cloud Computing

Real-World Patterns for Cloud ComputingWade WegnerTechnical EvangelistMicrosoft Corporation

SESSION CODE: ARC304

Jerry SchulistSolutions ArchitectTribune Company

Page 3: Real World Patterns for Cloud Computing

What is the Tribune Company?

Page 4: Real World Patterns for Cloud Computing
Page 5: Real World Patterns for Cloud Computing
Page 6: Real World Patterns for Cloud Computing
Page 7: Real World Patterns for Cloud Computing
Page 8: Real World Patterns for Cloud Computing
Page 9: Real World Patterns for Cloud Computing
Page 10: Real World Patterns for Cloud Computing

Three Key Scenarios

1. Storage

2. Compute

3. Scale

Tools, Knowledge, Approach

Page 11: Real World Patterns for Cloud Computing

Content(Blob Storage)

Image Processor (Queue)

Image Processor(Worker Role)

Content Ingestion Services 1

2

3

What will we look at?

4

Page 12: Real World Patterns for Cloud Computing

So what?

Page 13: Real World Patterns for Cloud Computing

Not just a case study

Page 14: Real World Patterns for Cloud Computing

: YOU!

Page 15: Real World Patterns for Cloud Computing

Three Key Scenarios

1. Storage

2. Compute

3. Scale

Page 16: Real World Patterns for Cloud Computing

Uploading Content

Page 17: Real World Patterns for Cloud Computing

Data management todayIs it really infinite?Code-near and code-far scenariosRelational data?

Things to consider

Page 18: Real World Patterns for Cloud Computing

Challenges

1. Running out of disk space

2. Handling archived digital content

3. Data stored across multiple datacenters

Page 19: Real World Patterns for Cloud Computing

Content(Blob Storage)

Image Processor (Queue)

Image Processor(Worker Role)

Content Ingestion Services 1

Blob storage

Page 20: Real World Patterns for Cloud Computing

Leveraging Windows Azure StorageUploading massive amounts of content into Windows Azure blobs.

DEMO

Page 21: Real World Patterns for Cloud Computing

Key Takeaways

1. Consolidate content in Windows Azure storage

2. Windows Azure Storage SDK best practices

3. Leverage the .NET Framework 4.0

Page 22: Real World Patterns for Cloud Computing

Abstracting Work with Queues

Page 23: Real World Patterns for Cloud Computing

Loosely coupled and scalable solutionsReliable storage and delivery of messagesIdempotency8KBs per message; up to 100TBs

Things to consider

Page 24: Real World Patterns for Cloud Computing

Challenges

1. Need to process content

2. Independent of upload

3. Blobs aren’t the best for writing instructions

Page 25: Real World Patterns for Cloud Computing

Content(Blob Storage)

Image Processor (Queue)

Image Processor(Worker Role)

Content Ingestion Services 1

2

Queues

Page 26: Real World Patterns for Cloud Computing

Leveraging Windows Azure StorageUsing Queues to store instructions for content processing.

DEMO

Page 27: Real World Patterns for Cloud Computing

Key Takeaways

1. Use Windows Azure queues to decouple

2. Include all data relevant to work in message

3. Idempotent

Page 28: Real World Patterns for Cloud Computing

Three Key Scenarios

2. Compute

3. Scale

1. Storage

Page 29: Real World Patterns for Cloud Computing

Content Processing with Worker Roles

Page 30: Real World Patterns for Cloud Computing

Web Roles verses Worker RolesDecoupling with Windows Azure Queues

Things to consider

Page 31: Real World Patterns for Cloud Computing

Challenges

1. Require multiple versions of content

2. JIT content processing is slow and expensive

3. Cost

Page 32: Real World Patterns for Cloud Computing

Content(Blob Storage)

Image Processor (Queue)

Image Processor(Worker Role)

Content Ingestion Services 1

2

3

Worker Role

Page 33: Real World Patterns for Cloud Computing

Leveraging Windows Azure ComputeProcessing content with Windows Azure Worker Roles

DEMO

Page 34: Real World Patterns for Cloud Computing

Key Takeaways

1. Use worker roles for long running processes

2. Process ahead of time

3. Handle exceptions to prevent role recycling

Page 35: Real World Patterns for Cloud Computing

Three Key Scenarios

2. Compute

3. Scale

1. Storage

Page 36: Real World Patterns for Cloud Computing

Scaling Storage Accounts

Page 37: Real World Patterns for Cloud Computing

Isn’t scale automatic?What does elastic scale actually mean?Multiple storage accounts?Multiple queues?

Things to consider

Page 38: Real World Patterns for Cloud Computing

Challenges

1. Storage account limitation of 100 Terabytes

2. Handle this challenge in a supportable fashion

Page 39: Real World Patterns for Cloud Computing

Content(Blob Storage)

Image Processor (Queue)

Image Processor(Worker Role)

Content Ingestion Services 1

2

3

Worker Role

4

Page 40: Real World Patterns for Cloud Computing

Scaling in Windows AzureA round robin approach to elastic scale in Windows Azure storage

DEMO

Page 41: Real World Patterns for Cloud Computing

Key Takeaways

1. Multiple storage accounts

2. Round robin through accounts

3. Only pay for what you use

Page 42: Real World Patterns for Cloud Computing

Scaling Windows Azure roles

Page 43: Real World Patterns for Cloud Computing

Isn’t scale automatic?What ways exist to scale?Cost

Things to consider

Page 44: Real World Patterns for Cloud Computing

Challenges

1. Determine the number of roles required

2. Auto-scale

Page 45: Real World Patterns for Cloud Computing

Scaling in Windows AzureAn approach to implementing auto-scale in Windows Azure

DEMO

Page 46: Real World Patterns for Cloud Computing

Key Takeaways

1. Determine how to scale – queue or performance

2. Scaling service independent of application

3. Pay for what you use; scale wisely

Page 47: Real World Patterns for Cloud Computing
Page 48: Real World Patterns for Cloud Computing
Page 49: Real World Patterns for Cloud Computing

1. Consider the impact that cloud computing will have on you, your company, and your customers

2. Explore the three scenarios we presented andhow they impact you

3. Take advantage of TechEd, product teams, andeach other

Next Steps

Page 50: Real World Patterns for Cloud Computing

Resources

www.microsoft.com/teched

Sessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

Page 51: Real World Patterns for Cloud Computing

Complete an evaluation on CommNet and enter to win!

Page 52: Real World Patterns for Cloud Computing

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st

http://northamerica.msteched.com/registration

You can also register at the

North America 2011 kiosk located at registrationJoin us in Atlanta next year

Page 53: Real World Patterns for Cloud Computing

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Recommended