Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Collectives⢠on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives
Like many others I have been drawn in by the appeal of websockets and their use in (near) real-time communication. As such one of my current projects uses Node.js and websockets (via socket.io). To maximize compatibility, I would, of course, like my Node.js site to run on port 80. My server, however, is not used exclusively for this project â it also has traditional PHP/MySQL sites running on it.
ããã«ãã¦ãããã®ãã¥ã¼ã¹ã®ä¼ããæ¹ãããããæ°ã«å ¥ãã¾ãããã¾ããè³æ¬ææºã ã¨ãè¦æ¸ã®é¸æã ã¨ããè¦åºãã§ããã«ãã¦ããã¾ãããå®è³ªçã«ã¯å°æ¹¾ã®é´»æµ·ï¼ãã³ãã¤ï¼ç²¾å¯å·¥æ¥ã°ã«ã¼ãã«ããã·ã£ã¼ãã®è²·åã§ãããæ¥æ¬ã®å¤§è¦æ¨¡ãªã¨ã¬ã¯ãããã¯ã¹ã¡ã¼ã«ã¼ã®ä¸è§ããå¤è³ã®è»éã«éããã¨ãæå³ãã¾ãã 鴻海ã¯ãã¾ãã·ã£ã¼ãæ¬ä½ã®çé æ ªä¸»ã«ãªãï¼å ±éã«ããã°æ¯çç´ï¼ï¼ï¼ ï¼ãã¨ã«å ãã¦ã主åã®æ¶²æ¶äºæ¥ã®ä¸ã§ãéè¦ãªã«ã©ã¼ãã£ã«ã¿ã¼æè¡ãä¿æããå ºå·¥å ´ã¯ãåä¼ç¤¾ã®ï¼³ï¼¤ï¼°ã«ç§»ç®¡ããä¸ã§é´»æµ·ã®ãªã¼ãã¼ãé¢é£ä¼ç¤¾ãï¼ï¼ï¼ï¼ï¼ ãæ¯é ããã¨ããã®ã§ããSDPã«é¢ãã¦ã¯ãã·ã£ã¼ãæ¬ä½ãï¼ï¼ã»ï¼ï¼ ã鴻海å´ãï¼ï¼ã»ï¼ï¼ ã¨ããå ±éè³æãããã¾ãããã·ã£ã¼ãæ¬ä½ã«ã¤ãã¦ã¯ï¼ï¼ï¼ å¼±ã鴻海ãæã¤ã®ã§ããããå®è³ªã¯ï¼³ï¼¤ï¼°ã®ï¼ï¼ã»ï¼ï¼ ã¯é´»æµ·ã®ãã®ã«ãªãã¾ãã ããããè²·ååããè³æ¬ææºãã¨ããå ±åå ±æ çããªã©ã¨ããææ§ãªè¨ãæ¹ã§å ±éãã
Iteratee ã¨ããæ¦å¿µã¯ãHaskell çã«é©åãªè³æºç®¡çã¨åæå¯è½ãª IO ãããããããããã¦ã以ä¸ã®3ã¤ã®ããã±ã¼ã¸ãä¹±ç«ãããã¨ã«ãªã£ãã iteraee enumerator iterIO æ¨å¹´ã® ICFP ã®éãIteratee ã®çã¿ã®è¦ªã§ãã Oleg ããã«ããã®ç¶æ³ãã©ãæã£ã¦ããã®ããã¨èãã¦ã¿ããæ°ããã¨ã¦ãããç¶æ³ã§ããããã¤ãã®å®è£ ãç¾ãå®éã«ä½¿ããããã¨ã§ãæ¬å½ã«å¿ è¦ãªæ©è½ãåããã§ããããã ãããããã¨ãConduit ã«ãã£ã¦å½¼ã®é¡ããããå®ç¾ãããã®ãããããªãã Iteratee ã«ã¯ä½ã足ããªãã£ãã®ãï¼ ä»¥ä¸ã¯ãenumerator ã®ä½¿ç¨çµé¨åºã¥ãèå¯ã ãããã¶ã Iteratee å ¨ä½ã«è¨ããã¨æãã Iteratee ã§è³æºãå²ãå½ã¦ãããªã Michael Snoyman ããã®ä¸æº ä¾å¤å¦çãå¤§å¤ liftIO 㨠catch
(追è¨ï¼2012-12-03) æ¬è¨äºãé»åæ¸ç±åãã¾ããããGumroadããéãã¦100åã«ã¦è²©å£²ãã¦ãã¾ãã詳細ã¯ææ«ã«è¿½è¨ãã¾ããã®ã§ãè³¼å ¥ãæ¤è¨ã®ã»ã©ãããããé¡ããã¾ãm(__)m é»åæ¸ç±ãããããRubyãå§ãã人ãã¡ã¸ãEPUBç Rubyã®ç¹å¾´ Rubyã¯ãã¾ã¤ãã¨ããã²ãæ°(é称Matz)ã«ããè¨è¨ããããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°è¨èªã§ããRubyã®ç¹å¾´ãä¸è¨ã§è¨ããªãã°ãããã¯ãéå£ãåºãã¦å¥¥ãæ·±ãè¨èªãã¨ãããã¨ã«ãªãã¾ãã ãéå£ãåºããã¨ããã®ã¯ãã¤ã³ã¿ãã§ã¼ã¹ãã·ã³ãã«ã§èª°ã§ããç°¡åã«ä½¿ãå§ãããããã¨ãæå³ãã¾ããã奥ãæ·±ããã¨ããã®ã¯ããããã§ãã·ã§ãã«ã«ããé·æ使ç¨ã«èãããæ¬ç©ã®è¨èªã§ããã¨ãããã¨ãæå³ãã¾ãããéå£ãåºããã¨ãããã¨ã¨ã奥ãæ·±ããã¨ãããã¨ã¯æ¬æ¥ç«¶åããæ¦å¿µã§ã¯ããã¾ãããããã®ä¸¡æ¹ããã©ã³ã¹ããçµã¿åãããã«ã¯ã対象ã«å¯¾ãã
CentOSã«nginx 1.0.10ãã¤ã³ã¹ãã¼ã«ãè¨å®ããæé ã®ã¾ã¨ããnginxã§WebSocketããªãã¼ã¹ãããã·ã§ããããã«nginx_tcp_proxy_moduleã追å ãã¾ãã CentOS 5.7ã§ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ããããã°ã®ä½ç½®çã®configureãªãã·ã§ã³ãç°å¢ã«å¿ãã¦å¤æ´ãMac OS Xã§ãå ¨ãåãç°å¢ãã¤ãããã¨ãã§ãã¾ããnginxã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« ä»»æã®ä½ç½®ã«ä½æ¥ç¨ã®ãã£ã¬ã¯ããªãä½æããnginxã®å ¬å¼ãµã¤ãããnginx 1.0.10ã®ã½ã¼ã¹ãã¡ã¤ã«ããã¾ããgithubããå¿ è¦ã¨ãªãåã¢ã¸ã¥ã¼ã«ã®ã½ã¼ã¹ããã¦ã³ãã¼ããã以ä¸ã®ããã«configure, make, make installãã¾ãã mkdir src cd src wget http://nginx.org/download/nginx-1.0.10.tar.gz
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}