How to optimize JVM to process 175k transactions per sec?

Sanhong Li, JVM at Alibaba talks about how his company managed to process giant transactions amount at the world's largest online shopping event
04 August 2017   2385

Alibaba Group is a Chinese public company working in the field of Internet commerce, the owner of B2B web portal Alibaba.com. This is one the world-largest internet companies. 

Company manages:

  • Alibaba.com 
  • Alibaba Pictures 
  • AliExpress.com 
  • Taobao.com 
  • Alipay 
  • 1688.com
  • Tmall.com
  • Juhuasuan
  • eTao
  • Alibaba Cloud Computing
  • China Yahoo!

On 11.11.16, Alibaba beat it own record - company was able to process 175 000 transactions per second. A lot of Alibaba’s e-Commerce app use Java. To cater for the specific needs to run these applications, team identified the requirements and optimized these features on the customized version of HotSpot (OpenJDK based). 

At this report, Sanhong talked about: 

  • how they characterize workloads to identify specific needs;
  • optimization and customizing HotSpot for Java apps.

Alibaba's team identified three specific features useful for their needs:

  • put multiple containers into one JVM instance, which allows to deploy many small Java applications in large scale, across data centers,
  • use coroutines (from Da Vinci Machine project) to reduce context switches,
  • implement quick Java warmup to obviate the need for "warming-up" occurred in initialization phase of the eCommerce applications

Tiobe February 2019 Index Released

Groove language is in top 20 again; it's popularity increased due to Gradle; Java is 1st
11 February 2019   326

In February, search engine statistics showed that the dynamically typed Groovy language is gaining popularity again. As analysts of TIOBE noted, it was already in the top twenty of the TIOBE index in 2016 on the wave of interest in the Jenkins system for continuous integration. Now it is pushed forward by the Gradle assembly automation system.

TIOBE Februry 2019 Index
TIOBE Februry 2019 Index

More analysts noticed that the language Hack this month entered the top 50, and TypeScript left it (in their opinion, temporarily). Since February last year, Python and C ++ swapped places, and again topped the list with Java and C.