Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Just how scalable is Grails?

I'm looking to make a website that will probably get some heavy, repetitive traffic. Is grails up to the task?

like image 330
Kenneth Reitz Avatar asked Aug 31 '09 21:08

Kenneth Reitz


People also ask

Is Groovy the same as Grails?

Groovy is an object-oriented programming language for the Java platform. Grails is an open-source web application framework. So, what is the link between them? It turns out that Groovy is a perfect language to use as a domain-specific programming language to build web applications using Grails.

Is Grails Java?

Grails is a Java-based web application framework that uses the Apache Groovy programming language.

How do I apply for Grails?

Go to start.grails.org and use the Grails Application Forge to generate your Grails project. You can choose your project type (Application or Plugin), pick a version of Grails, and choose a Profile - then click "Generate Project" to download a ZIP file. No Grails installation necessary!


1 Answers

I agree with lael, also because it's built on java technologies there are a lot of proven clustering and 'enterprisey' tools available which allow you to easily scale across multiple application services.

The cloud tools around Grails are also becoming very good and make deploying to a cloud like EC2 very easy. I've recently been using Cloud Foundry and found it very good.

As the first poster points out however, you can write a badly performing application in any framework/language. One thing I'd recommend is getting a good understanding of Hibernate which is the underlying persistence library. If you understand how that works, it should help you avoid making any silly mistakes at the DB level. On this side of things, a tool like p6spy is great for checking what the database is up to during normal use. It should help you spot any repetitive queries.

like image 70
leebutts Avatar answered Sep 24 '22 07:09

leebutts