TomcatExpert

Simultaneous Users

How many "simultaneous users" can a Tomcat server support and where do I find this setting? I've read on the internet that Tomcat is limited to 15 "simultaneous users" and that Tomcat supports "unlimited numbers" of users. What's the real story?

asked by johnv

question

Tomcat doesn't have such a setting and you shouldn't trust everything you read on the internet!

A limitation like 15 simultaneous users would make the large scale, high availability Tomcat deployments that are already powering banks, government applications and large corporations completely impossible. On the Apache Tomcat Users mailing list, for example, we see people fairly frequently who are debugging their applications under load tests simulating thousands of concurrent users.

One of the advantages of using software like Tomcat is that it provides the Servlet Spec environment, (which is usually enough to support most applications with a few Apache Commons libraries or the use of frameworks like Struts and Spring), but it's lightweight and uses comparatively little in the way of system resources itself.

The amount of concurrent users will depend on the server hardware (processors, memory), the types of resources being used within the application and what your application is actually doing. A fictional application which generates PDF reports on demand from large amounts of data, taking minutes for each request is going to need substantially more server resources to support a similar number of users to an application which is serving largely static or cached resources.

In Tomcat versions 6.0 and up, the best way to configure the number of threads the Connector uses is via the Executor element. http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html

The default setting for the maxThreads attribute is 200, which should be enough to get most applications started. In fact, in my experience you'll need to add more servers to scale up because of application memory usage before the maxThreads attribute gets too high.

So, to answer each question: Tomcat is not limited to 15 users; it will support however many concurrent users your application(s) can support.

answer

answered by pidster on August 3, 2010 10:02 AM

Stuart Williams is a Senior Consultant for the SpringSource Division of VMware, Inc. (NYSE: VMW). Stuart has been a Tomcat user for 6 years and is a regular contributor to the Apache Tomcat Users mailing list, and is also a committer on the Apache Amber OAuth project.

Comments

woow

This is such a great resource that you are providing and you give it away for free. I love
seeing that understand the value of providing a quality resource for free. :) :)
bloons tower defense 5
super smash flash 2

OBAT HERBAL ALAMI GROSIR AMAZON PLUS

Obat Hepatitis C
Amazing Juice of Mangosteen terbuat dari 100 persen bahan-bahan alamiah dengan komposisi kulit manggis, bunga roselle, apel, buah anggur, dan madu murni digunakan sebagai pengawet alami. Pengamatan para ahli sudah menyimpulkan bahwa pada kulit manggis terdapat suatu senyawa yang bernama xanthones yang mempunyai antioksidan yang berfungsi untuk mengatasi anti-virus, dll.

Obat Herbal TBC Paru
Jus Kulit Manggis mengandung xanthone yang dalam memiliki antioksidan berkali-kali lebih banyak daripada buah lainnya. zat xanthone memiliki manfaat sebagai anti-aging, anti-bakteri. Jelas sudah Amazing Juice of Mangosteen merupakan Obat Tradisional TBC yang sangat bagus serta tanpa ada efek samping bagi penggunanya.

Obat Batu Empedu Tanpa Operasi
Meskipun ketika konsumsi Amazon Gaby merasakan sakit kepala, sakit pada empedu, & segala perasaan yang tidak menyenangkan. Kejadian itu lantas tidak membuat Maria Gabrielle stop konsumsi Amazon Plus tersebut. Seusai minum sebanyak sebotol Jus Kulit Manggis selama 1 minggu, penyakitnya disembuhkan.

easy going

Apart from the value of such

Apart from the value of such assertions as "there is a categorical imperative in us," one can always ask: What does such an assertion indicate about him who makes to it? There are systems of morals which are meant to justify their author in the eyes of other people; other systems of morals are meant to tranquilize him, and make him self-satisfied; with other systems he wants to crucify and humble himself, with replica burberry handbags others he wishes to take revenge, with others to conceal himself, with others to glorify himself and gave superiority and distinction,—this system of morals helps its author to forget, that system makes him, or something of him, forgotten, many a moralist would like to exercise power and creative arbitrariness over mankind, many another, perhaps, Kant especially, gives us to understand by his morals that "what is oyster perpetual air-king estimable in me, is that I know how to obey—and with you it SHALL not be otherwise than with me!" In short, systems of morals are only a SIGN-LANGUAGE OF THE EMOTIONS.

