Get flash to fully experience Pearltrees
This article was selected as one of DZone's most popular, high-quality posts of 2011. It is now republished as part of a series that will revisit the top articles of 2011 throughout the month of January 2012. Overview Java has many areas which can be slow. However for every problem there is a solution.
AppDynamics is the next generation application performance management solution that simplifies the management of complex, business-critical apps. No one can stand slow applications—not IT Ops and Dev teams, not the CIO, and definitely not end users. With AppDynamics, no one has to tolerate slow performing apps ever again. AppDynamics customers include Netflix, Priceline, TiVo, AMICA Insurance, Hotels.com, StubHub, Staples, Insight Technologies, and Cornell University. Are you: An architect or developer who needs to do load testing in development?
In my current position as Performance Engineer and in my past position as a Middleware Architect I did quite some work with closed source performance monitoring and analysis tools (i.g. CA Wily and later AppDynamics). These tools are both expensive but also do quite a good job most of the times. In the same field there are more tools, but all in the same price range for as far as I know. To name some: Foglight, Dynatrace, Newrelic, JXInsight, Tivoli Performance Viewer, Compuware Gomez. Around 2006 several initiatives to create open source performance monitoring tools for java production environments started to appear.
ver. 1.2 (20101020) BTrace is a safe, dynamic tracing tool for Java. BTrace works by dynamically (bytecode) instrumenting classes of a running Java program. BTrace inserts tracing actions into the classes of a running Java program and hotswaps the traced program classes. BTrace Terminology
We Recommend These Resources Last month, Terracotta told DZone that they were working on a module for Ehcache and Hibernate users that would bypass the Java garbage collection bottleneck. The severely limited heap size allowed by the Java garbage collector (if you don't want to have significant performance issues) is a problem that has plagued the industry for years. Terracotta believes that today's memory requirements are finally forcing many to address this issue , and now Terracotta has their own answer - BigMemory. DZone interviewed Terracotta CEO Amit Pandey about his company's solution to the GC problem in Java.
Voici la réponse à une question posée par un développeur : comment puis-je trouver la charge moyenne du ou des CPU d’un serveur en Java ? Et le tout, sans écrire de JNI ou d’appel natif ? Java 5 a introduit avec JMX des MBeans simples pour la gestion de mémoire, l’analyse des Threads java, l’accès au système d’exploitation ou encore les paramètres du processus Java en cours. Dans le package java.lang.managment nous avons les beans suivants : java.lang.management.ClassLoadingMXBean java.lang.management.CompilationMXBean java.lang.management.MemoryManagerMXBean o java.lang.management.GarbageCollectorMXBean java.lang.management.MemoryMXBean java.lang.management.MemoryPoolMXBean java.lang.management.OperatingSystemMXBean java.lang.management.RuntimeMXBean java.lang.management.ThreadMXBean Pour notre problème de CPU et de charge, le bean OperatingSystemMXBean permettra de lire quelques informations sur le système d’exploitation.