Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6611373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:57:41+00:00 2026-05-25T19:57:41+00:00

Are there best practises how to improve the performance of spring webapps? I use

  • 0

Are there best practises how to improve the performance of spring webapps?

I use ehcache for static content, try to load JavaScript at the end of my app but the app doesn’t run smooth yet. For a simple registration only the GET-request to map the url and initalize session and bean lastet over 7 sec.

Sure you can optimize a lot for specific, but I’d like to know about generell performance issues and how to handle those.

Patterns, best practises and so on are very wellcome here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:57:42+00:00Added an answer on May 25, 2026 at 7:57 pm

    In general, I recommend:

    • build a test environment where you can execute the application and
      get at the inside
    • Write repeatable performance testing scripts, focusing both on absolute performance (e.g. “how long does it take to render this page”) and performance at scale (e.g. “how does performance degrade under load?”)
    • glue a profiler into your test environment. It’s been a while since I worked on Java apps, but there are lots of them available.
    • run performance test whilst running your profiler. Work out what the bottleneck is. Fix the bottleneck. Rinse. Repeat.

    I generally recommend NOT to have the test rig be similarly specified to production, because it makes it very hard to create enough load to stress the system. It’s also very expensive.

    If you have a “production-like” environment to test on, do it now – ideally, you’ll get similar results as on the test environment, but not always; if at all possible, install the profiler and see where the bottleneck is.

    Once you’ve done that, you can deploy the optimized app to your production environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Or the concepts/best practices used there are now deprecated? I'm just starting to use
I'm wondering if there are any recommendations, best practises or top-tips for integrating a
Are there best practices for when it's appropriate to use an interface ? Does
Are there any best practices (or even standards) to store addresses in a consistent
Are there any best-practices that state custom code shouldn't be placed in a System
Are there any guidelines/best practices for deciding what type of data should be stored
Are there any patterns or best practices that can be used to simplify changing
Are there any known how-tos or best practices for web service REST API versioning?
I'm looking for best practices here. Sorry. I know it's subjective, but there are
Are there any known design principles, best-practices and design patterns that one can follow

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.