Главная страница


ru.cgi.perl

 
 - RU.CGI.PERL ------------------------------------------------------------------
 From : Andrew Alakozow                      2:5061/6       07 Mar 2003  13:05:23
 To : Mikhail Polykovsky
 Subject : Re: Mod_perl блокируется???
 -------------------------------------------------------------------------------- 
 
 MP> То есть одновременное обращение невозможно? А как же тогда
 MP> обрабатываются тысячи запросов? Или я чего-то не понимаю?
 
 MP> P.S. SERVER_SOFTWARE Apache/1.3.17 (Win32) mod_perl/1.24_01
 MP> mod_ssl/2.8.0 OpenSSL/0.9.6 --
 
 Коротко говоря, под Win32 mod_perl 1.xx обрабатывает одновременно только
 один запрос.
 
 http://perl.apache.org/docs/1.0/os/win32/multithread.html#The_problem
 
 On Win32, mod_perl is effectively single threaded. What this means is that a
 single instance of the interpreter is created, and this is then protected by
 a server-wide lock that prevents more than one thread from using the
 interpreter at any one time. The fact that this will prevent parallel
 processing of requests, including static requests, can have serious
 implications for production servers that often must handle concurrent or
 long-running requests.
 This situation changes with Apache/mod_perl 2.0, which is based on a
 multi-process/multi-thread approach using a native Win32 threads
 implementation. See the mod_perl 2 overview for more details, and the
 discussion of modperl-2 in Win32 on getting modperl-2 for Win32 in
 particular.
 
 aa29
 --- Microsoft Outlook Express 6.00.2720.3000
  * Origin: Life In The Dark (2:5061/6)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: Mod_perl блокируется???   Andrew Alakozow   07 Mar 2003 13:05:23 
Архивное /ru.cgi.perl/4391296598a2e.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional