Outline the benefits and trade offs that might result from concurrent processing in a particular situation.
2.1.5 Thinking Concurrently
Thinking Concurrently — Note 2 of 2
Candidates need to understand the benefits and trade offs of concurrent processing and apply these to a given scenario, including why it would be used and what problems might arise.
Concurrent processing can make programs faster and more responsive, but it adds complexity and is not always possible or worthwhile. You need to weigh up the benefits and trade-offs for a given scenario.
Two concurrent processes access shared data at the same time, so the result depends on the timing and may be incorrect.
Two or more processes each wait for a resource held by another, so none can continue.
A process never gets access to a resource it needs because others are always given priority.