Page 1 of 1

Profiling a Web Service

Posted: Thu Sep 04, 2008 5:23 pm
by MikeB
So I'm trying to figure out what the best way is to profile a web service. I am quite sure I have identified a leak, but I don't know which way to go about checking on it. It's a Web Service (not a web app) running in IIS. I get different results when I profile it as an asp process than I do when I profile it as a regular process that I attach to. Is there another thread(s) on this subject? Is garbage collection in a web service different than in a regular .net process? I found stuff in the manual that talks about profiling a windows service, but not a web service.

Thoughts?

Posted: Fri Sep 05, 2008 3:01 pm
by Andreas Suurkuusk
If the Webservice in running is IIS you should start ASP.NET profiling using IIS. Then you will need to activate the ASP.NET and the Webservice somehow, e.g. by invoking Webservice methods.

Now you should be able to profile the process as usual, e.g. collect snapshots and make comparisons to identifity possible memory leaks.

Even though the GC works a bit differently in a server process compared to a normal application, the result of a GC should not differ (i.e. all unreachable instances will be collected when a full GC is performed). In what way do you get different results?

One thing that should be noted is that slightly different data will be presented when collecting a snapshot from an attached process compared to when doing normal profiling. When attaching, no GC is performed before the snapshot, so there might be additional instances in the snapshot (e.g. instances that should be finalized).

Profiling a Web Service

Posted: Wed Jun 03, 2009 5:02 pm
by Eagedewaype
Hello
Im new in As400 and Im trying to develop a small program to invoke an web service that is another machine.
How can I do this using java? What libraries do I need to have? Any documentation?
Do you know if I can do it using RPG or another AS400 language?
Thanks a lot,
Rui

порно бесплатное

секс клип