fapws3. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- William os4y
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://william-os4y.livejournal.com/
fapws3. ű×
fapws3. ¼³¸í
ºü¸¥ ºñµ¿±â ÆÄÀ̽ã À¥ ¼¹ö FAPWS3Àº WonderFull Libev ¶óÀ̺귯¸®¸¦ »ç¿ëÇÏ´Â Python À¥ ¼¹öÀÔ´Ï´Ù. µû¶ó¼ ÀÌ°ÍÀº ¾ÆÁ÷ Medusa, Twisted, Apricot°ú °°Àº ´Ù¸¥ ºñµ¿±â À¥ ¼¹öÀÔ´Ï´Ù. FAPWS´Â WSGI ȣȯ À¥ ¼¹öÀÔ´Ï´Ù. FAPWS1, FAPWS2 ¹× FAPWS3¿¡ ´ëÇÑ FAPWS2 ¹× FAPWS3Àº "³»ºÎ"ÇÁ·ÎÁ§Æ® À̸§ÀÔ´Ï´Ù. À̸§ ¹Ù²Ù±â´Â ¿ÏÀüÇÑ re-write¿¡ ÇØ´çÇÕ´Ï´Ù. ½ÃÀÛ FAPWS1, »ì±¸ Äڵ带 ±â¹ÝÀ¸·ÎÇÏ´Â ÆÄÀ̽ã È®ÀåÀÚ¸¦ ¸¸µé¾ú½À´Ï´Ù. ±×·± ´ÙÀ½ ½Å¼ÓÇÏ°Ô ±×°Í¿¡ ´õ ¸¹Àº ±â´ÉÀÌ ÇÊ¿äÇϸç, ³ª´Â ±×°ÍÀ» FAPWS2¶ó°í ºÒ·¶´Ù. FAPWS1Àº °ø°³ÀûÀ¸·Î °Ô½ÃµÇÁö ¾Ê¾Ò½À´Ï´Ù. FAPWS2´Â HTTP LibEventÀÇ HTTP ¶óÀ̺귯¸®¸¦ ±â¹ÝÀ¸·Î Àç ºôµåÀÔ´Ï´Ù. ÈǸ¢ÇÏ°Ô ÀÛµ¿ÇÏÁö¸¸ Evhttp_handle_request¸¦ ¼öÁ¤ÇؾßÇß½À´Ï´Ù. LIBEVENT ¸ÞÀÏ ¸µ¸®½ºÆ®¿¡ ´ëÇÑ ¸î °¡Áö ¸ÞÀÏ¿¡µµ ºÒ±¸ÇÏ°í HTTP LIBEVENT¿¡ ´ëÇÑ ÆÐÄ¡¸¦ ¼ö¶ôÇϱâ·Î µ¿ÀÇÇÏÁö ¾Ê¾Ò½À´Ï´Ù. µû¶ó¼, ¶Ç´Â »ç¿ëÀº libevent ¿ä±¸ »çÇ×°ú ÇÔ²² »ç¿ëÇÕ´Ï´Ù. ¡¤ ÆÄÀ̽ã
fapws3. °ü·Ã ¼ÒÇÁÆ®¿þ¾î