You are the operations architect for a large online retailer. During peak times, your set of
monitored applications exhibits non-reproducible errors. The data center is growing at 50% per
annum, while your team headcount remains constant.
Which method would you use to implement an affective monitoring strategy?
A.
Use the Visitor pattern to collect per-JVM statistics and store them centrally.
B.
Use the Strategy pattern to encapsulate collection logic for each JVM.
C.
Use the Thread Tracker to monitor the JVMs directly.
D.
Use the Observer pattern to monitor each JVM directly.
Observer pattern can be used for a monitoring strategy
I would have gone for C.
C
A
D
C.
I think this points to it
https://www.mirkosertic.de/blog/2012/07/thread-tracking-or-how-to-know-who-causes-an-error/
C only
D is correct answer.
Ref : https://adtmag.com/Articles/2005/03/01/Design-Patterns-JMX-for-Manageability.aspx?Page=2
https://adtmag.com/Articles/2005/03/01/Design-Patterns-JMX-for-Manageability.aspx?Page=1