JXInsight/Simz 1.0 – HelloWorld Example
Last week the first public demonstration of JXInsight/Simz was given to the Java User Group in Malaysia with a great response from attendees one of which was a Python developer interested in Java who stated at the end in front of all those in attendance that this metering technology was a very good reason to switch from Python over to Java.
“Just heard William Louth speaking on Java performance monitoring, Simz is a cool product to profile multiple JVMs.” https://twitter.com/yclian/status/223078595290087424
“JINSPIRED has got pretty amazing metering tech for java. Does python have this?” https://twitter.com/cheeming/status/223043946580942851
The demonstration during the meet-up showed how methods dynamic instrumented with calls into our Probes Open API for the purpose of metering (measurement) can be re-routed, with a single system property, to a central Java runtime in which they are replayed in near realtime with the same meter readings performed in the client Java runtime and executed by simulated threads.
The screen recording below shows how the OpenCore management console can connect to a JVM running the JXInsight/Simz service and perform operations including the snapshotting and marking of a metering model replaying the behavior of multiple connected Java runtimes. To the metering runtime within the Simz service there is no distinction between the simulated (replayed) and real application except that code and state of the client application is not present.