Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

question on continuous slow response
Guest
#1 Posted : Friday, July 21, 2006 10:06:48 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

I've just started using this cassini to support a local web service that deals with local printers (which is why I needed Cassini - I couldnt do this in IIS, I'm just not smart enough!)

I regularly encounter long amounts of time (15-20 seconds) from the time my app sends its web service til cassini "starts up" my web service.

I dont know how to better measure whats going on - I DO have the "keep app in memory" flag set for my bundled service in cassini.
Any ideas as to why I might have long times for web service start up ????
Also - how can I produce more log output for cassini?? ( this may help me some if I can get it to produce something more than cassini started!)

Thanks!
derekp
#2 Posted : Friday, July 21, 2006 10:08:13 AM(UTC)
Groups: Member
Joined: 7/21/2006(UTC)
Posts: 8

I just registered - this thread is one I started as a guest.
Thanks
Ultidev Team
#3 Posted : Friday, July 21, 2006 10:23:35 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Derek.

We are not familiar with this particular issue. In order to better understand the problem, could you please confirm following:
We understand that you encounter a delay only on the first request sent to the web service, while subsequent requests get executed quickly. Is it correct?
And we understand you determined that delay happens in Cassini itself, not in your code. Is this correct too?

Unfortunately there is no additional logging in Cassini - what you see in the event log is all it has.

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
derekp
#4 Posted : Friday, July 21, 2006 10:59:46 AM(UTC)
Groups: Member
Joined: 7/21/2006(UTC)
Posts: 8

1. No - the delay is for every call to the web service.

2. as best as I can tell, the delay seems to be in cassini responding to the web service request.
(Though I profess to not knowing how to better isolate this.)

The test app simply fires a webservice upon button click. Then theres a 20 second delay before the service actually starts to do work.
This is on XP sp 2.

I'm trying to get more useful info (time stamps etc...), this is all the useful info I currently have.
thanks!
Ultidev Team
#5 Posted : Friday, July 21, 2006 11:15:04 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thanks, Derek. It's a good info.

To better isolate the place where delay happens, please run your web service under Cassini while debugging it in Visual Studio. That will let you put the breakpoint in the web service and roughly measure the delay between the button click that invokes the web service, and the moment when debugger hits the breakpoint. That will give us clear indication whether the Cassini the cause of the delay. Please note that under debugger your web service will be running on different port (which you can specify as on of the parameters of the command-line Cassini process) so you will have to adjust the URL at your web service client for debugging purposes.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.