cagraé«éåã«ããã£ã¦ã®ãã¦ãã¦ãä¸é¨å ¬éãã¦ã¿ã¾ããã¾ãææ¥æ ¡æ£/æ´æ°ãã¾ããã¤ã£ãã¿å¾ ã¡ã§ãã select(2)ã®ä»£ããã«epoll_wait(2), kqueue, /dev/epollçã使ã ä»ã«å±±ã»ã©è§£èª¬ãã¼ã¸ãããã®ã§ç¥ 大éã®ãã£ã¹ã¯ãªãã¿ãå¦çãããããªãµã¼ãã®å ´åãå¤å°å¹æãããããããã¾ãããããããã¯ã©ã¤ã¢ã³ãæ°ãå°ãªãå ´åãåçãªæ§è½ã®åä¸ã¯è¦è¾¼ããªãã¨ãããã¾ããã¯ã©ã¤ã¢ã³ãæ°ãå¤ãå ´åã¯ãï¼ã»ãã·ã§ã³ï¼ã¹ã¬ãããªã¢ãã«ã§ã¯OSå´ã®ã¿ã¹ã¯ã¹ã¤ããã³ã°ã®ãªã¼ãã¼ããããå¹ãã¦ãããã¨ãå¤ãã§ããã¯ã©ã¤ã¢ã³ãæ°ãå¢ããã«ã¯è¤æ°ã®ã»ãã·ã§ã³ãï¼ã¹ã¬ããã§å¦çã§ããããã«ããã¨è¯ãã§ããå®è£ ã«ããã£ã¦ã¯ãnon-blocking ioãæ´»ç¨ããã¨å¹æçã§ãã TCP_NODELAYãè¨å®ãã Nagleã¢ã«ã´ãªãºã ããªãã«ãã¾ããå¤å°å¿çæ§ãè¯ããªãã¾ãã ããã£
{{#tags}}- {{label}}
{{/tags}}