°Ô½Ã¹° 1,369°Ç
   
Apache Keepalive
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-08-12 (¸ñ) 19:37 Á¶È¸ : 12120
±ÛÁÖ¼Ò :
                                
The Keep-Alive extension to HTTP/1.0 and the persistent connection feature of HTTP/1.1 provide long-lived HTTP sessions which allow multiple requests to be sent over the same TCP connection.
In some cases this has been shown to result in an almost 50% speedup in latency times for HTML documents with many images.
To enable Keep-Alive connections, set KeepAlive On


HTTPÇÁ·ÎÅäÄÝ»ó Çѹø Á¢¼Ó ÈÄ ÀڷḦ ¸ðµÎ Àü¼ÛÇϸé Á¢¼ÓÀ» ²÷¾î ¹ö¸®Áö¸¸ KeepAlive On»óÅ¿¡¼­´Â KeepAliveTimeOut½Ã°£ µ¿¾È Á¢¼ÓÀ» ²÷Áö¾Ê°í ´ÙÀ½ Á¢¼ÓÀ» ±â´Ù¸°´Ù. 

¼ø¼ö htmlÆÄÀÏ, À̹ÌÁöÆÄÀÏ µîÀ¸·Î¸¸ ±¸¼ºµÈ ¼­¹ö(µ¿ÀûÆÄÀÏÀÌ ¾ø´Â¼­¹ö)¿¡ KeepAlive OnÀ¸·Î ¼³Á¤ÇÒ °æ¿ì 50%Á¤µµÀÇ ¼º´É Çâ»óÀ» º¸Àδٰí ÇÑ´Ù. ´Ü ÀÌ¿Í °°Àº ¼º´ÉÇâ»óÀ» º¸ÀÏ·Á¸é ¼­¹ö°¡ ¹Ù»ÚÁö ¾Ê¾Æ¾ß ÇÑ´Ù.

¾ÆÁÖ ¹Ù»Û ¼­¹ö ȯ°æ¿¡¼­ KeepAlive OnÀ» ¼³Á¤ÇØ ³õÀ» °æ¿ì ¸ðµç Á¢¼ÓÀÚ ¸¶´Ù ¿¬°á À¯Áö¸¦ ÇØ ³õ¾Æ¾ß Çϱ⠶§¹®¿¡ ¾ÆÆÄÄ¡ ÇÁ·Î¼¼½º¼ö°¡ ±âÇÏ ±Þ¼öÀûÀ¸·Î ´Ã¾î³ª MaxClient°ªÀ» ÃÊ°úÇÏ°Ô µÈ´Ù.
¶ÇÇÑ On»óÅÂÀ϶§ Á¢¼ÓÀ¯Áö ÇÏ´Â ÇÁ·Î¼¼½ºµé ¶§¹®¿¡ ¸Þ¸ð¸®¸¦ ±× ¸¸Å­ ¸¹ÀÌ »ç¿ëÇÏ°Ô µÈ´Ù.
µû¶ó¼­ KeepAlive°ªÀº ´Ü¼øÈ÷ On/Off ½Ãų°ÍÀÌ ¾Æ´Ï¶ó Á¢¼ÓÀÚ, ¸Þ¸ð¸®¿ë·®°ú ¿¬°üÇؼ­ °ªÀ» ¼³Á¤ÇÏ¿©¾ßÇÑ´Ù.

KeepAlive ¼³Á¤
    Á¢¼ÓÀÚ°¡ ¸¹Áö¸¸ ¸Þ¸ð¸®°¡ ÃæºÐÇÏ´Ù : On
    Á¢¼ÓÀÚ°¡ ¸¹Áö¸¸ ¸Þ¸ð¸® ¿©À¯°¡ ¾ø´Ù : Off
    Á¢¼ÓÀÚ°¡ Àû°í ¸Þ¸ð¸®°¡ ÃæºÐÇÏ´Ù : On
    Á¢¼ÓÀÚ°¡ Àû°í ¸Þ¸ð¸® ¿©À¯°¡ ¾ø´Ù : Off
 
- ¸Þ¸ð¸®°¡ ÃæºÐÇÏ´Ù´Â Àǹ̴ Á¢¼ÓÀÚ°¡ MaxClient °ª¿¡ µµ´ÞÇßÀ» °æ¿ì¶ó°í swap ¸Þ¸ð¸®¸¦ »ç¿ëÇÏÁö ¾Ê´Â»óŸ¦ ¸»ÇÑ´Ù.


