Re: Struts 2.0 Performance

2007-01-19 Thread Philip Luppens
On 1/18/07, Tom Schneider [EMAIL PROTECTED] wrote: One of the possibilities I was discussing with Phil yesterday was to implement freemarker caching on the WW side of things--just like we do with OGNL. In WW if we're not in devMode, then I think its safe to say that we can read the template

Re: Struts 2.0 Performance

2007-01-19 Thread Ted Husted
Do you do anything special, like extract the templates? Are these public applications? Can we name names? -Ted. On 1/18/07, Bob Lee [EMAIL PROTECTED] wrote: We've been running WebWork 2 in quite a few production applications for a couple years and have seen no related performance problems.

Re: Struts 2.0 Performance

2007-01-19 Thread Tom Schneider
Obviously you picked up on my probing questions on the chat. :) Yes--we use JSP's with FTL templates for the tags. It only recently occurred to me that the caching would need to be different for the FTL tag templates vs. FTL results. I like this proposal--it would keep the user from having

Re: Struts 2.0 Performance

2007-01-19 Thread Philip Luppens
On 1/19/07, Tom Schneider [EMAIL PROTECTED] wrote: Obviously you picked up on my probing questions on the chat. :) Yes--we use JSP's with FTL templates for the tags. It only recently occurred to me that the caching would need to be different for the FTL tag templates vs. FTL results. I like

Re: Struts 2.0 Performance

2007-01-19 Thread Tom Schneider
Well, I went ahead and implemented this tonight: http://issues.apache.org/struts/browse/WW-1661 http://jira.opensymphony.com/browse/WW-1417 It turns out that FreemarkerTemplateEngine.java is only used by the UI tags. The freemarker result hooks into freemarker via the FreemarkerManager. I

Re: Struts 2.0 Performance

2007-01-18 Thread Ted Husted
Even though this is for WW, almost all of it is applicable to Struts 2. This is a key phrase. There are a lot of very successful WW deployments out there, with the same performance levels. We really need to setup our own benchmarks, so that we can run them with the templates deployed. I'd love

Re: Struts 2.0 Performance

2007-01-18 Thread Tom Schneider
One of the possibilities I was discussing with Phil yesterday was to implement freemarker caching on the WW side of things--just like we do with OGNL. In WW if we're not in devMode, then I think its safe to say that we can read the template once and never reread it. This would eliminate the

Re: Struts 2.0 Performance

2007-01-18 Thread Bob Lee
We've been running WebWork 2 in quite a few production applications for a couple years and have seen no related performance problems. And we're very particular about performance. I wouldn't worry about it. Bob On 1/17/07, Shekhar Yadav [EMAIL PROTECTED] wrote: Is there a plan on when the

Re: Struts 2.0 Performance

2007-01-18 Thread Bob Lee
On 1/18/07, Ted Husted [EMAIL PROTECTED] wrote: (And hopefully some of those will lend us a hand. Even with the merge, we still don't have more active committers than we had a year ago.) Sorry, Ted--I really should contribute more. I've been investing a lot of time in Guice. Bob

Struts 2.0 Performance

2007-01-17 Thread Shekhar Yadav
Is there a plan on when the performance issues with Struts 2.0 will be resolved? In some thread I saw that struts community is trying to either create a replaceable EL engine or improve OGNL performance. But nowhere, I see a committed timeline on when this will be done or whether this is being

Re: Struts 2.0 Performance

2007-01-17 Thread Tom Schneider
The performance of OGNL is not nearly as bad as we had originally thought. I've been doing some performance testing in Webwork (which S2 is based on) this week and most of the OGNL calls are not measurable. (1ms) The biggest issue I've had is making sure freemarker templates are getting