随着时间的推移,Grails应用性能会下降 [英] Grails app performance degrades over time

查看:71
本文介绍了随着时间的推移,Grails应用性能会下降的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,在我的Grails应用程序部署了大约2周后,性能明显下降,我必须重新部署。我正在使用Spring Security插件和缓存用户。我的第一个倾向是它与这个和会话缓存大小有关,但我不知道如何去验证这个。

I have noticed that after my Grails app has been deployed for about 2 weeks, performance degrades significantly, and I have to redeploy. I am using the Spring Security plugin and caching users. My first inclination is that it has something to do with this and the session cache size, but I'm not sure how to go about verifying this.

这听起来像是我在正确的轨道上吗?有没有其他人经历过这个并缩小了问题的范围?任何帮助都会很棒。

Does it sound like I'm on the right track? Has anyone else experienced this and narrowed down the problem? Any help would be great.

谢谢!

推荐答案

安装插件。在我们的案例中,它帮助找到了GC的问题。

Try to install Javamelody plugin. In our case it helped to find problem with GC.

这篇关于随着时间的推移,Grails应用性能会下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