In contrast to laisser-aller, every system of morals is a sort of tyranny against "nature" and also against "reason", that is, however, no objection, unless one should again decree by some system of morals, that all kinds of tyranny and unreasonableness are unlawful What is essential and invaluable in every system of morals, is that it is a long constraint. In order to understand Stoicism, or Port Royal, or breitling Puritanism, one should remember the constraint under which every language has attained to strength and freedom—the metrical constraint, the tyranny of rhyme and rhythm. How much trouble have the poets and orators of every nation given themselves!—not excepting some of the prose writers of today, in whose ear dwells an inexorable conscientiousness—"for the sake of a folly," as utilitarian bunglers say.

And thereby deem themselves wise—"from submission to arbitrary laws," as the anarchists say, and thereby fancy themselves "free," even free-spirited. The singular fact remains, however, that everything of the nature of freedom, elegance, boldness, dance, and masterly certainty, which exists or has existed, whether it be in thought itself, or in administration, or in speaking and persuading, in art just as in conduct, has only developed by means of the tyranny of such arbitrary law, and in all seriousness, it is not at all improbable that precisely this is "nature" and "natural"—and not laisser-aller! Every artist rolex submariner knows how different from the state of letting himself go, is his "most natural" condition, the free arranging, locating, disposing, and constructing in the moments of "inspiration"—and how strictly and delicately he then obeys a thousand laws.

Which, by their very rigidness and precision, defy all formulation by means of ideas (even the most stable idea has, in comparison therewith, something floating, manifold, and ambiguous in it). The essential thing "in heaven and in earth" is,rolex datejust apparently (to repeat it once more), that there should be long OBEDIENCE in the same direction, there thereby results, and has always resulted in the long run, something which has made life worth living; for instance, virtue, art, music, dancing, reason, spirituality—anything whatever that is transfiguring, refined, you's foolish, or divine.

youtube subscribes

Found the great place where i got the youtube subscribers which let me to bring more traffic in my channels as i enjoyed very much.

I have never come across with

I have never come across with tom cat servers so far. But read many good reviews from essay on time blogs. This has made me impressed and really looking forward to the one which i have been thinking to use this server for my further works.

I have never heard about this

I have never heard about this new feature of Apache Tomcat , I am a regular user of it and I know that it supports simultaneous users but I don’t the details of its settings. Thanks for sharing such a valuable information here. Jewish jobs

The article are really nice

The article are really nice for reading. We are get karma and neutral related reviews, information and news from our official website of scholarship essay writing service. It is one of the popular service for providing real and genuine level of information to the readers.

David

follower kaufen So it is interesting and very good written and see what they think about other people. twitter favorites free

hallo

cara install windows 7 Simply, admirable what you have done here. It is pleasing to look you express from the heart and your clarity on this significant content can be easily looked. Remarkable post and will look forward to your future update.jenis processor intel,cara melihat spesifikasi komputer,perangkat keras komputer dan fungsinya,cara install ulang windows 7,sejarah perkembangan dan generasi komputer

reply

In my opinion, very few people can use the Tomcat server at a time. However, if you want to allow more people to use it, I would say you should invest your money in buying more powerful servers that can accommodate multiple users. curd cheese

hungry shark evolution hacked

hungry shark evolution hacked apk These you will then see the most important thing, the application provides you a website a powerful important internet page: tipps clash of clans

how to get more

how to get more followers What a really awesome post this is. Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up. views youtube buy

Tomcat 7.0.34 concurrent requestes

Hi,

We have developed a web application.We are using tomcat 7.0.32 as web server.

•The client needs configuration for supporting 5K-10K customers.
The Application server configuration provided by the client has been mentioned below.
The webserver used for the application is Apache tomcat 7.0.34.

Can you please let us know is this configuration will liable for supporting 5k -10k customers or do we need to improve the configuration for better performance.?

Application Sever :M1 Medium Instance
3.75 GiB memory
2 EC2 Compute Unit (1 virtual core with 2 EC2 Compute Unit)
410 GB instance storage
32-bit or 64-bit platform
I/O Performance: Moderate
EBS-Optimized Available: No
API name: m1.medium

Can anyone help me please?

Thanks,
Ann

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.