• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF2 Performance Issues  RSS feed

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have created a JSF2 application that uses PrimeFaces and spring security. I use hibernate and spring transaction at the back end. I'm thinking of deploying the application to the web via OpenShift.
At a guess the application would prob get about 100 max screen requests per min. I use primefaces datatable pagination lazy loading table to view records stored in a MySQL database. Other jsf
pages are used for home page/searching/displaying product details/admin. Does JSF2 have performance/memory issues on reaching a certain amount of page views a minute, if so what performance improvements
can I introduce. I'm a novice with JSF2 and this is my first attempt at making an app live.

Mat
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid I have no hard numbers on that. I've always been suspicious that JSF is not ideal for high-transaction-rate environments, because it does have quite a bit of overhead, but so many webapps are OK with fewer users and lower rates that I use a lot of JSF anyway.

Actual performance requirements aren't just a matter of transactions/second, however. What you are looking for would require turnaround times of 500ms/page if all done by a single requester, but 100 users should be OK with 2 second turnarounds, and since there's a lot of processing overlap, it's not impossible that they could get it.

Ultimately, the only way to tell is to measure for your particular processing requirements. The good thing about JSF is that if JSF simply cannot handle a particular request fast enough, you can replace the offending page with something faster.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!