ABSTRACT
On the 2017 Double 11 Global Shopping Festival, Alibaba's cloud platform achieved total sales of more than 25 billion dollars and supported peak volumes of 325,000 transactions and 256,000 payments per second. Most of the cloud-based e-commerce transactions were processed by hundreds of thousands of Java applications with above a billion lines of code. It is challenging to achieve comprehensive and efficient performance profiling for large-scale, cloud-based Java applications in production. We developed ZProfiler, a fine-grained, low-overhead Java performance profiler. ZProfiler allows developers to load a profiling agent on the fly without restarting Java virtual machines, and its profiling information also facilitates code warmup. ZProfiler is developed based on Alibaba JDK (AJDK), a customized version of OpenJDK, and it has been rolled out to Alibaba's cloud platform to support large-scale performance tuning for online critical business.
- Edd Barrett, Carl Friedrich Bolz-Tereick, Rebecca Killick, Sarah Mount, and Laurence Tratt. 2017. Virtual machine warmup blows hot and cold. Proceedings of the ACM on Programming Languages Vol. 1 (OOPSLA) (2017), 52:1--52:27. Google ScholarDigital Library
- Dynatrace. 2018. Deliver unrivaled digital experiences. (2018). https://www.dynatrace.com/Google Scholar
- Todd Mytkowicz, Amer Diwan, Matthias Hauswirth, and Peter F. Sweeney. 2010. Evaluating the accuracy of Java profilers. In Proceedings of PLDI. 187--197. Google ScholarDigital Library
- Oracle. 2014. Java VisualVM. (2014). https://docs.oracle.com/javase/8/docs/technotes/guides/visualvm/profiler.htmlGoogle Scholar
- Sun and IBM. 2002. Tool Report: GCViewer. (2002). http://www.javaperformancetuning.com/tools/gcviewerGoogle Scholar
- Andrew Wilcox. 2006. JIP - The Java Interactive Profiler. (2006). http://jiprof.sourceforge.net/Google Scholar
Index Terms
- Cloud-Scale Java Profiling at Alibaba
Recommendations
Java performance troubleshooting and optimization at alibaba
ICSE-SEIP '18: Proceedings of the 40th International Conference on Software Engineering: Software Engineering in PracticeAlibaba is moving toward one of the most efficient cloud infrastructures for global online shopping. On the 2017 Double 11 Global Shopping Festival, Alibaba's cloud platform achieved total sales of more than 25 billion dollars and supported peak volumes ...
A portable and customizable profiling framework for java based on bytecode instruction counting
APLAS'05: Proceedings of the Third Asian conference on Programming Languages and SystemsPrevailing profilers for Java, which rely on standard, native-code profiling interfaces, are not portable, give imprecise results due to serious measurement perturbation, and cause excessive overheads. In contrast, program transformations allow to ...
Comments