1. 程式人生 > >小網站架構優化:從100併發抗到4000併發

小網站架構優化:從100併發抗到4000併發

    <httpModules>      <add name="UrlRewrite" type="Web.UrlRewrite.UrlRewrite,Web.UrlRewrite" />      <remove name="OutputCache" />      <!--<remove name="Session"/>-->      <remove name="WindowsAuthentication" />      <remove name="FormsAuthentication" />      <remove name="PassportAuthentication" />      <remove name="RoleManager" />      <remove name="UrlAuthorization" />      <remove name="FileAuthorization" />      <remove name="AnonymousIdentification" />      <remove name="Profile" />      <remove name="ErrorHandlerModule" />      <remove name="ServiceModel" />      <!--<remove name="UrlRewrite"/>-->      <!--<remove name="DefaultAuthentication"/>-->    </httpModules>