Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEV 315 –Name –Problem –Context –Forces –Solution –Invariant –Examples –Known Uses –Related patterns : Characteristics :

Similar presentations


Presentation on theme: "DEV 315 –Name –Problem –Context –Forces –Solution –Invariant –Examples –Known Uses –Related patterns : Characteristics :"— Presentation transcript:

1

2 DEV 315

3

4

5

6

7

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 :

10

11

12

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

15

16

17

18 Design Evaluation

19

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

23

24

25

26

27

28

29

30

31

32

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

34

35

36

37

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

39

40

41

42

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.

45

46

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.

48

49 Scan the Tag to evaluate this session now on myTechEd Mobile

50


Download ppt "DEV 315 –Name –Problem –Context –Forces –Solution –Invariant –Examples –Known Uses –Related patterns : Characteristics :"

Similar presentations


Ads by Google