SLR 22/ Thinking Concurrently Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Advantages of Concurrent Processing

A

Reactive programming​,
User is able to interact ​ with applications while other tasks are running.
Availability of services​,
Long-running tasks do not need to delay short-running ones.
Parallelism,Complex programs can make better use of multiple resources in multi-core processor systems.

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

Disadvantages of Concurrent Processing

A

Safety​.“Nothing bad ever happens.”​Concurrent tasks should not be allowed to corrupt the consistent state of a program.”

Resource consumption​,
Threads can be expensive. ​
There is an overhead associated ​with scheduling, switching threads and synchronizing them.

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