排队XAP文件下载请求 [英] Queuing XAP file download request

查看:65
本文介绍了排队XAP文件下载请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个将由> 1000个用户使用的silverlight应用程序。每两周一次,XAP都会升级。第二天早上全部访问页面,每个用户
,Silverlight XAP(应用程序)的副本通过浏览器下载到本地机器。由于用户数量较多,因此可能会有更多的网络流量。我想通过确保对XAP下载
的请求是队列并且每次处理100个请求来对此进行流式处理。让我知道可能性。

提前致谢。 

Naveen

推荐答案

有一种方法,但是当达到该请求限制时,用户将获得503错误代码在IIS中。

There is a way, but users will get 503 error code when that request limit is reached in the IIS.

IIS6有请求队列限制。在IIS管理器的"性能"选项卡上,选中"限制内核请求队列(请求数)"复选框,并在请求队列中键入允许的最大请求数,然后单击"确定"。

IIS6 has request queue limit. In IIS Manager, on the Performance tab, select the Limit the kernel request queue (number of requests) check box and type the maximum number of requests to allow in the request queue, and then click OK.

在IIS7.0 +中: 使用 appConcurrentRequestLimit 设置。  IIS 7.0不允许比
appConcurrentRequestLimit 属性的值更多的并发请求。
http://www.iis.net/configreference/system.webserver/serverruntime

In IIS7.0+ :  Use the appConcurrentRequestLimit settings. IIS 7.0 does not allow more concurrent requests than the value of the appConcurrentRequestLimit property. http://www.iis.net/configreference/system.webserver/serverruntime

注意,一旦达到最大限制,您的用户将收到503.2错误。您需要处理503错误代码

Note, once the max limit reached, your users will get 503.2 error. You would need to handle the 503 error codes


这篇关于排队XAP文件下载请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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