NHibernate在网上银行应用程序上的性能 [英] NHibernate Performance on an internet banking application

查看:78
本文介绍了NHibernate在网上银行应用程序上的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我们有一个实施Internet Banking网站的项目,并且我们正在对其上使用Nhibernate进行评估. ,NHibernate是否适合此类应用程序,在这种应用程序中,性能很重要,并且会有大量用户同时进行操作?

Currently we have a project to implement an Internet Banking site, and we are evaluating using Nhibernate on it. ¿Is NHibernate suitable for this kind of application, where performance is important and there will be a large quantity of users doing operations simultaneously?

¿您知道在这种环境中使用NHibernate的成功故事吗?

¿Do you know any successfull stories of using NHibernate in this kind of environment?

我认为NHibernate仅在使用不正确时才会变慢,我认为我们可以通过大量调整,最佳实践和常识来使用它.

I think NHibernate is slow only when is used incorrectly, and I think we can use it with a lot of tweaking, best practices and common sense.

更新:不久前我们就该项目与我们联系,我们仍在收集定义规范的要求.该应用程序适用于我们国家的中小型银行,因此他们希望同时拥有大约200-300个用户.

UPDATE: We were contacted for the project not too long ago, and we are still collecting requirements to define the specs. The application its for a small to medium bank in our country, so they expect around a 200 - 300 users as a top simultaneously.

我非常确定该数据库将位于SQL Server 2005中,并且将是使用Web服务访问数据层的n层应用程序.

Im pretty sure the DB will be in SQL Server 2005, and will be a n-tier application using webservices to access the data layer.

推荐答案

多年来,我的团队一直在要求高吞吐量的系统中使用NHibernate,而没有出现任何问题. NH在一开始就非常有效,并且可以对何时以及如何重构对象进行细粒度的控制.

My team has been using NHibernate in a system requiring high throughput for years without a problem. NH is fairly efficient to begin with, and provides fine-grained control over when and how objects are reconstituted.

话虽如此,我们不知道您问题的具体情况,因此我们无法做出某些预测.在进行自己的投入之前,请执行缩放测试.

With that said, we don't know the specifics of your problem, so we can't make certain predictions. Perform scaling tests before you commit yourself.

这篇关于NHibernate在网上银行应用程序上的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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