对于一台 IIS 服务器而言,每秒 30 次调用是否很多?

发布于 2024-08-26 21:44:47 字数 620 浏览 2 评论 0原文

我们有一个 RIA 应用程序,可供 300 个客户端在 Intranet 环境中同时使用。它们总共每秒对 IIS (asp.net) 发出 30 次调用(实际上是 60 次,但调用在两个 IIS 服务器上进行负载平衡)。一半的调用是获取资产(使用缓存配置文件,因此大多数时候都会命中缓存),另一半是将数据保存到 SQL 服务器。

检索资产是通过 aspx 页面完成的。通过 WebORB、asp.net 和 Sql Server 保存数据。因此WebORB需要一些处理(amf解码,GZIP,...)。我们还使用Spring.NET,并且一些容器对象具有请求范围(不是很多)。

IIS 服务器 -->虚拟机,4 个 CPU,2 GB RAM。它们基于 Windows 2008 x64 SP2 企业版。

使用的是Sql Server 2008。

显然,两个 IIS 服务器的 CPU 始终在 60-70% 左右。

现在,我的问题是,60-70% 的负载是否可以接受?我们如何才能将其降低到更低的百分比(也许只使用一台 IIS 服务器)?

资产最大可达 20mb,但平均约为 30kb。 (60-70%的负载是通过30kb左右的资产实现的)。

使用 weborb 保存的数据非常小(2kb)并且只是一个对象。

We have a RIA application that 300 clients concurrently use in an intranet environment. Together they make 30 calls / second to IIS (asp.net) (actually it's 60 but calls are loadbalanced over two IIS servers). Half of the calls is getting an asset (Caching Profile is used so most of the time cache is hit), the other half is saving data to a sql server.

Retrieving an asset is done with a aspx page. Saving the data happens via WebORB, asp.net and Sql Server. So some processing is needed by WebORB (amf decoding, GZIP, ...). We also use Spring.NET, and some of the container objects have a request scope (not a lot).

IIS servers --> Virtual machines, 4 CPU, 2 gb RAM. They are based on Windows 2008 x64 SP2 Enterprise Edition.

Sql Server 2008 is used.

Apparently CPU of both IIS serers is constantly around 60-70%.

Now, my question, is the load of 60-70% acceptable and how could we possible bring that down to less % (maybe using only one IIS server)?

Assets can be up to 20mb, but on average, they are about 30kb. (the load of 60-70% is achieved with assets around 30kb).

The data that gets saved with weborb is very small (2kb) and is just one object.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文