concurrent processing Flashcards

1
Q

what is concurrent processing

A

when tasks are given slices of processor time, to give the illusion that tasks are being performed simultaneously,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is pararrell processing

A

when multiple processors​ are used to complete more than one task simultaneously

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is reactive programming

A

where a user should be able to interact with other applications while other tasks are running in the background

benefit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is availability of services

A

the idea that we shouldnt have a long-running task delaying a short-running task

web browsers use this concept all the time

benefit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is parrellism

A

where a complex program can make use of multicore and/or multiprocessor systems

benefit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is controllability

A

a task requiring preconditions can be suspended and easily resumed later

benefit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is safety

A

there is the possibility of currupting the consistant state of the program. this can become difficult when keeping track of many different tasks concurrently

Disadvantage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is liveness

A

this is where tasks can suspend and wait for eachother Indefinitely which is known as deadlock.

Disadvantage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly