SO_REUSEPORTã¯Linux Kernel 3.9ãããµãã¼ãããã¦ããæ©è½ã§ãè¤æ°ã®ããã»ã¹/ListenerããåãTCPãã¼ããbindå¯è½ã«ãã¦ãKernelã ããããã®ããã»ã¹ã«æ¥ç¶ãåæ£ãã¦ãããã¨ããæ©è½ã§ããpreforkãªãµã¼ãã¯listenãã¦ããworkerãforkããããããã§acceptãè¡ãã¨ããæé ãè¸ã¿ã¾ãããSO_REUSEPORTã使ãã°ãã®æé ãè¸ã¾ãªãã¦ãè¤æ°ããã»ã¹ããåããã¼ããListenãã¦å¦çã®ä¸¦åæ§ããããããhot-depolyãå®ç¾ã§ãã¾ãã Docker ã®Host networkingæ©è½ã¨SO_REUSEPORTã使ã£ã¦ãè¤æ°ã®ã³ã³ããããåããã¼ããbindã§ããã°ãã³ã³ããã®hot-deployãã§ããããããªããã¨æã£ãã®ã§ã試ãã¦ã¿ã¾ããã SO_REUSEPORTã«ã¤ãã¦ã¯ä»¥ä¸ã®blogãåèã«ãªãã¾ãã
{{#tags}}- {{label}}
{{/tags}}