Hi
We've noticed long delays when running fetches via the DOH. We're using server side paging and the DS fill from start to finish is taking 0.8 seconds but we're looking at a huge amount of time before we see the entry in the log file. I think the DOH is taking an age to work out what to do.
The catalog fetch works via my own handler and I notice the column labels show instantly. Then I have to wait.
In my scenario, the catalog fetch occurs. 26 seconds later it calls the read method. Clearly the kendo grid is making the call pretty much immediately. The read call ends 0.8 seconds after its called. So its slow.
Note that after being called once, a subsequent call is OK and as I would like the first call.
My .gen file is 6 MB. Is it reading the .gen file thats taking the time. I dont believe it reads it all as a different read call consumes similar delays the first time its made.
Any ideas?
-Darren
Thanks. I'm afraid that didn't work. After doing this we get an error when making the first call saying it cant find locate the service. In addition with my 12.1, RegisterFile doesn't show up (private perhaps?).
I think out biggest issue is likely to be the time each agent takes to load it. If there's a 40 second or greater delay, then staring multiple agents up front is likely to lead to the possibility the pas startup will timeout (180 sec by default).
Is there a way of caching it after its been loaded in a form which makes multiple agents faster?
-Darren
.
Hi. Its fine once loaded. The .gen file contains a single service with 6 operations per business entity. We have about 400 business entities which explains why the delay exists.
I'll give it another go.
-D
That works correctly. The RegisterFromFile is functionally correct. I think we're still looking at the same issue on agent startup in terms of time but its better than it not working at all. Our 400 BE's have the same static methods and so I think in a worst case, there may be a need for me to write my own handler and not use the DOH. I don't see the point in that extra work whilst the DOH does the job.
No immediate rush for now. We're in development mode.
Thanks for your help.
-D