You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_tcl-dev@tcl.apache.org by Bas Scheffers <ba...@scheffers.net> on 2003/02/10 17:00:37 UTC
Architecture questions
Hi,
Comming from the AOLserver world, I have some questins about how things
are done in mod_tcl/apache 2.0.
You say: "mod_tcl only needs to initialize an interpreter once at Apache
web server startup".
How is this interpreter used? Is there only one started up in the main
Apache thread and then copied for every other thread? (like AOLserver
does) Or is there some other way this interpreter is used by the different
threads?
What about database connectivity? I assume you can use the syb_tcl, etc.
packages, but is there any way to do connection pooling?
Cheers,
Bas.
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_tcl-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_tcl-dev-help@tcl.apache.org
Re: Architecture questions
Posted by Michael Link <ml...@synthemesc.com>.
There is actually still some discussion how the threading for mod_tcl
should work with Apache 2.0. First off I've had trouble with Tcl in
multi-threaded programs, it appears to be randomly unstable... Thus
mod_tcl may have problems in the truly threaded version of Apache 2.0
(which isn't even offered as an option as of the previous revision, I
haven't checked on the new one yet).
Currently the mpm_prefork method works by having each apache process
contain 1 tcl interpreter that serves all requests. I believe this is
the method that the worker mpm uses also.
On Monday, February 10, 2003, at 10:00 AM, Bas Scheffers wrote:
> Hi,
>
> Comming from the AOLserver world, I have some questins about how things
> are done in mod_tcl/apache 2.0.
>
> You say: "mod_tcl only needs to initialize an interpreter once at
> Apache
> web server startup".
>
> How is this interpreter used? Is there only one started up in the main
> Apache thread and then copied for every other thread? (like AOLserver
> does) Or is there some other way this interpreter is used by the
> different
> threads?
>
> What about database connectivity? I assume you can use the syb_tcl,
> etc.
> packages, but is there any way to do connection pooling?
>
> Cheers,
> Bas.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mod_tcl-dev-unsubscribe@tcl.apache.org
> For additional commands, e-mail: mod_tcl-dev-help@tcl.apache.org
>
--
Michael K Link <ml...@synthemesc.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_tcl-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_tcl-dev-help@tcl.apache.org