[Solved] How to increase performance in Spring MVC – Hibernate – JSP – AngularJS v1.6? [closed]


Without more detail, I can only offer general advice, but here goes:

Start by profiling the application to see where the bottlenecks actually are. See this question for a list of profiling tools.

The golden rule is to measure first, then optimise only what needs optimising!

Once you know where improvements need to be made, general approaches you might try are:

  • Improving the efficiency of algorithms/calculations in Java.
  • Caching results.
  • Improving efficiency of database queries. Consider:
    • How many queries are required to handle client responses?
    • Whether the queries can be refactored to be more efficient.
    • Whether adding database level indexes etc might improve query performance.

From the technologies you’re using, it sounds as though you’re developing some kind of an interactive web app. Consider whether it’s practical to load and display the data progressively (e.g. while the user is viewing the first data item, load the second data item in the background).

It might be counter intuitive, but consider whether your application can be implemented as plain old HTML pages without masses of client-side Javascript frameworks. In many cases, you’ll find this results in much reduced page load times…

3

solved How to increase performance in Spring MVC – Hibernate – JSP – AngularJS v1.6? [closed]