Announcement Announcement Module
Collapse
No announcement yet.
Transition between getting really slow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transition between getting really slow

    Edit: The subject should be "Transition between states getting really slow"

    Hello,

    I have a small-to-medium-complex WebFlow (10 states, 7 jsp) which is used to collect a list of persons with their addresses.

    Now I found a kind of showstopper:

    As soon as I reach about 10 persons in the list (which ist stored in the http session, not in any of the WebFlow-specific scopes), transitioning between states gets painfully slow (> 10 sec). With 1-5 persons all transitions are almost instant.

    Even transitions between states with no data-manipulations are slow.

    I audited the data-manipulation which I do between certain transitions, and the time they take remains constant (independent of the number of persons in the list / session)

    Note that when I refresh a state (by pressing F5) there is no slowness.

    Here some debug output:

    Code:
    [DEBUG] [http-apr-8080-exec-3 09:07:51] (AnnotatedAction.java:execute:149) Clearing action execution attributes map[[empty]]
    [DEBUG] [http-apr-8080-exec-3 09:07:51] (ActionExecutor.java:execute:53) Finished executing [EvaluateAction@4694b5f2 expression = tm.addOrUpdate(flowRequestContext, person), resultExpression = [null]]; result = yes
    [DEBUG] [http-apr-8080-exec-3 09:07:51] (Transition.java:execute:213) Executing [Transition@168b4289 on = add, to = step2]
    [DEBUG] [http-apr-8080-exec-3 09:07:51] (Transition.java:execute:221) Exiting state 'step2'
    [DEBUG] [http-apr-8080-exec-3 09:08:13] (State.java:enter:189) Entering state 'step2' of flow 'subscribe'
    Any idea where this slowness could come from ?

    Could it be related to the fact that I use the plain old HttpSession to store my data instead of the flowScope or conversationScope?
    Last edited by yglodt; Aug 2nd, 2013, 03:16 AM.
Working...
X