Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2003

Tip: Looking for answers? Try searching our database.

WebService Performance...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mirco Kaffsach - 24 Nov 2003 17:21 GMT
Hi @all,

I've got some problems with my WebService...

The WebService runs more than 30 seconds an the site is frequently visited
( nearly 1200 times a minute )

The problem is, that the server works fine if the requestlimit is about 10
requests, but if it grew up to more than a specific number it slows down
extremly.
Why does this happen. I think the webservice take some requests, let them
work side by side and put the other requests to a queue and let them wait
until one of the other requests finished.

But the number of side by side execution is so low that I can't belive that
I'm programming the right way.
Could anybody give me a hint to make my webservice faster???

If I look to the google.com or the amazon.com or the terraserver.com
Webservices, they are so fast. And they have more than 1200 requests a
minute I think...

Thank you for any answer...

Mirco
Kunal - 25 Nov 2003 03:24 GMT
Are the results you return the same for all requests? I have a Web Service
which shows some numbers that are important to the management types on our
intranet, and I know that these figures change only every 3-4 ours so I used
the "CacheDuration" property..and cache the results so the DB Call is never
made...

[WebMethod(CacheDuration=60)] (C#) {on the server)

you can do it on the client as well
<%@ OutputCache Duration="60" %>
that caches the result on the server for 60 seconds, If all your consumers
get different data, this is probably not useful. Amazon and Terraserver are
also fast because they have large web farms answering those requests..or so
I would think...

Take a look here for tips:(URL may clip)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conaspnetwebservicedesignguidelines.asp


Kunal

> Hi @all,
>
[quoted text clipped - 21 lines]
>
> Mirco
Mirco Kaffsach - 25 Nov 2003 12:39 GMT
Hey,

thanks alot. The results are different, because its a login WebService.
Nearly the same as MS Passport...
But its a very good hint for other WebServices to me, which have the same
result...

I try to find some other hints on your link...

Thanks anyway...

Bye Mirco

> Are the results you return the same for all requests? I have a Web Service
> which shows some numbers that are important to the management types on our
[quoted text clipped - 12 lines]
>
> Take a look here for tips:(URL may clip)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conaspnetwebservicedesignguidelines.asp


> Kunal
>
[quoted text clipped - 24 lines]
> >
> > Mirco

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.