Malcolm, hope you are well!
Question inline ...

On Wed, Sep 14, 2011 at 8:26 PM, Malcolm Edgar <[email protected]> wrote:
> Hi Hans,
>
> The best way to isolate performance issues is to run load tests on a
> JVM which you are profiling. It is always surprising where the
> performance issues lie.
>
> I would recommend setting up a load tool (JMeter or something similar)
> which has scripts to hit a number of representative pages.  Then run
> the application in a profiler, or attach a profiler to the JVM and get
> some metrics on where the application is spending most of its time.
>
> With regard to Cayenne, using caching is very important to
> significantly improve performance.  However caching is a tricky
> subject, especially if you are running multiple web applications on a
> JVM sharing the same database or across a cluster.  This is an area
> where the Cayenne documentation is quite poor, so you may need to get
> onto the mail list to get some decent advice.
>


> Also don't use OGNL in your code if you can avoid it. Its performance
> is quite poor under load, even when using it intelligently. If you
> need to do expression stuff please use MVEL.

I'm curious about you advice, since Apache Click uses it(OGNL) intensely.
Can you share a little more about why Apache Click is not using MVEL?
Is it possible to switch one by the other?

Regards,

Gilberto

Reply via email to