|
|
ru.perl- RU.PERL ---------------------------------------------------------------------- From : Andrew Alakozow 2:5061/6 08 Oct 2003 16:24:07 To : Dmitry Tsigelnik Subject : Re: Persitent db connection and Mod_Perl -------------------------------------------------------------------------------- DT> Из доки под mod_perl: DT> PerlChildInitHandler DT> The child_init phase happens immediately after the child process is DT> spawned. Each child process (not a thread!) will run the hooks of this DT> ^^^^^^^^^^^^^^^^^^ ты это видел???? DT> phase only once in their life-time. http://perl.apache.org/docs/2.0/user/performance/mpm.pdf 1.3.2 Work with DataBases under Threaded MPM The current Apache::DBI should be usable under threaded mpm, though it doesn 't share connections across threads. Each Perl interpreter has its own cache, just like in the prefork mpm. DBI::Pool is a work in progress, which should bring the sharing of database connections across threads of the same process. Watch the mod_perl and dbi-dev lists for updates on this work. Once DBI::Pool is completed it'll either replace Apache::DBI or will be used by it. aa29 --- Microsoft Outlook Express 6.00.2720.3000 * Origin: Life In The Dark (2:5061/6) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/44504aa702fa1.html, оценка из 5, голосов 10
|