NetTalk Central

Author Topic: Setting up a session sometimes slow  (Read 1556 times)

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Setting up a session sometimes slow
« on: January 27, 2014, 02:12:36 PM »
Hi

I have a peculiar problem - not life threatening but it would be nice to solve.  In my application I have two 'PageHeaderTag' procedures 'PageHeaderTag' and 'PageHeaderTag1'  I did this because I wanted to lock down the procedures under Tag1 (just display a form and that's it) whereas Tag displays the standard Menu with more options.

The peculiarity is this: when I run locally or remotely (on a server in another town) via http://127.0.0.1:8045 or http://<ip address>:8045 and display the standard menu the responses in both cases are 'instant'.  When I display a selected form via: http://127.0.0.1:8045/playpen  the response is instant locally (as before) but via  http://<ip address>:8045/playpen is about 15 secs in the remote case.

While waiting for a response the message displayed in the tab is 'Waiting for <ip address>.

Now I also have noticed that in the remote (slow) case a very brief 'message' in red sometimes flicks on and off but I can't determine what it says and I couldn't be sue   that it's only related to that case.

So, if anyone has anyone has ideas about this I would appreciate hearing.

Thanks

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: Setting up a session sometimes slow
« Reply #1 on: January 27, 2014, 07:46:33 PM »
Red error is not related. What data backed is your program using?

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: Setting up a session sometimes slow
« Reply #2 on: January 28, 2014, 01:50:43 AM »
Hi Bruce

Red face  >:(

I did some further investigation and discovered that the server I am using for the hosting (provided by a hosting service) had a problem with the hard drive (a mirrored pair) on which my application was deployed.  I had to write a program that just did IO to prove to them that their box was faulty.  On my desktop it took 9 secs to complete the loop inserting into a table but on theirs it took minutes.

The problem with my NT application was all of the IO it did retrieving styles and themes and starting up was compromised by the flakey disk.

Cheers

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27