JVM – Performance Monitoring Set up a application in your local machine/environment, for us to monitor it using tools Download and Extract Apache Tomcat (a java based application server) Setup Java, JRE, Path and Tomcat environment variables Start Tomcat by …
JVM – Heap Structure Inside JVM, there exist separate memory spaces (Heap, Non-Heap, Cache) in order to store runtime data and compiled code. Heap Memory Heap is divided into 2 parts Young Generation Old Generation Heap is allocated when JVM …
Performance Engineering – Related Java Concepts JVM Architecture – Understanding, Validating the JVM components Leverage the jVisualVM tool @ {JDK}/bin This tool will be capturing the metrics of any tool/software that internally uses JVM Eg: If we try to open …
JVM – Thread Pooling Threads allows a program to work parallelly on different tasks at the same time. In a single threaded application, only one thread can execute, meaning only one task can run at any point in time. If …
Performance Engineering – Life Cycle Development – Code Optimization Along with development tasks by development team, performance team can contribute towards Code Optimization methods[How much ever to the extent possible] like Check if redundant code exists, avoid it Check if …
Performance Engineering – GC – Types Types of Garbage Collectors Garbage Collection tracks each and every object available in the JVM heap space, and removes the unused ones. Basically, GC works in two simple steps, known as Mark and Sweep: …
Performance Engineering – Performance Engineer – Activities Common problems in Production environment When CPU reaches its 100%, we will get RequestTimedOut Errors, by which the response time increases much High memory utilization – Elastic Search / Redis caching or …