| FCGI :: PROCMANAGER. FCGI :: PROCMANAGER FASTCGI ÀÀ¿ë ÇÁ·Î±×·¥À» °ü¸®ÇϱâÀ§ÇÑ ±â´ÉÀÌÀÖ´Â PERL ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
FCGI :: PROCMANAGER. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- FundsXpress Financial Network, Inc.
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~jurach/FCGI-ProcManager-0.17/ProcManager.pm
FCGI :: PROCMANAGER. ű×
FCGI :: PROCMANAGER. ¼³¸í
FCGI :: PROCMANAGER FASTCGI ÀÀ¿ë ÇÁ·Î±×·¥À» °ü¸®ÇϱâÀ§ÇÑ ±â´ÉÀÌÀÖ´Â PERL ¸ðµâÀÔ´Ï´Ù. FCGI :: ProcManager´Â FastCGI ÀÀ¿ë ÇÁ·Î±×·¥À» °ü¸®ÇϱâÀ§ÇÑ ±â´ÉÀÌÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. °´Ã¼ ÁöÇâ ½ºÅ¸ÀÏÀÇ SyNopsis {# CGI :: FAST; FCGI :: PROCMANAGER¸¦ »ç¿ëÇϽʽÿÀ. MY $ PROC_MANAGER = FCGI :: PROCMANAGER-> NEW ({n_processes => 10}); $ proc_manager-> pm_manage (); while (my $ cgi = cgi :: fast-> new ()) {$ proc_manager-> pm_pre_dispatch (); # ... ¿©±â¿¡¼ ¿äûÀ» ó¸®ÇϽʽÿÀ ... $ proc_manager-> pm_post_dispatch (); } #ÀÌ ½ºÅ¸Àϵµ Áö¿øµË´Ï´Ù. CGI :: Fast; FCGI :: PROCMANAGER QW (PM_MANAGE PM_PRE_DISPATCH PM_POST_DISPATCH)¸¦ »ç¿ëÇϽʽÿÀ. pm_manage (n_processes => 10); while (my $ cgi = cgi :: fast-> new ()) {pm_pre_dispatch (); # ... pm_post_dispatch (); } fcgi :: ProcManager´Â FastCGI ÇÁ·Î¼¼½º °ü¸®ÀÚ·Î »ç¿ëÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù. Perl¿¡¼ ´Ù½Ã ±¸ÇöÇÔÀ¸·Î½á °³¹ßÀÚ´Â À¥ ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼ ¼º´ÉÀ»º¸´Ù Àß Á¶Á¤ÇÒ ¼ö ÀÖÀ¸¸ç UNIX Ä¿³Î ÇÁ·Î¼¼½º °ü¸®¿¡¼ º¹»ç ¿ÀÀü½Ã Àǹ̷ÐÀ» È°¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÇÁ·Î¼¼½º °ü¸®Àڴ ȣÃâÀÚÀÇ ¿äû ·çÇÁ (primary routine, pm_manage)°¡ ·çÇÁ¸¦ ÀÔ·ÂÇϱâ Àü¿¡ PM_Maneage¸¦ È£ÃâÇؾßÇÕ´Ï´Ù. (2)). PM_Manage´Â ³Ê¹« ÈÄÅ©¸¦ Á¦°øÇÕ´Ï´Ù : C - Manager ·çÇÁ°¡ ÀԷµDZ⠹ٷΠÀü¿¡ È£ÃâµË´Ï´Ù. C - ¼¹ö°¡ C ¿¡¼ ¸®ÅÏÇϱâ Á÷Àü¿¡ È£ÃâµÇ±â ¹Ù·Î Àü¿¡ È£ÃâµÇ¸ç ¿äû ·çÇÁ¸¦ ±¸ÇöÇÒ ¶§ ·çÇÁ »ó´Ü¿¡ PM_PRE_Dispatch È£ÃâÀ» »ðÀÔ ÇÑ ´ÙÀ½ 7PM_POST_DISPATCH°¡ ³¡³¯ ¶§ ·çÇÁ. ¿ä±¸ »çÇ× : ¡¤ Perl.
FCGI :: PROCMANAGER. °ü·Ã ¼ÒÇÁÆ®¿þ¾î