my dog learned polymorphism*
The moose likes JSF and the fly likes General Performance Tips? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "General Performance Tips?" Watch "General Performance Tips?" New topic
Author

General Performance Tips?

Jason Irwin
Ranch Hand

Joined: Jun 09, 2009
Posts: 327
I am wondering if anyone has any general performance tips for RichFaces.

I've tried to cover some bases already (caching common, but rarely changing, data at application level; not doing complex logic in getters/setters etc), I am thinking more about things that can be done at the RichFaces or Web Application level (this is going to be hosted on Tomcat 6). For example; Neko vs Tidy parser, or data compression or what have you.

Links to articles/docs is more than good enough - I've been searching but it is like looking for one particular needle in a large pile of other needles!

Cheers


SCJP6
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Typical application bottlenecks are poor database connection handling and potentially overloading the Session. The web layer generation usually pales in comparison to these performance monsters.

Do you have evidence that performance is going to be a problem? I'd hate to see you spend time tackling a problem that might not exist?

Are you anticipating a processor bottleneck? Bandwidth bottleneck? Memory bottleneck?

-Cameron McKenzie
Jason Irwin
Ranch Hand

Joined: Jun 09, 2009
Posts: 327
Not anticipating major bottlenecks just now, trying my best not to hold any state on the server etc. And you right about the database, the logs show the web server sat about and twiddling its thumbs waiting for a response - unfortunately that is outside my control and I cannot do anything about it.

I was more thinking about general RichFaces config stuff that I might be aware of. I know that Trinidad can be configured to not process timestamp changes etc., just wondering if there were any general RichFace-type tips/standard practices.

Cheers.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: General Performance Tips?
 
Similar Threads
rset.next() takes long time for 11000 rows.
Multiple submits and performance?
RichFaces application doesn't work in RSA 7
Which framework to use?
where to write log info in the program.