QUESTION 5 Which concurrency pattern you should use to implement a high-performance multi-threaded server applications? 1.Reactor 2.Monitor 3.Leader/Followers 4.Active Object
QUESTION 5
Which concurrency pattern you should use to implement a high-performance multi-threaded server applications?
1.Reactor
2.Monitor
3.Leader/Followers
4.Active Object
QUESTION 6
Which of the following suggests the use of a Monitor Object pattern?
1.When Multiple threads of control accessing the same object concurrently and we want to ensure that only one method at a time runs within an object.
2.When we want to decouple method execution from method invocation
3.In an event-driven application where multiple service requests arriving on a set of event sources must be processed efficiently by multiple threads that share the event sources.
4.When we want to decouple asynchronous and synchronous service processing in concurrent systems, to simplify programming without unduly reducing performance.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps