Saurav,
On 2/5/24 12:07, Saurav Sarkar wrote:
We are on Tomcat 9.0.44 . I understand NIO HTTP connector is used by
default in Tomcat.
We are planning to enable web socket communication. I would like to
understand how many parallel web socket connections can be opened ?
A lot.
I understand
Hi All,
We are on Tomcat 9.0.44 . I understand NIO HTTP connector is used by
default in Tomcat.
We are planning to enable web socket communication. I would like to
understand how many parallel web socket connections can be opened ?
I understand that there is no default maxConnections value but
We have a web server hosted on Apache Tomcat Version 7.0.32.
It is a single Tomcat instance on 64 bit windows. Server.xml has two
connectors: The ssl connector is HTTP NIO and the non-ssl connector is HTTP
BIO.
We are trying to achieve vertical scalability and would like to increase
scalability and would like to increase
the concurrent users (~1) based on the given hardware.
Is there any recommendation for maxThreads for single Tomcat instance?
Any other recommendations for scaling single Tomcat instance?
The recommendations are to take an out of the box installation
Thanks alot Chris and Mark.
Regards,
Aditi
I am currently doing some research on implementing a chat system using
java on the server side.
I read a code example for tomcat on :
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/chat/ChatWebSocketServlet.java?view=markup
1. Horizontal scaling
I imagine
: Thursday, April 08, 2010 5:31 PM
To: Tomcat Users List
Subject: Re: Tomcat scalability setting - need help please
Hello Rendra,
comments inline.
On Thu, Apr 8, 2010 at 11:00 AM, Cin Lung cinl...@gmail.com wrote:
Dear All Dev
Sorry if repost, I got an error from the mailing list server
On Fri, Apr 9, 2010 at 2:28 AM, cinl...@gmail.com wrote:
As what I meant by exhaustive, I went to the extent of building my own cache
scheme and it worked, the process still long, but at least it does not kill
the other user, but if two or more user doing the same huge process at the
same
Rendra,
--- On Thu, 4/8/10 at 5:28 PM, cinl...@gmail.com cinl...@gmail.com wrote:
Do you have better way as how to transport this result to
jsp? Please enlighten me.
If you *really* need to serve _millions_ of rows of data to a user you
will need to implement some form of paging - the
ehcache. The companies where I cater is data
hungry company.
Thanks
Rendra
-Original Message-
From: George Sexton [mailto:geor...@mhsoftware.com]
Sent: Friday, April 09, 2010 12:50 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat scalability setting - need help please
Clearly instantiating
AM
To: 'Tomcat Users List'
Subject: RE: Tomcat scalability setting - need help please
Clearly instantiating millions of objects is not a strategy for
scalability.
You're going to have to re-structure your code to reduce the memory
footprint of each session.
Why is your result set returning
To: Tomcat Users Listusers@tomcat.apache.org
Subject: Re: Tomcat scalability setting - need help please
Hello,
Maybe you could just export those data into Excel files (any other format
will do), and provide a download link to those file. Those files could be
generated lazily, means generate
On Fri, Apr 9, 2010 at 12:54 PM, cinl...@gmail.com wrote:
And yes I used excel as the result. It is faster, but still can do better. I
wonder if I can increase the process time to less than 30 min to produce
results with millions of data. Currently, with only one person doing the
analysis
Listusers@tomcat.apache.org
Subject: Re: Tomcat scalability setting - need help please
On Fri, Apr 9, 2010 at 12:54 PM, cinl...@gmail.com wrote:
And yes I used excel as the result. It is faster, but still can do better. I
wonder if I can increase the process time to less than 30 min to produce
:39
To: Tomcat Users Listusers@tomcat.apache.org
Subject: Re: Tomcat scalability setting - need help please
On Fri, Apr 9, 2010 at 12:54 PM,cinl...@gmail.com wrote:
And yes I used excel as the result. It is faster, but still can do better. I
wonder if I can increase the process time to less than
Hei! That is a great idea. All I need now is to socialize the idea.
Thanks so much
Rendra
GOD is GREAT!
-Original Message-
From: Pid p...@pidster.com
Date: Fri, 09 Apr 2010 13:43:42
To: Tomcat Users Listusers@tomcat.apache.org
Subject: Re: Tomcat scalability setting - need help please
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rendra,
On 4/9/2010 6:54 AM, cinl...@gmail.com wrote:
Yes they use their eyes, but before that, they print it into one rim
of papers first. But customer is the king. And there are some
conditions where they really need to print 6 months or more
I'm getting the impression that the output is actually a CSV or something
similar.
p
On 9 April 2010 16:04, Christopher Schultz ch...@christopherschultz.netwrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rendra,
On 4/9/2010 6:54 AM, cinl...@gmail.com wrote:
Yes they use their
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
On 4/8/2010 4:46 AM, Markus Schönhaber wrote:
It's pure accident that I read your post, since I tend to ignore
hi-jacked threads. And I may not be the only one doing so. Therefore,
it's in your own very interest to not hide your messages
On 08/04/2010 04:55, Cin Lung wrote:
Dear All Dev
Can anyone help me with my problem? I have two biggest problems as follow:
Please don't hi-jack threads. Messages that hi-jack threads tend to get
ignored.
Mark
-
To
!
-Original Message-
From: Mark Thomas ma...@apache.org
Date: Thu, 08 Apr 2010 08:00:40
To: Tomcat Users Listusers@tomcat.apache.org
Subject: Re: Tomcat scalability settings
On 08/04/2010 04:55, Cin Lung wrote:
Dear All Dev
Can anyone help me with my problem? I have two biggest
08.04.2010 09:42, cinl...@gmail.com:
I am newbie here. I don't understand what you meant by hi-jacking this
thread. I simply asking tomcat user mailing lis of any solution to my issue.
Did I do something wrong? If so, please let me know what I did wrong.
When you want to talk about a new
Dear All Dev
Sorry if repost, I got an error from the mailing list server.
Can anyone help me with my problem? I have two biggest problems as follow:
1. Multi Connection Problem:
I have a web application that service to multiple users. Everytime the users
accessing the server reach 100 users
On 08/04/2010 10:00, Cin Lung wrote:
Dear All Dev
Sorry if repost, I got an error from the mailing list server.
Can anyone help me with my problem? I have two biggest problems as follow:
1. Multi Connection Problem:
I have a web application that service to multiple users. Everytime the users
Hello Rendra,
comments inline.
On Thu, Apr 8, 2010 at 11:00 AM, Cin Lung cinl...@gmail.com wrote:
Dear All Dev
Sorry if repost, I got an error from the mailing list server.
Can anyone help me with my problem? I have two biggest problems as follow:
1. Multi Connection Problem:
I have a web
:31 PM
To: Tomcat Users List
Subject: Re: Tomcat scalability setting - need help please
Hello Rendra,
comments inline.
On Thu, Apr 8, 2010 at 11:00 AM, Cin Lung cinl...@gmail.com wrote:
Dear All Dev
Sorry if repost, I got an error from the mailing list server.
Can anyone help me with my problem
: Thursday, April 08, 2010 4:56 PM
To: Tomcat Users List
Subject: Re: Tomcat scalability setting - need help please
On 08/04/2010 10:00, Cin Lung wrote:
Dear All Dev
Sorry if repost, I got an error from the mailing list server.
Can anyone help me with my problem? I have two biggest problems
doing it, e.g. by
calling a stored procedure, or by executing exactly the same SQL statement?
Thanks
Rendra
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, April 08, 2010 4:56 PM
To: Tomcat Users List
Subject: Re: Tomcat scalability setting - need help please
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, April 08, 2010 8:49 AM
To: Tomcat Users List
Subject: Re: Tomcat scalability setting - need help please
When you run the query in your application how are you doing it, e.g.
by
calling a stored procedure
to return the result. And
this will hog the tomcat performance for a while.
Any tips would greatly be appreciated.
TIA
Rendra
-Original Message-
From: George Sexton [mailto:geor...@mhsoftware.com]
Sent: Thursday, April 08, 2010 11:42 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat scalability
Clearly instantiating millions of objects is not a strategy for scalability.
You're going to have to re-structure your code to reduce the memory
footprint of each session.
Why is your result set returning a million rows? No human would want to see
that much data.
You need to restructure your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rendra,
At the risk of getting sucked into the insanity...
On 4/8/2010 7:19 AM, Cin Lung wrote:
It's running 32 Bit windows 2003 only With 8GB Ram.
32-bit Microsoft Windows can access 8GiB of RAM (much more, in fact),
but each process is still
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rendra,
On 4/8/2010 12:53 PM, Cin Lung wrote:
Your remark is almost correct. What I did is that I store the result of the
resultset (which can go up to million lines of rows) in a batch of Java
beans. Then I set the beans to the HTTP Request and
: Re: Tomcat scalability setting - need help please
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rendra,
On 4/8/2010 12:53 PM, Cin Lung wrote:
Your remark is almost correct. What I did is that I store the result of the
resultset (which can go up to million lines of rows) in a batch of Java
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rendra,
On 4/8/2010 8:28 PM, cinl...@gmail.com wrote:
I stored the result bean in the http request object, NOT IN THE
SESSION OBJECT, hoping that once the result is delivered, the beans
will die with the request object since request object.
They
Dear All Dev
Can anyone help me with my problem? I have two biggest problems as follow:
1. Multi Connection Problem:
I have a web application that service to multiple users. Everytime the users
accessing the server reach 100 users at the same time, the tomcat would
slows down. I tried to set
the connection by the end of the request.
The above scenario resulted in very poor scalability during the stress
testing. When the average response time for 1 thread was x msec, the average
response time for 2 threads was 2x and 3 threads was 3x and so on.
When I created a pool of connections
Von: [EMAIL PROTECTED]
An: Tomcat Users List users@tomcat.apache.org
Betreff: Testing performance and scalability
We are developing a website that will likely be hit by up to half a
million users.
Our first concern is obviously performance and scalability, but am
wondering how best to test
We are developing a website that will likely be hit by up to half a
million users.
Our first concern is obviously performance and scalability, but am
wondering how best to test this? Most stress tools I've see only simulate
in the order of a thousand users.
Would be grateful for suggestions
To follow up and close the Tomcat scalability thread I opened a while
ago It turned out the bottleneck was on the database hardware end.
Reducing disk utilization resolved our performance issues.
BJ Biernatowski
This e-mail, including attachments, may include confidential and/or proprietary
Mladen Adamovic wrote:
Max number of Java thread, IMHO.
Java thread is not the same as operating system thread.
In fact, JVM used to be single threaded on Linux and Windows and I'm not
quite sure has it changed recently.
So, you might have 800 Java threads but it is still one thread on
Mladen Adamovic wrote:
Biernatowski, Is your HTTP application multi-threaded ?
Irrelevant. Unimportant.
Why is that ? What happens if his app is using this line in JSP ?
%@ page isThreadSafe=false %
Google is your friend.
Or to have i.e. extremely large Lucene database or some other
Please see
http://java.sun.com/developer/technicalArticles/Programming/linux/
Java on linux has been natively multithreaded since 1.3
Uops,
I haven't known.
Thank you all for your information (to Alex Turner, Leon Rosenberg,
Darryl Milles).
I was mistaken about this.
Alex Turner wrote:
Please also note that having a max threads of 750 is pretty much
gaurtenteed
to cause your system to grind to a halt under high load. (Most linux
systems I've seen buckle somewhere around a load average of 75 or so,
which
means 75 threads waiting for CPU time).
You mean 75
Now that we are moving to the theoretical discussion, you will
probably want to have a look at
http://www.kegel.com/c10k.html
Regards
Andrew
On 21/06/2006, at 4:56 PM, Mladen Adamovic wrote:
I spoke recently with guy from Microsoft (project manager from
server division).
He said that
This discussion focuses primarily on serving static files to a client, not
processing dynamic web pages. Most people running tomcat are processing
dynamic pages, like getting data from a database and compositing a page
based on that data.
An FTP site, or a static web site will typically be I/O
hi GB,
From catalina.bat
rem CATALINA_HOME May point at your Catalina build directory.
rem
rem CATALINA_BASE (Optional) Base directory for resolving dynamic
portions
rem of a Catalina installation. If not present, resolves
to
rem the same directory
Users List
Subject: Re: Tomcat's scalability
On 6/19/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED] wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips
.
Just my $0.02.
Gord
-Original Message-
From: Alex Turner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 12:42 AM
To: Tomcat Users List
Subject: Re: Tomcat's scalability
On 6/19/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED
I wanted to thank everybody who shared their Tomcat scalability stories/tips
with me! Thanks a lot!
BJ Biernatowski
Application Developer
-Original Message-
From: Sérgio Costa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 9:39 AM
To: Tomcat Users List
Subject: Re: Tomcat's
Leon Rosenberg wrote:
Isn't Tomcat and JVM still single threaded?
Single thread = single processor usage
I don't think it was ever singlethreaded. And if it were, what would
the Connector setting
in the server.xml mean?
Connector port=8580 maxHttpHeaderSize=8192
maxThreads=750
Darryl Miles wrote:
LOL. Each HTTP request/response cycle is handed off to a worker
thread, the available worker threads are dynamically increased to cope
with the number of the simultaneous HTTP requests being processed in
the moment.
But isn't it Java threads. I'm speaking of operating
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
I wanted to ask the same question..
forget it. it was wrong.
I think I wasn't wrong.
are you sure that tomcat is your bottleneck?
Your 4 CPU machine (which cpu's btw?) should be able to handle more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info about your application.
Do you have any monitoring data?
Leon
On
Almost forgot,
as for your question about multiple jvms with multiple tomcat instances:
we tried to scale tomcat instances on the same machine and it made no
difference.
leon
On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED] wrote:
Hello,
I was hoping somebody on the list might point me in
Do top on the servers to be sure is problem in Tomcat or not.
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
Biernatowski Bartosz J wrote:
Hello,
I was hoping somebody on the
On 6/19/06, Mladen Adamovic [EMAIL PROTECTED] wrote:
Do top on the servers to be sure is problem in Tomcat or not.
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
Isn't Tomcat and JVM still single threaded?
Single thread = single processor usage
On 6/19/06, Mladen Adamovic [EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
Isn't Tomcat and JVM still
Leon Rosenberg wrote:
On 6/19/06, Mladen Adamovic [EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
Isn't
Developer, e-Business
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 10:49 AM
To: Tomcat Users List
Subject: Re: Tomcat's scalability
are you sure that tomcat is your bottleneck?
Your 4 CPU machine (which cpu's btw?) should be able to handle
Subject: Re: Tomcat's scalability
are you sure that tomcat is your bottleneck?
Your 4 CPU machine (which cpu's btw?) should be able to handle more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info about your application.
Do you have any
: Re: Tomcat's scalability
are you sure that tomcat is your bottleneck?
Your 4 CPU machine (which cpu's btw?) should be able to handle more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info about your application.
Do you have any monitoring
How do you propose to add a 'separate instance of Tomcat' without 'adding a
separate JVM'?
Or do you/others mean by 'instance of tomcat' = 'a separate physical server
with single instance of JVM/Tomcat' ?
So far it sounds that the approach of adding separate
instance of Tomcat and using
PM
To: 'Tomcat Users List'
Subject: RE: Tomcat's scalability
How do you propose to add a 'separate instance of Tomcat' without 'adding a
separate JVM'?
Or do you/others mean by 'instance of tomcat' = 'a separate physical server
with single instance of JVM/Tomcat' ?
So far it sounds
kindergarten
:-)
BJ Biernatowski
Application Developer, e-Business
Leon
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 10:49 AM
To: Tomcat Users List
Subject: Re: Tomcat's scalability
are you sure that tomcat is your bottleneck?
Your 4 CPU
On 6/19/06, Mladen Adamovic [EMAIL PROTECTED] wrote:
Do top on the servers to be sure is problem in Tomcat or not.
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain
On 6/19/06, Biernatowski Bartosz J [EMAIL PROTECTED] wrote:
On 6/19/06, Mladen Adamovic [EMAIL PROTECTED] wrote:
Do top on the servers to be sure is problem in Tomcat or not.
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should
, one day we'll track down our leaks
and then we won't 'need' to do that.
Of course, we're still CPU-bound, so there's no real 'performance' or
'scalability' enhancement by having more than one instance on a single box.
We'd get that (I think) if we clustered more than one physical box each with
its
Biernatowski Bartosz J wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon. My monitoring data:
Why are you 90% sure?! Your SQL server is running on a seperate machine?
or the same
On 6/20/06, Andrew Miehs [EMAIL PROTECTED] wrote:
Biernatowski Bartosz J wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon. My monitoring data:
If this is a REAL problem for your
Ooops - forgot to add the rest
Andrew Miehs wrote:
Could be anything - the database
could be the indexes in the database, could be deadlocks, could be a
badly programmed application, could be high packet loss on the ethernet
interfaces, could even be tomcat -
As for the 90% guess - At
: Re: Tomcat's scalability
are you sure that tomcat is your bottleneck?
Your 4 CPU machine (which cpu's btw?) should be able to handle more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info about your application.
Do you have any
I think there is no Tomcat scalability issue. The issue is your application
scalability. We have made an application which be able to install on multiple
Tomcats. I think this is the scalability issue.
See, if you visit http://breakevilaxis.org, then you visit http://www.ddint.org
74 matches
Mail list logo