You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by kb <ja...@chorg.com> on 2003/12/29 22:28:11 UTC
newbie question about nbio
sorry about asking this but i would just like to verify if James uses
any of the new non blocking io available since java 1.4 ?
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: newbie question about nbio -questiion
Posted by Serge Knystautas <se...@lokitech.com>.
Stephen McConnell wrote:
>> The last paragraph in the volano report conclusions:
>>
>> "The good news is that Dan Kegel's C10K Problem has been solved in
>> Java 1.3, even when using the original blocking Java input and output
>> methods, and even when using modest hardware. The bad news is that the
>
> Just what does "C100K" represent?
http://www.kegel.com/c10k.html
C10k was 10,000 clients (i.e., concurrent connections). The C10k
problem talked about how an FTP server at the time (in 1999) could
handle 10,000 clients, so that was set as the goal.
C100k is 100,000 clients. :)
--
Serge Knystautas
President
Lokitech >>> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: newbie question about nbio -questiion
Posted by Stephen McConnell <mc...@apache.org>.
Serge Knystautas wrote:
> The last paragraph in the volano report conclusions:
>
> "The good news is that Dan Kegel's C10K Problem has been solved in
> Java 1.3, even when using the original blocking Java input and output
> methods, and even when using modest hardware. The bad news is that the
> Java vendors seem to have abandoned that achievement in Java 1.4.
> Blackdown 1.4.1 no longer offers the -green Classic VM option that
> allows so many connections with the 1.3.1 release. The BEA High
> Performance Threading System (Thin Threads) is no longer so highly
> performing in JRockit versions 7.0 and 8.1 compared to the earlier 3.1
> release. Tower Technology, with its fast and scalable TowerJ product,
> simply went out of business. However, there is still cause for hope.
> The new I/O model in Java 1.4 allows some server applications to
> reduce their thread count to single digits; the Native POSIX Thread
> Library in Red Hat Linux 9 promises to solve the problems of
> highly-threaded Java applications on Linux once and for all; and of
> course, increases in hardware performance have made some of these
> problems simply evaporate. With these changes in hand, Java developers
> can start making headway in the C100K Problem."
Just what does "C100K" represent?
Steve.
--
Stephen J. McConnell
mailto:mcconnell@apache.org
|------------------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org/merlin |
| http://dpml.net/ |
|------------------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: newbie question about nbio
Posted by kb <ja...@chorg.com>.
On Mon, Dec 29, 2003 at 06:16:52PM -0500, Serge Knystautas wrote:
> Yeah, but my point is there's little motivation to remove the 1:1
> relationship.
>
> http://www.volano.com/report/index.html
Well thanks for the info i was just wondering about james in particular,
thanks for the link also ... question anserwed.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: newbie question about nbio
Posted by Serge Knystautas <se...@lokitech.com>.
Noel J. Bergman wrote:
>>Nope, we're using JavaMail which doesn't have nio. Also, we're a long
>>way (and possibly never going to reach a point) where nio is useful to
>>an app like James.
>
> NIO is important to changing the 1:1 relationship between active connections
> and threads. However, we've had many requests from the user community to
> not require JRE 1.4+.
Yeah, but my point is there's little motivation to remove the 1:1
relationship.
http://www.volano.com/report/index.html
Even the comparatively bad score for a JVM (like Sun JDK 1.4.1 on Linux)
can handle 1,000 threads gracefully, which meets the ASF infrastructure
requirements... about as tricked out as I'd expect a single server to be.
The last paragraph in the volano report conclusions:
"The good news is that Dan Kegel's C10K Problem has been solved in Java
1.3, even when using the original blocking Java input and output
methods, and even when using modest hardware. The bad news is that the
Java vendors seem to have abandoned that achievement in Java 1.4.
Blackdown 1.4.1 no longer offers the -green Classic VM option that
allows so many connections with the 1.3.1 release. The BEA High
Performance Threading System (Thin Threads) is no longer so highly
performing in JRockit versions 7.0 and 8.1 compared to the earlier 3.1
release. Tower Technology, with its fast and scalable TowerJ product,
simply went out of business. However, there is still cause for hope. The
new I/O model in Java 1.4 allows some server applications to reduce
their thread count to single digits; the Native POSIX Thread Library in
Red Hat Linux 9 promises to solve the problems of highly-threaded Java
applications on Linux once and for all; and of course, increases in
hardware performance have made some of these problems simply evaporate.
With these changes in hand, Java developers can start making headway in
the C100K Problem."
--
Serge Knystautas
President
Lokitech >>> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
RE: newbie question about nbio
Posted by "Noel J. Bergman" <no...@devtech.com>.
Serge Knystautas wrote:
> kb wrote:
> > sorry about asking this but i would just like to verify if James uses
> > any of the new non blocking io available since java 1.4 ?
> Nope, we're using JavaMail which doesn't have nio. Also, we're a long
> way (and possibly never going to reach a point) where nio is useful to
> an app like James.
NIO is important to changing the 1:1 relationship between active connections
and threads. However, we've had many requests from the user community to
not require JRE 1.4+.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: newbie question about nbio
Posted by Serge Knystautas <se...@lokitech.com>.
kb wrote:
> sorry about asking this but i would just like to verify if James uses
> any of the new non blocking io available since java 1.4 ?
Nope, we're using JavaMail which doesn't have nio. Also, we're a long
way (and possibly never going to reach a point) where nio is useful to
an app like James.
--
Serge Knystautas
President
Lokitech >>> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org