Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: mod_jk2 JNI question for the brave :)

Mladen Turk

2004-01-09

Replies:



> From: Nikola Milutinovic
> Sent: 9. siječanj 2004 7:31
> To: Tomcat Users List
> Subject: Re: mod_jk2 JNI question for the brave :)
>
> Mladen Turk wrote:
>
> >>From: Yiannis Mavroukakis
> >>Sent: 8. siječanj 2004 16:34
> >>
> >>Would it not be possible to bind JNI under a single worker and then
> >>isolate that worker from the rest of the pool (possibly provide the
> >>ability for workers to carry some sort of identification bit with
> >>regards to who can access them)?
> >
> > That was the thing that I considered, but again if you have
> multiple
> > workers, what would be the benefit of having that much Tomcat
> > instances running.
>
> What is the real benefit of running TC from within Apache via JNI?
>

It should be a faster, cause there is no socket channel involved,
and all the communication goes through internall buffers, that share the
same process.

> What would I gain with JNI?
>

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.