tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Econopouly" <john...@hotmail.com>
Subject Re: mucho threads ok? Architecture question...
Date Tue, 20 Jun 2000 06:47:22 GMT

Platform is Linux.
Apache I think forks a process for every concurrent connection.
I don't know what Tomcat's threading needs are, that's what my
question is...
j

>From: Rick Bosch <rbosch@actv.com>
>Reply-To: tomcat-user@jakarta.apache.org
>To: tomcat-user@jakarta.apache.org
>Subject: Re: mucho threads ok?  Architecture question...
>Date: Tue, 20 Jun 2000 09:42:47 -0400
>
>what platform are you on and are you using native threads or green threads.
>Threads are handled diffferently on dofferent platforms.  You're probably
>better off on a Solaris sparc box than a Mac.
>
>rick
>
>----------
> >From: "John Econopouly" <johneco@hotmail.com>
> >To: tomcat-user@jakarta.apache.org
> >Subject: mucho threads ok?  Architecture question...
> >Date: Mon, Jun 19, 2000, 8:31 PM
> >
>
> >
> > I need to create a "push" system, where I send changes in price 
>information
> > to a large number of clients (1,000 - 5,000) in real-time (a few
> > seconds...).  I'm trying to get something like this to work using
> > Linux/Apache/Tomcat as opposed to building my own custom server (I'm 
>lazy),
> > and the architecture I am considering is to have applets on the client 
>side
> > that make HTTP get requests which are handled by a servlet that blocks 
>until
> > there is some information to send.
> >
> > Sooo, in order to get this to work, I need to support alot of concurrent
> > threads (mostly blocked in a wait() state, one for each client), and 
>alot of
> > concurrent HTTP connections.  Assuming I can get Linux and Apache to 
>support
> > this, are there any further issues I need to be aware of wrt Tomcat?  
>Like
> > is there a MAX_CLIENTS setting somewhere, or a maximum number of 
>threads, or
> > something like that?  I'm sort of assuming that Tomcat just gets called 
>from
> > within the same thread of execution that was opened by Apache, which 
>would
> > imply that there are no further threading issues, but I'm unsure.  I did 
>see
> > some code related to Thread Pools somewhere in Tomcat... Anyone know?
> >
> > Does anyone thing I'm retarded for trying to do this using Tomcat,
> > especially since I need to go into production with it in a few months?
> > Just curious...
> >
> > thanks
> > j
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
> > 
>--------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message