cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Performance

drozes
Champ in-the-making
Champ in-the-making
My company is just loaded tested our first alfresco backed application.  Uses a QuickStart war for display and Alfresco as the CMS our CPU are jumping above 90% for every page load.
We have out <autowire> node set to production - but this has not seemed to make much of a difference.

It seems that Rhino is not set to complication mode (As i am able to update my JS files and see the results), We believe this could be the issue?

Really, any advice, guides or links would greatly be appreicated. 
We've invested month of man hours into this platform and would hate to have to adept something new.  Alfresco is a pretty strong platform and i'm sure someone has concurred this issue already.
4 REPLIES 4

t_sato
Champ in-the-making
Champ in-the-making
I have tried Web Quick Start on 4.0e, but not encountered such an issue.

I suggest to do a profiling(CPU sampling), VisualVM for example, against your Tomcat instance during some page loadings.

Then you'll see exactly which calls consume CPU time.

jpfi
Champ in-the-making
Champ in-the-making
Hi,

well, doing load & performance tests is a task that should be done much more earlier in every project.
Alfresco WCM QS uses CMIS queries to query collections etc. If your web developers used this CMIS queries like DB query then you gonna have a problem.
I came into a project with a similar problem & after investing a few weeks into profiling  & performance optimization (coding & configuration) our system was much quicker (page loads) with less CPU consumption. Our main task was tuning the QS cache mechanism & replace some complex CMIS queries with some handmade Repository webscripts.

You should contact an experienced Alfresco Architect to analyze your problem.

Cheers,
Jan

drozes
Champ in-the-making
Champ in-the-making
Thank you both for your replies.
I agree we should have completed more extensive performance testing earlier.

Our Quickstart is not actually using any collections.  We are simply using the quickstart War for it's templating and built in rending of repo assets.  We also are using some handmade Repository webscripts for the more complicated pages.

Will try out some more profiling tools and see what I get.
Thank you again.

drozes
Champ in-the-making
Champ in-the-making
Looking into the Caching system was our Answer!

With caching Alfresco takes 0 hit after our first load and the Quickstart app keeps a good average CPU.


Quickstart has some issues with it's default caching system that can be easily fixed with accessing it's main caching controller.

Good luck to anyone who might hit this.