em-websocketã®æ¥ç¶æ°ã®ä¸éã1015ããããªãã ãã©å¢ããããforkã¨ãã¯ä½¿ããªãã ç°å¢ã¯Ubuntu12.04ã Macã¯epoll使ããªãã®ã§ç¡çã ã¾ããã¡ããåèã«ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®ä¸éãå¢ããã¦ããã ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®ä¸éå¤ãå¢ãã â ãããããªãã¨ãªããã ããï¼ ã§ãEM::runã®åã«epollã使ãããã«ãã¦set_descriptor_table_sizeãè¨å®ããã°ãï½ require 'eventmachine' require 'em-websocket' EM.epoll EM.set_descriptor_table_size 60000 EM::run EM::WebSocket.run :host => "0.0.0.0", :port => 8080 do |ws| ## ç¥ end end ã¯ã©ã¤ã¢ã³ãå´ã¯em-webso
{{#tags}}- {{label}}
{{/tags}}