Performance drop after 5 days running web application, how to spot the bottleneck?

后端 未结 8 2189
滥情空心
滥情空心 2021-02-14 12:46

I\'ve developed a web application using the following tech stack:

  • Java
  • Mysql
  • Scala
  • Play Framework
  • DavMail integration (for cale
8条回答
  •  Happy的楠姐
    2021-02-14 13:19

    `visualvm˙ is also a great tool for such purposes, you can connect to a remote JVM as well and see what's inside.

    I suggest you doing this:

    • take a snapshot of the application running since few hours and since 5 days
    • compare thread counts
    • compare object counts, search for increasing numbers
    • see if your program spends more time in particular methods on the 5th day than on the 1str one
    • check for disk space, maybe you are running out of it

提交回复
热议问题