473,734 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web service Performance

I recently deployed a Web Service (IIS .0 on Windows Server 2003). About 400
clients are using it to synchronize some datas from clients database to web
server database, so they are calling web service methods very often. After a
few hours, the replies from the server are very slow, and I have at the end
osme thread aborted errors generated by my web service.
My first question is : is that better to send 1 query with 10 rows of data
or 10 queries with 1 row of data ??
My second question is : what are the settings to change into web.config to
manage a lot of web service clients ??
Oct 28 '08 #1
2 1512
"Pierre" <Pi****@discuss ions.microsoft. comwrote in message
news:6D******** *************** ***********@mic rosoft.com...
I recently deployed a Web Service (IIS .0 on Windows Server 2003). About
400
clients are using it to synchronize some datas from clients database to
web
server database, so they are calling web service methods very often. After
a
few hours, the replies from the server are very slow, and I have at the
end
osme thread aborted errors generated by my web service.
My first question is : is that better to send 1 query with 10 rows of data
or 10 queries with 1 row of data ??
My second question is : what are the settings to change into web.config to
manage a lot of web service clients ??

The first thing you need to do is find out what the problem is. You have no
way of knowing whether changing the way you send data will make things
better, or worse.
--
John Saunders | MVP - Connected System Developer

Oct 29 '08 #2


"John Saunders" wrote:
"Pierre" <Pi****@discuss ions.microsoft. comwrote in message
news:6D******** *************** ***********@mic rosoft.com...
I recently deployed a Web Service (IIS .0 on Windows Server 2003). About
400
clients are using it to synchronize some datas from clients database to
web
server database, so they are calling web service methods very often. After
a
few hours, the replies from the server are very slow, and I have at the
end
osme thread aborted errors generated by my web service.
My first question is : is that better to send 1 query with 10 rows of data
or 10 queries with 1 row of data ??
My second question is : what are the settings to change into web.config to
manage a lot of web service clients ??


The first thing you need to do is find out what the problem is. You have no
way of knowing whether changing the way you send data will make things
better, or worse.
--
John Saunders | MVP - Connected System Developer

Hi,
The problem is : on the WebServer the process W3wp.exe is using a lot of
memory, the memory used always increase. after few hours, the server is not
responding, the client call the ws method, and there's no answer from the web
server. In the Web service log message I have a threadAbortExce ption the app
pool. On the server w3wp throw anexception logged in the events viewer : the
request has been aborted (error code 3001) ; exception type : HtpException.
Sometimes after this log I'm finding anoter one which is :ISAPI interface
'C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\aspnet_isapi. dll' blocked. If
we do a IISRESET, everything is restarting and queries response are going
back quickly to clients (On this pool thre's is just the web service, there's
other pools running).
Find the settings I had in the web.config of the web service :
<httpRuntime executionTimeou t="600" />
And in the machine.config :
<system.web>
<processModel maxWorkerThread s="100" maxIoThreads="1 00"
minWorkerThread s="50"/>
<httpRuntime minFreeThreads= "352" minLocalRequest FreeThreads="30 4"/>
</system.web>

This situation appears about twice a day. When I check in PerfMon the
number of waiting queries increase.

Where can I find the limits of http clients, http queries that IIS can
support, and the settings to optimize into IIS.
I never had this problem when I had about 50 clients connected, but now I
have about 200, and in the near future it will be 500.

Thanks to advice me.
Regards

Pierre
Oct 29 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3683
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added to it, using installutil.exe OR is it must to have an installer to the service project to be able to
4
386
by: DraguVaso | last post by:
Hi, I developped a Windows Service in VB.NET (2005). I need to have it installed two times on 1 machine. When I want to install it a second time, the setup doesn't allow me to install it again in an other directory, but only to repair or remove the other version. I get arround this by simply copying the files of the first installed in a second directory.
1
1384
by: A.J. | last post by:
I'm writing an application that will run as a Web Service. It will communicate with some old COM DLLs. These COM objects need to be called on their own thread. In a regular Web Service I would create a pool of objects that I call so I don't have to instantiate, log in, etc, on each Web Service call. How can I do this? Are there performance issues to keeping an object on a thread for an extended period of time? Do I have to write...
9
7271
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service stopping. Please advise how to stop the service. Thanks, SP
2
2650
by: Randall Powell | last post by:
I am in the process of developing a Windows Service which will: (1) monitor multiple network shares; (2) marshal text file transfers into an SQL Server 2000 instance; and (3) provide messaging services via email and a customized event log viewer. An additional goal is to have the service provide a visual status indicator via an icon to be located in the Taskbar status area. The NotifyIcon component appears to be a logical candidate and worked...
0
903
by: Louis Yeung | last post by:
Hi, Microsoft stated that ASP.NET calling web service, especially long delayed service, will have performance issue. I just need to confirm that web service hosted by ASP.NET/IIS calling another web service is also subject to the same performance issue. Is there any major difference between ASP.NET and Web Service running on IIS from a performance angle. Thanks for your support.
8
14312
by: =?Utf-8?B?RGF2aWQrKw==?= | last post by:
Hi, I have been developing Web Services in VS2005. Usually I use the built in server in VS2005 to test and develop the Web Service. However I now want to make this Web Service available to other computers (and applications) in our local company network. When the service runs it accesses an Oracle database and pulls some data out. It works fine when running in VS2005 server. To allow the Web Service to
4
1910
by: Spam Catcher | last post by:
Hi all, I'm building a multi-tier web application that is primarily driven by a web service back end. Are there any configuration settings I should know about to increase the performance of the site? For example, if the site is going to service 100+ users, do I need to do anything special to ensure IIS can contact my back-end webservice at the
9
1617
by: Ryan Liu | last post by:
Hi, I use C# wrote an Client/Server application. In production environment, will be 130 clients (Windows XP) connect to a Server (Windows 2000/2003 Server) thought TCP/IP socket in a local 100M LAN. "Server" is running as a Windows service. The is one thread running for one clinet in the server. Sometime the user tells me the Sever will be slow after it runs for 1-2 days.
1
2761
by: Nadeem Ashraf | last post by:
Hi, We are developing a web based application "UltraLearn.com" with a mix of junior/senior Microsoft technologies. That includes Microsoft Silverlight, ASP.Net Ajax and WCF/WF. Recently, we have hit the wall with some of tested/proven technologies. The problem statement follows: We are calling a WCF Service from our site pages to track user navigation. The service in turn makes call to a gateway/server (using HttpWebRequest,...
0
8776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9236
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.