Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

Active forums

Active Forums RSS September 03, 19:59
Style properties

August 31, 21:46
antrun not found

August 31, 14:12
WCB customprofile

August 31, 12:10
End of flow not doing its job

August 24, 12:37
Sort mediaItem by expiration date

 All Forums...


FormHandler -Perfomance Issue

The "GX WebManager Usage" forum covers all topics concerning the actual usage of GX WebManager. Topics include using editor functions, content elements, workflow, authorizations, My WebManager, Media repository, Personalization, Page templates, etc.

Answered
Not marked as answered yet

Forums  >  GX WebManager Usage  >  FormHandler -Perfomance Issue


Author FormHandler -Perfomance Issue
pkragunath


Posts: 2

Posted: 26-04-2009 11:55

I have created a BackBase4 page which on submit will call a Form Model in GX. This Form model has numerous handlers which is executing specific task. Among the handlers one major handlers is calling one webservice from other application and retrieve the response xml. My problem is that time taken to
retrieve the response in BackBase page is around 9 sec. I have checked the log of execution time of each handler including the webservice handler .It is not taking not more than 3 to 4 second. The delay of 5 sec (average) is during the execution of Below portion.


Apr 25, 2009 3:00:29 PM nl.gx.webmanager.handler.forms.foundation.FormProcessor processForm
INFO: replacing host: foo:-1 to e.test.hari.com, new URL: http://e.test.hari.com
Apr 25, 2009 3:00:29 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
INFO: redirecting to: http://e.test.hari.com
Application time: 18.0690497 seconds
28831.299: [GC [PSYoungGen: 595248K->21763K(635840K)] 1167107K->606190K(1938368K), 0.4373016 secs]
Total time for which application threads were stopped: 0.4398899 seconds
Apr 25, 2009 3:00:35 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
WARNING: Unable to retrieve flow id from the request
Apr 25, 2009 3:00:35 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
WARNING: Unable to retrieve flow id from the request
Apr 25, 2009 3:00:35 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
WARNING: Unable to retrieve flow id from the request

I understand that its taking time to execute the FormHandler. I have tested numerous time and there is a delay each time. Let me know if somebody encounter the same issue or has suggestion to resolve this.

bramk



Posts: 34

Posted: 01-05-2009 14:01

Hi pkragunath,

don't know much about client side BB code but I can tell you with the log..


Apr 25, 2009 3:00:29 PM nl.gx.webmanager.handler.forms.foundation.FormProcessor processForm
INFO: replacing host: foo:-1 to e.test.hari.com, new URL: http://e.test.hari.com
Apr 25, 2009 3:00:29 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
INFO: redirecting to: http://e.test.hari.com



End of a regular form post. The redirect URL is being constructed and the redirect is send. From this log snippet I cannot determine how long execution took but anyway at this point your browser gets its response.


Application time: 18.0690497 seconds
28831.299: [GC [PSYoungGen: 595248K->21763K(635840K)] 1167107K->606190K(1938368K), 0.4373016 secs]
Total time for which application threads were stopped: 0.4398899 seconds



Verbose GC. Looks good, although I hope you don't get too many of them taking .4 seconds. If so I'd be looking into my GC settings.


Apr 25, 2009 3:00:35 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
WARNING: Unable to retrieve flow id from the request
Apr 25, 2009 3:00:35 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
WARNING: Unable to retrieve flow id from the request
Apr 25, 2009 3:00:35 PM nl.gx.webmanager.handler.forms.foundation.FormHandler doPost
WARNING: Unable to retrieve flow id from the request



These are 3 separate illegal posts to the formhandler. When the handler is unable to retrieve a valid flow id it will return directly.

So.. we are looking at 1 valid post that is returned normally, a GC that take a while and 3 invalid but separate posts that are returned invalid. If your client is non responsive during this time it looks like it is doing additional invalid requests that block it? I suggest analyzing what actually goes over the wire using a httpproxy or firebug. You can then combine this information with browser behavior and determine where the problem is.

regards,
Bram

Back to top

New message: "FormHandler -Perfomance Issue"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2010 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.