<-
Apache > HTTP Server > Documentation > Version 2.0 > ¸ðµâ

Please note

This document refers to the 2.0 version of Apache httpd, which is no longer maintained.
Upgrade, and refer to the current version of httpd instead, documented at:
You may follow this link to go to the current version of this document.

¾ÆÆÄÄ¡ MPM leader

°¡´ÉÇÑ ¾ð¾î:  de  |  en  |  es  |  ko 

ÀÌ ¹®¼­´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù. ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼­¸¦ Âü°íÇϼ¼¿ä.
¼³¸í:Ç¥ÁØ worker MPMÀÇ ½ÇÇèÀûÀÎ º¯Çü
»óÅÂ:MPM
¸ðµâ¸í:mpm_leader_module
¼Ò½ºÆÄÀÏ:leader.c

¿ä¾à

ÁÖÀÇ

ÀÌ MPMÀº ½ÇÇèÀûÀÎ »óÅ·Î, ±â´ëÇÑ´ë·Î µ¿ÀÛÇÏÁö¾ÊÀ» ¼ö ÀÖ´Ù.

ÀÌ ¸ðµâÀº Ç¥ÁØ worker MPMÀÇ ½ÇÇèÀûÀÎ º¯ÇüÀÌ´Ù. ÀÌ ¸ðµâÀº ¾²·¹µå°£ÀÇ Çùµ¿À» À§ÇØ Leader/Followers µðÀÚÀÎÆÐÅÏÀ» »ç¿ëÇÑ´Ù. ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf¸¦ Âü°íÇ϶ó.

leader MPMÀ» »ç¿ëÇÏ·Á¸é, httpd¸¦ ÄÄÆÄÀÏÇÒ¶§ configure ½ºÅ©¸³Æ® ¾Æ±Ô¸ÕÆ®¿¡ --with-mpm=leader¸¦ »ç¿ëÇÑ´Ù.

ÀÌ MPMÀº ¾²·¹µå µ¿±â¸¦ À§ÇØ APRÀÇ atomic compare-and-swap ¸í·ÉÀ» »ç¿ëÇÑ´Ù. x86¿ëÀ¸·Î ÄÄÆÄÀÏÇÏÁö¸¸ 386À» Áö¿øÇÒ ÇÊ¿ä°¡ ¾ø°Å³ª, SPARC¿ëÀ¸·Î ÄÄÆÄÀÏÇÏÁö¸¸ UltraSPARC Ĩ ÀÌÀü¿¡¼­ ½ÇÇàÇÏÁö ¾Ê´Â´Ù¸é, configure ½ºÅ©¸³Æ® ¾Æ±Ô¸ÕÆ®¿¡ --enable-nonportable-atomics=yes¸¦ »ç¿ëÇ϶ó. ±×·¯¸é APRÀÌ ¿À·¡µÈ CPU¿¡´Â ¾ø´Â ´õ È¿À²ÀûÀÎ ¸í·É¾î¸¦ »ç¿ëÇÏ¿© atomic ¸í·ÉÀ» ±¸ÇöÇÑ´Ù.

Áö½Ã¾îµé

°¡´ÉÇÑ ¾ð¾î:  de  |  en  |  es  |  ko