Throttling to a HTTP Web Site

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Throttling to a HTTP Web Site

Viewing 2 reply threads
  • Author
    Posts
    • #19087

      We are using n HTTP Send Adapter, and have configured an in-process application host just for it. We are having problems throttling to the webiste however.

      By monitoring the performance of the website, we have determined that about 30 concurrent messages it the maximum it can handle with the resources of the machine. However, we cannot seem to get BizTalk to throttle to that number. 

       (As a band-aid, we set the website to only allow 30 concurrent connections, however that means that biztalk gets a 503 Service Unavailalbe from the website when it tries to submit all the messages it has, it logs a warning to the Event Log and then retries based on our retry frequency settings).

       

      How can we get BizTalk to throttle to 30 concurrent connections to a HTTP adapter? 

    • #19139

      If the website is fast enough to process the data, and you can handle the ‘intentional bottleneck’, could you consider using the approach of a sequential convoy type of solution?  I’ve run into web services where they concurrent connection it very limited, although very fast and this worked for me with no major hit on performance.

      -Rich

    • #19158

      Isn’t this where you’d apply the “max connections” in your btsntsvc.exe.config file?  That limits how many concurrent connections go to a specific URL (or all URLs).

       

      <configuration>
        <system.net>
          <connectionManagement>
            <add address = “http://www.contoso.com” maxconnection = “5” />
            <add address = “http://www.northwind.com” maxconnection = “2” />
          </connectionManagement>
        </system.net>
      </configuration>
Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.