Ask a Question related to ASP.NET Web Services, Design and Development.
-
Nirajshah #1
Performance tuning in web service
I am using a web service for retrieving the data from SQL Server
table having 29,000 records in a datagrid placed on the windows form
in .net. It takes about 36 seconds to retrieve the data eventhough
the service is running on a local computer. Without using service ,
the data is fetched within 5 seconds. So in this case what can I do
to reduce the time taken using the web service ?
Nirajshah Guest
-
Performance Tuning: stand-alone vs. enterprise
We had significant performance issues where our Jrun began to consume more and more of the processor as it tried to serve pages to 300 or so users. ... -
Performance tuning on RedHat Enterprise Linux 3
On Tue, 07 Dec 2004 07:50:44 -0500, P.J. Josh Rovero <rovero@sonalysts.com> wrote: We have seen several boxes have kswapd go crazy (near 100%... -
Web service performance
Hi my objective is to create a web service which will be running on a remote PC.The client PC will host a web application. The request/ response... -
Clarification on SQL performance tuning....
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ... -
performance tuning at process level
j wrote: Dont run Sar every second ! The result you get will be wrong ! The result will include to much of sar itself ! Sar collect mean... -
Ken Dopierala Jr. #2
Re: Performance tuning in web service
Hi,
When you retrieve the data without using the webservice are you going
straight to SQL Server? If so, here is what I'm thinking:
1. SQL is doing the query pretty fast and dishing it back to you. The
dishing probably takes a little over 4 seconds.
2. In a perfect world, using the web service, you should get the data in a
about 10 seconds. We can't expect the WS to dish the data after the query
processes faster than SQL.
3. The web service must serialize the data into XML. This increases the
size big time.
So here is where we are at:
The serialization is going to take much longer than the query. The dishing
of the serialized data is going to take much longer.
Here is how I would solve this problem:
First, I would time the operations to see which ones are taking the longest.
Second, I would either fix, or find new solutions to these problems.
Time your calls and see where the extra 26 seconds is occuring. Once you
know that, report back and let's sit down and figure out a solution. Good
luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
[url]http://www.webhost4life.com/default.asp?refid=Spinlight[/url]
If you sign up under me and need help, email me.
"Nirajshah" <niraj61@yahoo.co.in> wrote in message
news:4a6a9534.0410150617.1df51ad8@posting.google.c om...> I am using a web service for retrieving the data from SQL Server
> table having 29,000 records in a datagrid placed on the windows form
> in .net. It takes about 36 seconds to retrieve the data eventhough
> the service is running on a local computer. Without using service ,
> the data is fetched within 5 seconds. So in this case what can I do
> to reduce the time taken using the web service ?
Ken Dopierala Jr. Guest
-
Arnthor #3
RE: Performance tuning in web service
Hi Nirajshah
Are you allowing anonymus access to the webservice or are you using windows
security mechanism? If you are that puts a big performance cost on your
webservice. One way around it is doing the following:
wsProxy.UnsafeAuthenticatedConnectionSharing = true;
wsProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
wsProxy.ConnectionGroupName = [windowsusername];
Br.
Arnthor
"Nirajshah" wrote:
> I am using a web service for retrieving the data from SQL Server
> table having 29,000 records in a datagrid placed on the windows form
> in .net. It takes about 36 seconds to retrieve the data eventhough
> the service is running on a local computer. Without using service ,
> the data is fetched within 5 seconds. So in this case what can I do
> to reduce the time taken using the web service ?
>Arnthor Guest



Reply With Quote

