Describe and sample a method that is useful when you want to monitor the results of external payment integration, critical method processing, etc. in real time without modifying the original source while servicing a Java Application.
II. Requirements
1. What to use
WhaTap Java or Kubernetes Monitoring
WhaTap Java Application Agent
WhaTap Flex Board
Your Application or Sample Application
2. What to develop
WhaTap Weaving
III. Viewing Sampled Results
1. Programs used
Server.jar : sample source for socket load testing from an acquaintance who specializes in performance testing
Jmeter : Open source load testing tool trained by the above acquaintance
weaving.test.server-0.1.jar : WhaTap Weaving
WhaTap Java Monitoring + Flex Board
2. Performance metric descriptions and real-time charting
1) Measurement Methods
addClient : When a new user joins, create a Thread on the server and attach a connection via addClient
removeClient : When a user disconnects, the thread disconnects through removeClient.
message : Server and Client exchange Conn/Disconn/SendMsg/Ack/Nack, etc. and this method is called to output the corresponding message in the GUI window.
2) Measurement performance items
Execution count: The number of executions of the method (within a 5-second period)
Total Execution Time: Total execution time of the method (in 5-second increments, ms)
Maximum execution time (once): Maximum execution time of the method (within 5 seconds)
Exception Catch Count: The number of times a throwable is caught to catch an error (within a 5-second period).