KeepAliveÁ¤ÀÇ
ƯÁ¤ ÇÑ ÇÁ·Î¼¼½º°¡ ƯÁ¤ »ç¿ëÀÚÀÇ Áö¼ÓÀûÀÎ ¿äû ÀÛ¾÷µéÀ» °è¼ÓÇؼ­ ó¸®Çϵµ·Ï ÇÔ.
Áï, ù ¿äû ½Ã¿¡ ¿­¾î ³õÀº Port¸¦ ²÷Áö ¾Ê°í, ÁöÁ¤µÈ KeepAliveTimeoutµ¿¾È idleÇÏ¸é ²÷´Â´Ù. 
KeepAliveTimeout°ªÀÌ Ã¤¿öÁö±â Àü¿¡ ´Ù½Ã ¿äûÀÌ ¿Â´Ù¸é ´Ù½Ã KeepAliveTimeoutÀº ´Ù½Ã 0ºÎÅÍ Count¸¦ ¼öÇàÇÑ´Ù.
ÃÖÁ¾ÀûÀ¸·Î, KeepAliveTimeout ÁöÁ¤ÇÑ ½Ã°£¸¸Å­ idleÇÏ¸é ±×¶§, ÇØ´ç Port¿¬°áÀ» ²÷´Â´Ù.

¼³Á¤¹ý
KeepAlive [On/Off]
MaxKeepAliveRequest [ȸ¼ö]
KeepAliveTimeout [ÃÊ]

»ç¿ë ¿¹
KeepAlive On
MaxKeepAliveRequest 100
KeepAliveTimeout 60


°³ÀÎÀûÀÎ °ßÇØ
Client ¼ö°¡ ¸¹À» °æ¿ì, »ó´çÈ÷ ¹Î°¨ÇÏ°Ô ÀÛ¿ëÇÏ´Â ºÎºÐÀ̹ǷΠ½ÅÁßÈ÷ ¼³Á¤ÇÏ¿©¾ß ÇÑ´Ù. 
º¸Åë ´Ü¹ß¼º ¿äûµéÀÌ ¸¹À» °æ¿ì, KeepAlive¸¦ OffÇÏ´Â °ÍÀÌ ÁÁÀ» ¼öµµ ÀÖ´Ù.
Ç㳪, KeepAlive¸¦ »ç¿ëÇϸé À¥ºê¶óÀú»ó¿¡¼­ÀÇ Ã¼°¨¼Óµµ´Â »¡¶óÁø´Ù´Â°ÍÀ» ÀØÁö ¸»ÀÚ.


ÇÊÀÚÀÇ °æ¿ì, ¿¹Àü¿¡ ±×¸² ÆÄÀϵéÀÌ ¿¢¹ÚÀÌ ¶ß´Â ¹®Á¦°¡ ¹ß»ýÇÏ¿© ÇØ°áÇÏ°íÀÚ »çÀÌÆ® Áö¿øÀ» ³ª°¬¾ú´Âµ¥,
ÀÌ ¹®Á¦´Â ƯÁ¤ ³¯¿¡¸¸ ¹ß»ýÀ» ÇÏ¿´´Ù. Access·Î±×¸¦ ºÐ¼®ÇÑ °á°ú, ÇØ´ç ³¯¿¡ ¿äûÀÌ ±Þ°ÝÈ÷ ¸¹¾ÒÀ½À» È®ÀÎÇÏ¿´°í,
Errorlog»ó¿¡¼­´Â ¸¹Àº ¿äûµéÀÌ À¥¼­¹ö´Ü¿¡¼­ ƨ°Ü¹ö¸²À» È®ÀÎÇÏ¿´´Ù.

À̶§, KeepAliveTimeoutÀÇ °ªÀº 60ÃÊ ¿´À¸¸ç, ¼­ºñ½º ¼º°Ý Ư¼º»ó ¸¹Àº À̹ÌÁö ÆÄÀϵéÀÇ ¿äûÀÌ src="
http://~ " Çü½ÄÀ¸·Î µÇ¾î À־ ÀÌ À̹ÌÁö 󸮸¦ À§ÇØ ¸Å¹ø À̹ÌÁö ¿äû½Ã¸¶´Ù ¼ÒÄÏÀÌ »õ·Î »ý¼ºµÇ¾ú´ø °ÍÀÌ¿´´Ù.

 

±×¿¡ µû¶ó, KeepAliveTimeoutÀÇ ¼öÄ¡¸¦ 10ÃÊ ³»·Î ÁÙ¿´´Ù. ±×·¯ÀÚ ÇØ´ç ¹®Á¦´Â ÇØ°á µÇ¾ú´Ù.

 


Ãâó :
http://cafe.rootcenter.com/130079030932
http://mcpaint.t


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.