开发者

Grails: enterprise level Grails [closed]

开发者 https://www.devze.com 2022-12-29 14:20 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, r开发者_JAVA百科eferences,or expertise, but this question will likely so
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, r开发者_JAVA百科eferences, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I am trying to persuade my boss about using Grails. I tell him it is the most productive way to implement our shopping web site.

But he has doubts about its scalability when traffic gets higher and higher.

So can you give examples of enterprise level web sites with notable traffic implemented in grails.

Also is there anything that I have to take into account when building such an enterprise level web site that will probably have high traffic.

Note: We may expect 10K daily hit.


Take a look at the Grails Success Stories. The most popular sites may be: Sky.com and mp3.walmart.com


Groovymag has some good information on this but costs $5 per issue. This issue has both an interview with a guy from Sky which is a very large site that uses grails as well as information in implementing an e-commerce site using Grails. The main point I got from reading the interview from one of the sky.com developers is that they have no problem scaling to millions of page views by smart use of caching. Although your site may have 10000 views a day most of those views should not need to access the database. You can cache information on each product available in order to limit the number of queries necessary when viewing the site. This should reduce the traffic on your database and make GORM less of a possible bottleneck. I have not been able to find out how GORM performs under heavy load, but if worse comes to worse you could write your performance critical database code using pure JDBC calls and put it in a service.


If you do the math, 10K daily hits is less than one hit per second- even if all 10K hits happened during a 3 hour "peak traffic" window. Even assuming you meant "page renders" and not hits, you are talking about a really miniscule amount of traffic.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号