Choose two of the three questions below and provide a well-researched and technically accurate answer.
- Question 1: Explain why choosing a multi-threaded approach is more scalable as compared to a multi-process approach. Describe how threads or processes share data between them.
- Question 2: Assuming a computer has a single processor and a single core with no support for parallel execution, explain why running a multi-threaded program would show no performance improvement. Would inter-process communication be relevant in such a context?
- Question 3: The thread example in the course textbook on page 108 says, “The order in which the various messages are interleaved is nondeterminate and may vary on consecutive runs of the program.” Dr. Tanenbaum is in effect saying the program has a built-in race condition. Explain why the addition of pthread_join(thread[i], NULL) after the status check inside the for() loop solves the race condition.
In your initial post, be sure to provide technical details supported by credible sources. You want to demonstrate that you have developed insights from your reading and are not simply restating the textbook material. Synthesize several sources to make your point and reference those sources so it is clear to other students how you drew your conclusions.In your response posts to two of your peers, identify at least one alternative to their original post. For example, if the original post made by student [A] identified solution [X], a response should identify an alternative to [X] in the form of [Y] or [Z]. So, if the original post addresses Question 1 regarding how multi-threading is more scalable than a multi-process approach, a response should identify some of the drawbacks of multi-threading, or conversely, some of the benefits of multi-processing.
To complete this assignment, review the
Discussion Rubric
document.
Graduate Discussion Rubric
Overview
Your active participation in the discussions is essential to your overall success this term. Discussion questions will help you make meaningful connections
between the course content and the larger concepts of the course. These discussions give you a chance to express your own thoughts, ask questions, and gain
insight from your peers and instructor.
Directions
For each discussion, you must create one initial post and follow up with at least two response posts.
For your initial post, do the following:
Write a post of 1 to 2 paragraphs.
In Module One, complete your initial post by Thursday at 11:59 p.m. Eastern.
In Modules Two through Ten, complete your initial post by Thursday at 11:59 p.m. of your local time zone.
Consider content from other parts of the course where appropriate. Use proper citation methods for your discipline when referencing scholarly or
popular sources.
For your response posts, do the following:
Reply to at least two classmates outside of your own initial post thread.
In Module One, complete your two response posts by Sunday at 11:59 p.m. Eastern.
In Modules Two through Ten, complete your two response posts by Sunday at 11:59 p.m. of your local time zone.
Demonstrate more depth and thought than saying things like “I agree” or “You are wrong.” Guidance is provided for you in the discussion prompt.
Rubric
Critical Elements
Comprehension
Timeliness
Engagement
Exemplary
Develops an initial post with an
organized, clear point of view or
idea using rich and significant
detail (100%)
N/A
Provides relevant and
meaningful response posts with
clarifying explanation and detail
(100%)
Proficient
Develops an initial post with a
point of view or idea using
appropriate detail (90%)
Submits initial post on time
(100%)
Provides relevant response
posts with some explanation
and detail (90%)
Needs Improvement
Develops an initial post with a
point of view or idea but with
some gaps in organization and
detail (70%)
Submits initial post one day late
(70%)
Provides somewhat relevant
response posts with some
explanation and detail (70%)
Not Evident
Does not develop an initial post
with an organized point of view
or idea (0%)
Value
20
Submits initial post two or more
days late (0%)
Provides response posts that are
generic with little explanation or
detail (0%)
10
20
Critical Elements
Critical Thinking
Writing (Mechanics)
Exemplary
Draws insightful conclusions
that are thoroughly defended
with evidence and examples
(100%)
Initial post and responses are
easily understood, clear, and
concise using proper citation
methods where applicable with
no errors in citations (100%)
Proficient
Draws informed conclusions
that are justified with evidence
(90%)
Needs Improvement
Draws logical conclusions (70%)
Not Evident
Does not draw logical
conclusions (0%)
Value
30
Initial post and responses are
easily understood using proper
citation methods where
applicable with few errors in
citations (90%)
Initial post and responses are
understandable using proper
citation methods where
applicable with a number of
errors in citations (70%)
Initial post and responses are
not understandable and do not
use proper citation methods
where applicable (0%)
Total
20
100%