Jim Wilcoxson wrote:
>
> Another circumstance is if you have a large TCL library code base in
> modules/tcl and make heavy use of the thread mechanism, like frequently
> starting detached threads.
>
> This is no big deal with 2.3.3 because of the shared TCL interpreter,
> but 3.X takes a huge performance hit when a thread starts (and you have
> a large TCL library). Basically, your TCL library is sourced whenever
> a thread starts in 3.x, but it is just "there" in 2.3.3.
When you are saying "TCL library" are referring also at the tcl files in
/usr/local/aolserver/servers/server1/modules/tcl ?
because I have a lot of procedures there and also some startup commands
that must be run only once for one AOL server (opening database and
build a huge cache with information that need to be fetched almost
instantly).
Constantin Teodorescu