Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2808

Performance issue Struts 2 Tag

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.11.2
    • Fix Version/s: 2.2.1
    • Component/s: Value Stack
    • Labels:
      None
    • Environment:

      Solaris , Weblogic 9.2 MP 1 ,Sun One Web Server 6.5
      Strut2 , Spring 2.5 and Sitemesh

    • Flags:
      Patch, Important

      Description

      There is huge performance issue and CPU hogging with Struts2 tag , this was observed while rendering JSP. These are some performance results obtained

      Strut 2 Tag - With all performance tuning applied as per Struts 2 documentation - Freemarker caching etc...
      Load Runner Tool
      40 users
      900 hits per second
      10 transaction per second

      Results
      CPU utilization 90%
      Response 3.5 sec

      Replaced some of Struts2 Tag , with Custom JSP Tags like (s:label, s:text,s:textfield,s:hidden,s:param)
      40 users
      900 hits per second
      15 transaction per second

      Results
      CPU utilization 70%
      Response 2.0 sec

      Some where down the line Struts 2 tag are very cpu hungry , to people to adopt to strut2 framework cpu utilization should be optimized .

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              sajanv007 sajan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment