NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: urayoan on February 12, 2019, 10:14:51 AM

Title: Slow server
Post by: urayoan on February 12, 2019, 10:14:51 AM
Hello All:
  Since the last update of NetTalk, for some reason the web server is slow serving files and doing some functions that in previous versions we fast. In the log i the something Slow Request [a number] (see attached message for more detail).

What i am missing here? NetTalk Version 11.05 and String Theory version 3.05

Thanks in advance @ Urayoan
Title: Re: Slow server
Post by: Bruce on February 14, 2019, 05:08:57 AM
it seems those are images you are generating as "one time" images?
Have you measured how long it is taking for the image itself to be created?

cheers
Bruce
Title: Re: Slow server
Post by: urayoan on February 14, 2019, 08:47:35 AM
Hi Bruce:
  Looking at the folder they generate very fast, but they took long to appear in the browser.
Title: Re: Slow server
Post by: urayoan on February 15, 2019, 11:48:27 AM
Bruce:
  I forgot to mention that the problem is in all procedures of my app. Anyways, i did a test example with that procedure (no dictionary and almost plain vanilla) and it works fine with the same images

  Anything that comes to mind to check?

Thanks @ Urayoan
Title: Re: Slow server
Post by: urayoan on February 15, 2019, 12:14:42 PM
Another thing that captures my attention and don't know if it is related is, in the DebugView tool i see a lots of NetSimple.ErrorTrap -34 Unable to close connection ... (see attached image).

In the example i wrote i did not see that messages (mark in laser yellow color :D), but in my app is very frequent.

What i am doing wrong or what i am missing here? Any clues?

Thank you @ Urayoan
Title: Re: Slow server
Post by: Bruce on February 18, 2019, 06:30:49 AM
Hi Ura,

you can ignore the errors - they just mean the other side closed the connection before you did.

Regarding the time to serve the images - there's not a lot I can comment on there without an example.

cheers
Bruce