简体   繁体   English

带有许多请求的.NET Web服务

[英].NET web service with many requests

i have a .net web-service in some server. 我在某些服务器上有一个.net Web服务。 this web-service gets lots of requests per day. 该网络服务每天都会收到大量请求。 there is an android project that allot of people using it and exchange data with this ws. 有一个android项目,分配使用它的人并与此ws交换数据。 something like 20 requests per minute. 大约每分钟20个请求。

recently im getting allot of timeouts from the server and i cant find out what is the reason. 最近我正在从服务器分配超时,我找不到原因是什么。 did i write the web.config wrong? 我写的web.config错误吗? or it something else? 还是其他?

here is my system.web on my config: 这是我在配置中的system.web:

    <system.web>
    <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
<httpRuntime executionTimeout="9000" maxRequestLength="500000"/>
    <webServices>
        <protocols>
            <add name="HttpSoap12"/>
            <add name="HttpSoap"/>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
</system.web>

what can i do to improve? 我该怎么做才能改善? can i set max requests or max bandwidth? 我可以设置最大请求数或最大带宽吗?

您需要设置debug =“ false” Debug =“ true”强制Web服务器运行单线程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM