Discussion:
webb application speed
(too old to reply)
Lloyd
2008-12-08 17:02:36 UTC
Permalink
I'm working on my first dbase web application. It consists of a login page that calls either a report generation web page or a user information maintenance web page. As code has been added and changing the structure to utilize function calls within the prg to call various web pages for display, the speed has diminished substantially. From the click of the Submit button to the web page display takes about 60 seconds. WindowsXP is the operating system in use.

Does a function in a web prg need to be declared with a "set procedure to webmodule additive" statement? Any suggestions on prg structure or apache setup would be welcome. Responses are taking too long.

Thanks
Lloyd
Geoff Wass [dBVIPS]
2008-12-09 06:17:59 UTC
Permalink
Post by Lloyd
I'm working on my first dbase web application. It consists of a login page that calls either a report generation web page or a user information maintenance web page. As code has been added and changing the structure to utilize
function calls within the prg to call various web pages for display, the speed has diminished substantially. From the click of the Submit button to the web page display takes about 60 seconds. WindowsXP is the operating system in
use.
Post by Lloyd
Does a function in a web prg need to be declared with a "set procedure to webmodule additive" statement? Any suggestions on prg structure or apache setup would be welcome. Responses are taking too long.
Thanks
Lloyd
Lloyd,

You are going to have to analyze your code and figure out which portion
or portions are taking up the time. 60 seconds is indeed far too long.
What kind of hardware are you using and which version of Windows?
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Greg Neid
2008-12-09 09:01:59 UTC
Permalink
Hi Lloyd,
I have several web applications. dBase is a very fast platform for this. I measure transactions times in tenths of a second. At 1/2 second I start to look at the performance for problems. Good luck in your analysis!

Greg
Post by Lloyd
I'm working on my first dbase web application. It consists of a login page that calls either a report generation web page or a user information maintenance web page. As code has been added and changing the structure to utilize function calls within the prg to call various web pages for display, the speed has diminished substantially. From the click of the Submit button to the web page display takes about 60 seconds. WindowsXP is the operating system in use.
Does a function in a web prg need to be declared with a "set procedure to webmodule additive" statement? Any suggestions on prg structure or apache setup would be welcome. Responses are taking too long.
Thanks
Lloyd
Claus Mygind
2008-12-09 19:57:53 UTC
Permalink
Lloyd,

Most likely as has been said by others there is something in your code that
is slowing it down. Without seeing your code it is hard for us to help.

So you need to put debugging steps in place.

What type of web server are you working with?

What did you use as a basis for your web pages? (what tutorial did you use?)
If you used Micheal N. online tutorial, he also included a way for you to
halt the processing and inspect what is happening. This can be a useful
tool to set the trap line by line in the suspect code until you get to the
line that is causing the problem.

So just give us a little more info which will allow us to help you?

Claus

Loading...