NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on December 18, 2021, 03:39:52 AM
-
Hi,
My API app constantly has a 500ms overhead on any HTTP call. This 500ms does not include the work that is done in the ServiceMethod routine. A simple call then ends up taking up to 600ms to respond. I played around with the performance options on the NetWebServer template, but nothing there has the effect to change the response time.
I'm using NT 11.51.
Thys
-
Hi,
Any embedded code in Webhandler?
What database?
Local or remote database?
Cheers
-
Michelis,
I checked the timing of the code in the webhandler, negligible and less than 100ms (shows 0 when using duration with CLOCk).
The simple call I'm referring to, doesn't make any calls to the local MSSQL database. It just returns a value from a simple variable. So with minimal code in the ServiceMethod routine, there is always a minimum response time of 500ms.
Thanks
-
Thys,
Did you try with a NTWS example?
Same problem?
-
Hi Thys,
are you testing on the same machine? over a LAN? a WAN? the internet?
Cheers
Bruce
-
Hi Bruce.
It's all on my laptop.
Thanks
-
Thys,
Did you try with a NTWS example?
Same problem?
I haven't tried yet. I'll do so.
Thanks