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 t
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 a
Thanks alot Chris and Mark.
Regards,
Aditi
>>
>> We are trying to achieve vertical 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 sca
> 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 w
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 tha
> Thank you for your advice and sorry for my bad English.
>
>
> -Original Message-
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
> Sent: Thursday, April 08, 2010 5:31 PM
> To: Tomcat Users List
> Subject: Re: Tomcat scalability setting - need help please
-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
I'm getting the impression that the output is actually a CSV or something
similar.
p
On 9 April 2010 16:04, Christopher Schultz wrote:
> -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, th
-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
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
Date: Fri, 09 Apr 2010 13:43:42
To: Tomcat Users List
Subject: Re: Tomcat scalability setting - need help please
On 09/04/2010 13:08, cinl...@gmail.com
mcat Users List
Subject: Re: Tomcat scalability setting - need help please
On Fri, Apr 9, 2010 at 12:54 PM, 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.
omcat scalability setting - need help please
On Fri, Apr 9, 2010 at 12:54 PM, 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, wit
On Fri, Apr 9, 2010 at 12:54 PM, 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 and no one e
o: Tomcat Users List
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 the first time it is reque
oftware.com]
> Sent: Friday, April 09, 2010 12:50 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-struc
r use 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
Clearl
Rendra,
--- On Thu, 4/8/10 at 5:28 PM, 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 query results
On Fri, Apr 9, 2010 at 2:28 AM, 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 time it will
-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.
The
, but if two or more user doing the same huge process at the same
time it will still consume the server.
TIA
Rendra
GOD is GREAT!
-Original Message-
From: Christopher Schultz
Date: Thu, 08 Apr 2010 18:12:16
To: Tomcat Users List
Subject: 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
> beans. Then I set the beans to the HTTP Request and
-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 lim
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
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 s
> -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.
&g
e query in your application how are you 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 sca
Sent: 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 bi
010 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 wrote:
> Dear All Dev
>
> Sorry if repost, I got an error from the mailing list server.
> Can anyone help me with my pr
Hello Rendra,
comments inline.
On Thu, Apr 8, 2010 at 11:00 AM, 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 applicatio
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
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 at
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
GREAT!
-Original Message-
From: Mark Thomas
Date: Thu, 08 Apr 2010 08:00:40
To: Tomcat Users List
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 problems as follow:
Please
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 uns
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 -xmx
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
400
> Von: [EMAIL PROTECTED]
> An: "Tomcat Users List"
> 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
> w
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 sugges
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
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
Not only.
The issue is really whether it make sense to use the operating systems
process table as a queue or not. Up until linux new threading model in
Linux kernel 2.6 this was definitely the case. The 2.6 threads are very
efficient, so most programmers will not notice a real performance
deg
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 b
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 hea
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
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.
-
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
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
operatin
Please see
http://java.sun.com/developer/technicalArticles/Programming/linux/
Java on linux has been natively multithreaded since 1.3
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 see
On 6/21/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??
>> I wanted to ask
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.
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:
Memory utilization under 30%, CPU under 10%. Using hardcore performance
tools and systematic app
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 sy
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?
Max number of Java thread, IMHO.
Java thread is not the same as operating
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
ne
contributing factor of your poor performance.
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:
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]> wrote:
> > I am about 90% sure the bottleneck is Tomcat or what's runnin
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
They are
osenberg [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 more
> than 1000 use
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 l
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
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 machine?
he websites they serve. And I
always say 'need' in quotes because yes, 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
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.
> Yo
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
ing else is just 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 b
2:40 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 in
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
06 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 more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info
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 more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info abo
pplication 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?) shou
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??
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 s
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:
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 explai
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 list
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 i
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 6/19/06,
Hello,
I was hoping somebody on the list might point me in the right direction...
I am trying to scale up Tomcat based web application currently supporting
~100 users to 350 users.
It seems that I have enough hardware: 2 load balanced servers x 4 CPUs each
with 4 GB of RAM which is underutilized
79 matches
Mail list logo