|
Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
|
|
|
|
ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
¹ü³ÃÀÌ
°¡ÀÔ: 2006³â 9¿ù 19ÀÏ ¿Ã¸° ±Û: 44
|
¿Ã·ÁÁü: 2015.2.06 ±Ý, 10:43 am ÁÖÁ¦: ELB Crosszone ¼³Á¤ |
|
|
¿¹Àü¿¡´Â Crosszone ¼³Á¤(2013³â)À̶õ°ÍÀÌ ¾ø¾ú½À´Ï´Ù.
2014³â¿¡ »ý°åÁÒ.
ELB ´Â ELB node µéÀÇ ÁýÇÕÀ̸ç, °¢ ELB node µéÀº ÇØ´ç region ÀÇ AZ ¿¡ À§Ä¡ÇØ ÀÖÁÒ. ¹°·Ð ÀÌ Backend Instance µéµµ °¢ AZ¿¡ ÀÖ¾ú°í¿ä. ELB Cross zone ¼³Á¤ÀÌ ¾È µÇ¾î ÀÖÀ¸¸é "ÇØ´ç AZÀÇ ELB node <--> Backend Instance" ³¢¸®¸¸ ¼ºñ½º¸¦ ÇÑ´Ù°í º¸¸é µË´Ï´Ù. Cross Zone ¼³Á¤À» ÇßÀ» °æ¿ì¿¡´Â ´Ù¸¥ zoneÀÇ Instance ¿¡µµ ¼ºñ½º¸¦ ÇÏ´Â °ÍÀÌ°í¿ä. °ú°Å¿¡´Â default ¼³Á¤ÀÌ ¾Æ´Ï¿´´Âµ¥ ¿äÁòÀÇ ELB¸¦ ¸¸µé¸é default·Î ¼³Á¤µË´Ï´Ù.
¿©±â¼ ELB°¡ Backend Instance ¾î¶»°Ô ºÐ¹è¸¦ ÇÒ±î¿ä?
Àοë: | To determine the instances, the load balancer node uses either the round robin (for TCP connections) or the least outstanding request (for HTTP/HTTPS connections) routing algorithm. The least outstanding request routing algorithm favors back-end instances with the fewest outstanding requests.
|
TCPÀÇ °æ¿ì´Â Round Robin ÀÌ°í, Http/Https ÀÇ °æ¿ì´Â outstanding requests(¾ÆÁ÷ ó¸® µÇÁö ¾ÊÀº ¿äû)ÀÌ Á¦ÀÏ ÀûÀºÂÊÀ¸·Î º¸³À´Ï´Ù.
ELB¸¦ ¿î¿µÇÏ´Ùº¸¸é CloudWatch ÀÇ request count ¸¦ º¸°í ¼ºñ½º ºÒ±ÕÇüÀ» °í¹ÎÇÒÁö ¸ð¸¨´Ï´Ù. À̶§ ¾Ë¾Æ¾ß ÇÒ °ÍÀº Request count(AZ º°·Î º¸¿©ÁÝ´Ï´Ù.)´Â ELB node ¿¡ µµÂøÇÑ request ÀÌÁö ÇØ´ç AZÀÇ Backend ·Î ³Ñ¾î°£ Request Count°¡ ¾Æ´Ï¶ó´Â °ÍÀÔ´Ï´Ù. (Cross zone ¹Ì¼³Á¤½Ã´Â ÇØ´ç AZ·Î ´Ù ¼ºñ½º°¡ ³Ñ¾î°¡°ÚÁö¸¸, Cross zone ¼³Á¤½Ã¿¡´Â Cloudwatch ¿¡¼ ¾Ë ¼ö ¾ø½À´Ï´Ù.) ´ÜÁö, Ŭ¶óÀ̾ðÆ®ÀÇ DNS resolve·Î ÇØ´ç AZÀÇ ELB node¿¡¼ ó¸®ÁßÀÎ ¿äûÀÇ Count ÀÏ»ÓÀÔ´Ï´Ù. Backend InstanceÀÇ ·Îµå ºÒ±ÕÇüÀ¸·Î º¸±â ¾î·Æ´Ù´Â °ÍÀÔ´Ï´Ù.
CloudWatch ÀÇ request Count ¿Í Backend InstanceÀÇ »ç¿ë·®À» º¸°í È¥µ¿ÇÏÁö ¸»·Î°í ÀûÀº °ÍÀÔ´Ï´Ù. ¾Æ½±°Ôµµ ¾Æ¸¶Á¸¿¡¼ Backend Instance·Î ¾î¶»°Ô 󸮸¦ ÇÏ°í ÀÖ´ÂÁö¿¡ ´ëÇÑ ÁöÇ¥¸¦ Á¦°øÇÏÁö´Â ¾Ê½À´Ï´Ù. Backend ÀÇ Resource »ç¿ë·®(Network, CPU) µîÀ¸·Î À¯ÃßÇÏ¿©¾ß ÇÕ´Ï´Ù.
¶ÇÇϳª °í¹ÎµÇ½Ç°Ì´Ï´Ù. ELB node°¡ ´Ù¸¥ AZÀÇ Backend Instance ¿¡ ¼ºñ½º¸¦ Àü´ÞÇÏ´Â ÇüŶó¸é, Latancy °¡ ¹ß»ýÇÏÁö ¾ÊÀ»±î? Áö¸®Àû(´Ù¸¥ À§Ä¡¿¡ ÀÖ¾î¼) ¹®Á¦·Î Latancy°¡ ÀÖÀ»°Å¶ó´Â °ÍÀÌÁÒ. ±×·¯³ª, ½ÇÁ¦ AZ °£ÀÇ ¼Óµµ¸¦ ÃøÁ¤ÇØ º¸¸é, º°¹Ý Â÷ÀÌ°¡ ¾ø½À´Ï´Ù. traceroute ÇغÃÀ»¶§ hop ÀÌ ÇϳªÀΰ¡ ÇÏ°í, ¹Ù·Î ¿¬°áµÇ±âµµ ÇÏ°í¿ä. ¼Óµµ °ÅÀÇ µ¿ÀÏÇÏ°Ô ³ª¿É´Ï´Ù. ÀÌ Latancy°¡ ¹®Á¦ µÇ¾ú´Ù¸é, Default ¼³Á¤À¸·Î ³ÖÁöµµ ¾Ê¾ÒÀ» °ÍÀÌ°í¿ä.
³Ê¹« µÎ¼ ¾øÀÌ Àû¾ú³×¿ä. ^^
ÀÐ¾î º¸½Ã°í ÀÇ°ß ÀÖÀ¸½Ã¸é ±Û ³²°ÜÁÖ¼¼¿ä~! |
|
À§·Î |
|
|
|
|
»õ·Î¿î ÁÖÁ¦¸¦ ¿Ã¸± ¼ö ¾ø½À´Ï´Ù ´ä±ÛÀ» ¿Ã¸± ¼ö ¾ø½À´Ï´Ù ÁÖÁ¦¸¦ ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù ¿Ã¸° ±ÛÀ» »èÁ¦ÇÒ ¼ö ¾ø½À´Ï´Ù ÅõÇ¥¸¦ ÇÒ ¼ö ¾ø½À´Ï´Ù
|
Powered by phpBB © 2001, 2005 phpBB Group
|