chap10Run-time+Architecture20170126.ppt - Chapter 10 Describe the Run-time Architecture Agenda \u2022 Objectives \u2022 Context in the Run-time Architecture

chap10Run-time+Architecture20170126.ppt - Chapter 10...

This preview shows page 1 - 13 out of 42 pages.

Chapter 10 Describe the Run-time Architecture Agenda Objectives Context in the Run-time Architecture Describe the Run-time Architecture Steps Exercises
Image of page 1
19/12/5 Objectives: Describe the Run-time Architecture Define the purpose of the Describe the Run-time Architecture activity and when in the lifecycle it is performed Demonstrate how to model processes and threads Explain how to model what classes and subsystems are mapped to processes and threads Define the rationale and considerations that support architectural decisions
Image of page 2
19/12/5 Chapter 10 Describe the Run-time Architecture Agenda Objectives Context in the Run-time Architecture Describe the Run-time Architecture Steps Exercises
Image of page 3
19/12/5 Describe the Run-time Architecture in Context
Image of page 4
19/12/5 Describe the Run-time Architecture Overview
Image of page 5
19/12/5 Key Concepts: The Process View The Process View is an “architecturally significant” slice of the processes and threads of the Design Model
Image of page 6
19/12/5 What Is Concurrency? Example of concurrency at work: Parallel roads require little coordination Two-way roads require some coordination for safe interaction Intersections require careful coordination
Image of page 7
19/12/5 Why Are We Interested in Concurrency? Software might need to respond to seemingly random externally generated events Performing tasks in parallel can improve performance if multiple CPUs are available – Example: Startup of a system Control of the system can be enhanced through concurrency
Image of page 8
19/12/5 Realizing Concurrency: Concurrency Mechanisms To support concurrency, a system must provide for multiple threads of control Common concurrency mechanisms – Multiprocessing ◆ Multiple CPUs execute concurrently – Multitasking ◆ The operating systems simulate concurrency on a single CPU by interleaving the execution of different tasks – Application-based solutions ◆ the application software takes responsibility for switching between different branches of code at appropriate times
Image of page 9
19/12/5 Chapter 10 Describe the Run-time Architecture Agenda Objectives Context in the Run-time Architecture Describe the Run-time Architecture Steps Exercises
Image of page 10
19/12/5 Describe the Run-time Architecture Steps Analyze concurrency requirements Identify processes and threads Identify process lifecycles Map processes onto the implementation Distribute model elements among processes
Image of page 11
19/12/5 Concurrency Requirements Concurrency requirements are driven by: – The degree to which the system must be distributed. – The degree to which the system is event driven. – The computation intensity of key algorithms.
Image of page 12
Image of page 13

You've reached the end of your free preview.

Want to read all 42 pages?

  • Winter '18

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors