2.1.5) Thinking Concurrently Flashcards
(10 cards)
What is concurrent computing?
When multiple processes are run on a single processor by dividing time between the processes
What is parallel computing?
When multiple processes are run over multiple processor cores.
When is parallel computing used?
In games, photo and video editing software and completing multiple tasks at the same time.
What must be considered before using parallel computing?
Dependencies
What are dependencies?
Tasks that rely on other tasks to run or complete
When can batch programs be run?
if tasks do not relate, rely or interact.
What must be used if multiple batch processes are running?
Pipelining using concurrent processing.
Advantages of parallel computing?
Improves time efficiency takes up less storage.
Advantages of concurrent computing?
- Amount completed in a set time increases.
- Time spent waiting is minimised as tasks are swapped
Disadvantages of concurrent computing?
Not suitable for large numbers of users of processes