Just how scalable is Grails?

前端 未结 5 1785
孤街浪徒
孤街浪徒 2021-02-19 21:10

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

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-19 21:45

    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.

提交回复
热议问题