Anybody ?

Daniel

On Fri, Jun 26, 2009 at 5:54 PM, Daniel Guryca<dun...@gmail.com> wrote:
> I have found that devMode was set to true .. so I changed it to false.
>
> Now I'm getting something around 140 req/s which is much better but
> still somewhat slow.
>
> What more can I set to make it run faster ?
>
> My current settings are listed below:
>
>
> struts.mapper.alwaysSelectFullNamespace true
> struts.url.includeParams none
> struts.freemarker.templatesCache false
> struts.dispatcher.parametersWorkaround false
> struts.multipart.maxSize 2097152
> struts.freemarker.mru.max.strong.size 100
> struts.ognl.allowStaticMethodAccess false
> struts.codebehind.defaultPackage person
> struts.serve.static true
> struts.enable.DynamicMethodInvocation true
> struts.serve.static.browserCache false
> struts.tag.altSyntax true
> struts.freemarker.wrapper.altMap true
> struts.multipart.parser jakarta
> struts.i18n.reload false
> actionPackages org.apache.struts2.showcase.person
> struts.objectFactory.spring.autoWire name
> struts.xslt.nocache false
> struts.action.extension action,,
> struts.velocity.configfile velocity.properties
> struts.custom.i18n.resources globalMessages
> allowStaticMethodAccess false
> struts.url.http.port 80
> struts.velocity.contexts
> struts.configuration.xml.reload false
> struts.objectFactory.spring.useClassCache true
> struts.url.https.port 443
> devMode false
> struts.devMode false
> struts.ui.templateDir template
> struts.enable.SlashesInActionNames false
> struts.velocity.toolboxlocation
> struts.objectFactory spring
> struts.freemarker.manager.classname customFreemarkerManager
> struts.ui.templateSuffix ftl
> struts.objectFactory.spring.autoWire.alwaysRespect false
> struts.codebehind.pathPrefix /
> struts.multipart.saveDir
> struts.ui.theme xhtml
> struts.i18n.encoding UTF-8
> struts.freemarker.beanwrapperCache false
>
>
> regards
> Daniel
>
> On Fri, Jun 26, 2009 at 5:35 PM, Daniel Guryca <dun...@gmail.com> wrote:
>>
>> Hi,
>>
>> I have just deployed included showcase sample application on to my tomcat 6.
>>
>> I'm very amazed how SLOWLY it runs.
>> I'm looking for a framework for my company and Struts 2 seems very good to 
>> me (I have a previous experience with grails which is good for smaller 
>> applications but too unstable and bugy for bigger apps) .... but how about 
>> the Struts 2 performance ?
>>
>> I would expect much much better results (similar simple pages with stripes 
>> or even grails almost fly - 700 and more req/s) !!
>>
>> I was running these on my dual core a...@2.1 Ghz using apache bench.
>>
>> ab -c 10 -n 1000 
>> 'http://localhost:8080/struts2-showcase-2.1.6/skill/edit.action'
>> 13 req/s
>>
>>
>> ab -c 10 -n 1000 
>> 'http://localhost:8080/struts2-showcase-2.1.6/showcase.action'
>> 19/ req/s
>>
>> Performance for other pages is also very very poor.
>>
>> What am I doing wrong ?
>>
>> Is Struts 2 really so horribly slow ?
>>
>> Thank you.
>>
>> regards
>> Daniel
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to