Grails的可扩展性如何? [英] Just how scalable is Grails?

查看:87
本文介绍了Grails的可扩展性如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个网站,可能会得到一些沉重,重复的流量。 Grails可以完成任务吗?

解决方案

我同意lael,也是因为它建立在java技术上,有很多证明集群和'企业'工具,使您可以轻松扩展多个应用程序服务。



围绕Grails的云工具也变得非常好,可以像部署云一样EC2非常容易。我最近一直在使用Cloud Foundry,并发现它非常好。

然而,第一张海报指出,您可以在任何框架/语言中编写性能不佳的应用程序。我推荐的一件事就是对Hibernate这个潜在的持久性库有一个很好的理解。如果你明白这是如何工作的,它应该可以帮助你避免在数据库层面犯下任何愚蠢的错误。在这方面,像p6spy这样的工具非常适合在正常使用时检查数据库的性能。它应该可以帮助您发现任何重复的查询。


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

解决方案

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.

这篇关于Grails的可扩展性如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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