travis_91
travis_91

Reputation: 173

Spring MVC request is too slow

I have a web app that used Spring MVC framework, Tomcat for 7 for front end that call Websphere for back end.

In some pages I have jsp files that call controllers for inserting or updating data. This work well when I try to send a few data but when I try to send more data the application cant response and goes to timeout. The problem is.. for example when I click on a href to open a page passing input data this cant go in the controller method( or it is very slow). So the problem is not the back end and nor the front end I think. But I dont know what I ve to do.. Any suggestion?

Thnx

Upvotes: 0

Views: 1953

Answers (1)

Serhii
Serhii

Reputation: 7543

  1. Try it without debug mode.
  2. All heavy logic handling behind controllers should be in async mode.
  3. Use performance testing to detect your bottle neck.

If you interesting in solution for your concrete case, I will improve my answer if you share your application via git.

Upvotes: 1

Related Questions