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

  • SEARCH
  • Home
  • 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 8017663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:54:40+00:00 2026-06-04T20:54:40+00:00

We have a webapp serving the requests for one of our services. We have

  • 0

We have a webapp serving the requests for one of our services. We have it running in a Tomcat 7 server. As explained below, not much more details are needed as we have similar results with the most basic Servlet we could create.

We run a load test with jmeter with different number of concurrent threads doing requests to our service for a minute. With the results we generate some charts with average response time vs concurrent threads, and number of requests per second vs concurrent threads.

At around 10 concurrent threads in our test we find a limit in the throughput managed by our application. Starting from that number of threads the average response time increases and the number of requests per second is stable.

We have tested several changes to our application, even removing all the application logic and returning an static response. And also run the same tests against a basic Servlet that does nothing, and we got similar results: much better average response time and throughput values, but limit reached at around 10 concurrent threads in the test.

We have also run similar tests with Apache Benchmark to discard problems with the testing tool.

The tests were run in a 2 server pool. When run in a local computer they gave a similar result but the throughput limit was reached at around 5 concurrent threads.

Here’s the throughput chart. Note that the values of each of the lines are not important (for example: some have db access removed, or even most application logic so they take fewer time).

Throughput chart

What we want to understand is where the throughput limit comes from and what we can do to improve it.

Thanks,
Jorge

PS: I’d add the image instead of just a link but it looks like I don’t have enough reputation 🙁

  • 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-06-04T20:54:41+00:00Added an answer on June 4, 2026 at 8:54 pm

    After tuning the jvm to an optimal setup the limitation will get down to the hardware you are running on. Threads need cpu to run and adding more threads only helps if other threads are blocked from execution by something like IO, even then the containers threads add overhead. When you reach that limit you will need to add more hardware.

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

Sidebar

Related Questions

multiple webapp running on same tomcat using same jvm. sometime, one webapp that have
I have a webapp running in Tomcat which uses Spring for dependency injection. (It's
I have to deploy a webapp on Tomcat 6.0.24, serving some webservices that should
I have a Struts2 webapp, in which I compiled using the Tomcat 5.5 libraries.
I have a webapp on a NGinx server. I set gzip on in the
I have a webapp which is built using spring 3 and tiles 2 (not
I have a Webapp which connects to 2 DBs (one core, the other is
I've to evaluate some mobile technologies and have one question. We have webapp. It's
In tomcat 6 i have a servlet running openbluedragon, everything compiles and servers up
I have a webapp development problem that I've developed one solution for, but am

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.