Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grails 2.0.3 #44

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
Open

Grails 2.0.3 #44

wants to merge 11 commits into from

Conversation

divideby0
Copy link

Apologies for the original pull request, I selected the wrong branch to merge into...

I've prepared a Grails contribution per the issue request here: #3.

Grails is a popular framework for the Java Virtual Machine. Most Grails app code is written in the Groovy language. Grails is backed by SpringSource/VMWare. While similar in purpose and design to Rails or Django, it takes advantage of Spring and Hibernate for some of its heavy lifting.

I did some testing on an EC2 large instance per the specs in the README. Each of the tests was sample with ten rounds of ab -n 10000 -c 10 and here are the results:

average string times: 1658.94 reqs/sec
average template times: 1410.57 reqs/sec
average sql times: 697.57 reqs/sec

If these numbers remain consistent with your original setup, this puts Grails slightly above Rails and Django performance, though not quite as fast as some of the micro-frameworks.

If you want to try it out for yourself, I've bundled an AMI with everything ready-to-go at ami-1a578c73. There's a grails-benchmark.py script in the /home/shootout folder that should run all the tests for you.

@seedifferently
Copy link
Owner

Thanks. Things are going slower than I had hoped on my end but I will look into merging this into the next update.

@divideby0
Copy link
Author

Cool. I may provide more straightforward directions for deploying and
testing via screencast sometime soon. I'm also interested in creating
examples for lift, scalatra, and noir at some point.
SpringMVC+Hibernate might be a good baseline example for the
traditional "enterprise" stack as well. I don't have a ton of
experience with fabric, but I might be able to at least provide a bash
script for getting everything set up and configured.

Sent from my iPad

On Apr 23, 2012, at 1:50 PM, Seth Davis
[email protected]
wrote:

Thanks. Things are going slower than I had hoped on my end but I will look into merging this into the next update.


Reply to this email directly or view it on GitHub:
#44 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants