Download presentation
Presentation is loading. Please wait.
Published byRalph Anderson Modified over 9 years ago
2
DEV 315
8
–Name –Problem –Context –Forces –Solution –Invariant –Examples –Known Uses –Related patterns : Characteristics :
9
–Name –Problem –Context –Forces –Solution –Invariant –Examples –Known Uses –Related patterns Characteristics :
13
Finding Concurrency Original Problem Algorithm Structure Tasks, shared and local data Corresponding source code Task t1 = Task.Factory.StartN ew(…); Units of execution & new shared data for extracted dependencies Supporting Structures & Implementation Mechanisms
14
Finding Concurrency Tasks, shared and local data Original Problem
18
Design Evaluation
20
Step 1Step 2Step 3 Step 4 Peel and Dice Oninons Fry the Onion Sprinkle Paprika Add Water Dice The Meat Add Some Spices Cut And Clean The Chilies Cook 40 minutes Peel and Dice Potatoes Cook 10 minutes Cut The Peppers Cook 5 minutes
21
Peel and Dice Oninons Fry the Onion Sprinkle Paprika Add Water Dice The Meat Add Some Spices Cut And Clean The Chilies Cook 40 minutes Peel and Dice Potatoes Cook 10 minutes Cut The Peppers Cook 5 minutes
22
Finding Concurrency Original Problem Algorithm Structure Tasks, shared and local data Units of execution & new shared data for extracted dependencies
33
Finding Concurrency Original Problem Algorithm Structure Tasks, shared and local data Corresponding source code Task t1 = Task.Factory.StartNew (…); Units of execution & new shared data for extracted dependencies Supporting Structures & Implementation Mechanisms
38
Source: More Patterns for Parallel Application Programs, Berna L. Massingill, Timothy G. Mattson and Beverly A. Sanders Master/Wo rker SPMD Loop Parallel Fork/ Join Distributed Array Map Reduce Actors SOA Facade Repository MPMD Pipeline Producer/ Consumer Shared Queue Divide & Conquer
43
Embrace parallelism! Thank you!
44
Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC.
47
www.microsoft.com/teched Sessions On-Demand & CommunityMicrosoft Certification & Training Resources Resources for IT ProfessionalsResources for Developers www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn http://northamerica.msteched.com Connect. Share. Discuss.
49
Scan the Tag to evaluate this session now on myTechEd Mobile
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.