For Programmers: Free Programming Magazines  


Home > Archive > Microsoft Webservices > February 2006 > Web Service connection re-use









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Web Service connection re-use
pmoon

2006-02-22, 7:02 pm

I have a PocketPC based client appliation for a desktop Visual FoxPro
app. The client is written in C# using the compact framework 2.0 and
communicates with the database via SOAP web services.

I have run into a problem with connection limits. Many of my customers
are using Windows XP Pro because there are typically only two or three
client workstations. By default, IIS is only configured to allow 10
http connections concurrently. I have discovered how to increase that
to 40, which is the hard coded upper limit to XP Pro.

The problem I am running into is that connections are not efficiently
recycling. With 8 PocketPC clients calling the web service once every 3
seconds, I am consistantly going above the connection limit of 40
connections. I have tried decreasing the connection timeout in IIS
admin to 5 seconds, but it doesn't seem to help. I still have
connections that are live for 30 seconds after I close the application.
I tried to disable keep-alives, which kills each connection
immediately after it is finished, but then the web service doesn't work
at all.

Is there any way I can solve this without adding the cost of a full
blown server to each installation? Is there any way to force the client
to re-use connections? Has anyone dealt with this in the past?

Thanks,

Paul R. Moon
Business Software Solutions
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com