Have you ever been able to develop high-performance web applications with JSF?

I heard a lot about performance issues with jsf (and even asked the corresponding question here a while ago).

But today I heard specific jsf performance benchmarks. From the results where jsp showed a response time of 0-100 ms, the jsf application showed 1000-1200 ms. Form submission testing showed 100-200ms for jsp versus ~ 1500ms for jsf.

I have not seen the code (and I'm not so big an expert in jsf to test this code), but I know that the guys spent a lot of time optimizing the performance of jsf in the test application.

Does this mean that if my website needs to process more than 100 requests per second, should I use something else but not jsf?

+4
source share
1 answer

Sun JSF RI 1.0 and 1.1 were truly productive pigs, and it really became negative in the news. However, starting with JSF RI 1.2 (Mojarra) in early 2006, which was supported by a new, young and excellent development team, many performance improvements and corrections have been made. In addition, computers have become faster over the years. The differences, unlike the β€œplain JSP” and other frameworks, are very minimal these days. JSF still needs to get rid of its old "hogging slow" imago.

If you are still experiencing performance issues, this is often caused by incorrect code, regardless of the structure used or lack of knowledge of how HTTP works under the hoods in the whole picture (a lot can already be improved with a few simple things ).

+7
source

Source: https://habr.com/ru/post/1302514/


All Articles