Is performance of Grails 2.0 really that awfully low?

浪子不回头ぞ 提交于 2019-12-03 02:02:14

Are you running it with run-app?

http://grails.org/Deployment states:

"Grails should never be deployed using the grails run-app command as this sets Grails up in "development" mode which has additional overheads. "

try deploying your sample app to tomcat. grails run-app is for development only.

in which environment did you start the app? prod? dev?

do you use scaffolding?

i've tried it on my machine (core i7-2600k). a login page with 4 input fields, dynamic layouts and some other things. i've got 525 requests per second in the slower dev environment.

Yeah this is a benchmark by someone who doesn't know alot about grails or his environment; first he is running on Windows know for being bad at resource management which is why most web serves/app serves run in Linux environments.

Second, if he is using 'ab' to benchmark, then he doesn't have his proxy cache setup because after the first hit, the remainder of the hits would be cached and the he is now benchmarking his cache from my understanding of his setup.

So this all just looks like the benchmarking of a bad setup and a poor understanding of Grails. No offense intended.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!