Hello everyone- my name is Danny Burkes, and I'm the technical leg of the Lingr triumvirate. Lingr is a new type of website- it's an interactive, desktop-style application that runs right inside your browser. In our case, the application is realtime chat, with community and discovery aspects that make us oh-so-Web-2.0-y. We want to be completely open about our technology, and also give kudos and
Tomcat 6ã§å®ç¾ï¼Ajaxãè¶ ããéä¿¡æè¡Cometï¼Tomcatã¯ã©ãã¾ã§âå®å ¨âã«ã§ããã®ãï¼ï¼3ï¼ï¼1/3 ãã¼ã¸ï¼ Ajaxãè¶ ããï¼ Tomcat 6ã§æè¼ãããCometã¨ã¯ï¼ ååã¯Tomcatãâå®å ¨âã«æ´»ç¨ããããã«ããã¼ã«ã使ã£ãéç¨ã®ä»æ¹ãTomcatã®è¨å®ã«ã¤ãã¦è§£èª¬ãã¾ããã ä»åã¯Tomcatã®å®å ¨æ§ããå°ãé¢ãã¦ãTomcat 6ã®æ°æ©è½ã®å©ç¨æ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ããTomcat 6ã§ã¯ãããã¤ãã®å¤§ããªæ¡å¼µãããã¾ããããä»åã¯J2SE 1.5ã§å®è£ ãããNew I/O APIï¼java.nioããã±ã¼ã¸ï¼ãç¨ããCometï¼ã³ã¡ããï¼éä¿¡ã«ã¤ãã¦è§£èª¬ãã¾ãã ããããããé常ã®HTTPã§ã®éä¿¡ã é常ã®HTTPã§ã®éä¿¡ã¯ã¯ã©ã¤ã¢ã³ãã®Webãã©ã¦ã¶ãªã©ãããµã¼ãã¸ãªã¯ã¨ã¹ããéä¿¡ãããµã¼ãã¯ãªã¯ã¨ã¹ãã解éãã¦ã¬ã¹ãã³ã¹ãè¿ãã¾ããã¤ã¾ããéä¿¡ã®ã¿ã¤
1対1ãã£ãã 1対1ã§ãã£ããããcometãã¼ã¹ã®ä»çµã¿ãä½ã£ã¦ã¿ã¾ããï¼ã¯ã©ã¤ã¢ã³ãå´ã¯ã¾ã ãã©ãã·ã¥ã¢ãããã¦ãæä¸ã§ããï¼ãµã¼ãå´ã®ã³ã¼ãã¯è½ã¡çãã¦ããã®ã§ã¾ã¨ãã¦ã¿ã¾ãï¼ãã®ãµã¼ã㯠html, css, jsãã¡ã¤ã«ã®ãã¦ã³ãã¼ã /sendã«ã¯ã©ã¤ã¢ã³ããæãã¦ããpostã¡ãã»ã¼ã¸ã®åä¿¡ /helloã«ã¯ã©ã¤ã¢ã³ããJSONã§æãã¦ããgetã¡ãã»ã¼ã¸ã®åä¿¡ åä¿¡ããpostã¡ãã»ã¼ã¸ãï¼getã¡ãã»ã¼ã¸ã¸ã®responseã¨ãã¦ç¹å®ã®ã¯ã©ã¤ã¢ã³ãã«JSONPå½¢å¼ã§éä¿¡ æ»æ´»ç£è¦ãå ¼ãã¦ï¼ã·ã¹ãã ã«ãã°ã¤ã³ä¸ã®ã¦ã¼ã¶ä¸è¦§ãgetã¡ãã»ã¼ã¸ã¸ã®responseã¨ãã¦å ¨ã¯ã©ã¤ã¢ã³ãã«JSONPå½¢å¼ã§éä¿¡ ã¨ããæ©è½ãæã£ã¦ãã¾ãï¼ POE::Component::Server::HTTP my $server = POE::Component::Server::HTTP->
Sorry, Squeak Swiki has moved to 'http://wiki.squeak.org/squeak/5851'. Please update any bookmarks. Squeak 3.7 :: Comanche 7.0.2 :: Swiki 1.5
Our goal is development of practical comet server which will be achieving over 100,000 simultaneous connections per host. On this purpose, we abandon portability and use system calls depending on particular OS such as epoll and kqueue. Development Status: 4 - Beta Environment: No Input/Output (Daemon) Intended Audience: Developers License: MIT/X Consortium License Natural Language: English, Japa
Erlangã§Cometãã¦ã¿ãï¼ ï¼iframeæ¹å¼ã¯çµå±ã ããããªã®ã§ï¼Cometã«ï¼ Comet ãã£ãããµã³ãã« å®è£ ã¯ãããã¦ææãã§ãï¼ããã¾ã§ãµã³ãã«ã¨ãã¦ï¼ ã½ã¼ã¹ï¼ chat.erl (22è¡ï¼etsãã¼ãã«ã®åæå) chat.yaws (72è¡ï¼ãµã¼ãå´ã®å®è£ ) index.html (52è¡ï¼HTML+JS) â»å¥éjqueryãå¿ è¦ ããã ãçãã½ã¼ã¹ã§ãï¼ã¡ããã¨Cometã§ãããï¼C10Kã«ã対å¿ã§ããï¼ï¼åé¡ã¯ããããããã³ã¼ãã ãã©ï¼ ããããã¡ããã¨å®è£ ããã¨ãã¦ãï¼ããªãã·ã³ãã«ã«ä»ä¸ããã¨æãï¼ Comet ã®æ£ãã使ãæ¹ã§ç´¹ä»ããã¦ããããã°ã©ãã³ã°ã¢ãã«ã®ã©ãã«ãå½ã¦ã¯ã¾ããªãæ°ããæ¹å¼ï¼ã¨ãããããï¼ Cometã®ããã«ç¹æ®ãªå®è£ ãããå¿ è¦ããªããï¼I/Oå¤éåãªã©å®è£ ãããã©ãããææ³ã使ãå¿ è¦ããªãï¼ æ®éã«åãªã¯ã¨ã¹ãã®å¦çãæ¸ãã¦ï¼æ°è¦
Comet ã«ã¤ãã¦ã¯ãæ®åãããã©ããã¨ãã以åã«ãã©ã使ãã°ããã®ããæ£ãã使ã£ãå ´åã«ä½ãã©ãã¾ã§ã§ããã®ããã¨ããç解ãå ±æããã¦ããªãããã«æãã¾ãããªã®ã§ã(ããã¾ã§ç§è¦ã§ãã) 使ç¨ããã¹ã©ã¤ãã®ä¸é¨ãå ¬éãããã¨æãã¾ãããããããã°ããããã ããã ãµã¤ãã¦ãºã©ãã®å¥¥ããã«ãã Comet ã®ãµã¼ãã¼å¨ãã®è³æããã°ããããC10K ã«å¯¾ãã¦ã©ã®ãããªã¢ã¼ããã¯ãã£ãã¨ãã®ãè¯ããã¨ã®èå¯ãç¹ã«åå¼·ã«ãªãã¾ããã ã¾ããåé¡ãæ¹åãã¹ãç¹ãããã°ãæãã¦ããã ããã°å¹¸ãã§ãã ã¨ããã®ã§åé¡ãæ¹åãã¹ãã¨ããããã§ã¯ãªãã§ãã Perl å¨ãã®è©±ã§å°ãè£è¶³ãã è³æä¸ã®ãåå¿è ã¸ã®ãªã¹ã¹ã¡ã PoCo::Server::HTTP ã§ããã©ã¼ãã³ã¹ã欲ãã人ã«ã¯ Sys::Syscall qw/:epoll/ãã®ç¹ããããã Perl ã§ã epoll ã使ãã¾ããã¨ããã
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ãã£ããã®ã¤ãã³ãããªãã³ãã¬ã¼ã ã¯ã¼ã¯ãª POE ã§ããã Comet ã§ãã£ããããã£ã¦ã¿ãããã¨ããããããã§ããã POE::Component::* ã§ã¦ã§ããµã¼ããç«ã¡ä¸ããããã®ã¯ç¾å¨ã®ã¨ããï¼ POE::Component::Server::HTTPServer POE::Component::Server::SimpleHTTP POE::Component::Server::HTTP ã®3ã¤ãããã¾ãã1çªç®ã¯æè¿ inactive ãªã®ã§ãã¹ã2çªç®ã¯ãã¤ãã³ããã¬ã¼ã ã¯ã¼ã¯ãã¸ã®é¦´æã¿ã¯ãããã§ãããSimpleããããªããªã£ã¦ã¾ãã3çªç®ã¯ã³ã¼ã«ããã¯é¢æ°ãç»é²ããã¨ãããæ°æ¥½ã¹ã¿ã¤ã«ãªãã§ããã¡ãã£ã¨éãªæãã ä»åã¯æ¥½ãããããã«3çªç®ã® PoCo::HTTP ã使ã£ã¦ã¿ããã¨æãã¾ããid:naoya æ°ãæè¿ç´¹ä»ãã¦ã¾ãããã URI ã®è¨è¨æéã¯ï¼ ãã£
æè¿Linuxã®åå¼·ãããã¦ä½ã£ã¦ããã®ããè¶ ã·ã³ãã«ãªã¢ã¼ããã¯ãã£ã¼ã®HTTPãµã¼ãã¼ãããããåãå§ããã®ã ããããã ãã§ã¯é¢ç½ããªãã®ã§ããµã¼ãã¼å´ããã¤ãã³ãã«å¿ãã¦ãã¼ã¿ãPushã§ããCometã®æ©è½ã足ãã¦ã¿ãã ã¹ãã¬ã¹ãã¹ãã®ããã«ãæ¨æ¥ãããã®ããã°ã«ãã£ããã¨ãã¹ãç¨ã®IFRAMEãè²¼ãä»ãã¦ãã£ãã®ã ãï¼ãã®ãããã§ããã°ãä¸ã¤ã°ããè¦ã¤ãããã¨ãã§ããâæè¬ãæè¬^^ï¼ãå®å®ãã¦åãå§ããã®ã§ãè¦æ ããæ´ãã¦ãã®ããã°ã®å³ä¸ã«è²¼ãä»ãã¦ã¿ãã é¡ãã¦ãããªã¢ã«ã¿ã¤ã ã»ãã¼ã¸ãã¥ã¼ã»ã«ã¦ã³ã¿ã¼ï¼RPV Counterï¼ããTotalã¯ãã®ã«ã¦ã³ã¿ã¼ããªã»ãããã¦ããã®ãã¼ã¸ãã¥ã¼ã®æ°ãCurrentã¯ãã®æç¹ã§ãã®ããã°ãè¦ã¦ãã人ã®æ°ï¼ãã ããã¤ãºããï¼ãPeakã¯Currentã®éå»æ大å¤ã ãããã¼ã¸ãåãã¼ãããã¨ããããããã®ã«ã¦ã³ã¿ã¼ãèªåçã«ã¢ãããã¼
ãã¦ããå¾ ãããã¾ãããããããCometã¨Lingrã«ã¤ãã¦ã®æè¡è§£èª¬ã§ãã â Comet解説 ãã¦ãã¾ãã¯Cometã¨ã¯ä½ã§ãã©ãããèæ¯ã«ãã£ã¦çã¾ããã®ããã«ã¤ãã¦ã®è§£èª¬ããå§ãã¾ãã ã¾ãåæã¨ãã¦ãWebã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ã¯ãéä¿¡éå§ã®ããªã¬ã¼ã¯å¸¸ã«ã¯ã©ã¤ã¢ã³ãå´ãæ¡ã£ã¦ãã¾ããã¤ã¾ãURLãå ¥åããããã¿ã³ãã¯ãªãã¯ããã¨ããªã©ã«éä¿¡ãçºçãããã¨ã«ãªãããã§ããããã®ãããªã¢ã¼ããã¯ãã£ã¯ããµã¼ãå´ã§çºçããå¤åããªã¢ã«ã¿ã¤ã ã«ã¯ã©ã¤ã¢ã³ãå´ã«éç¥ãããã¨ãåççã«ã§ããªããã¨ãæå³ãã¾ãã ãã£ããã»ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãè¤æ°ã®ã¦ã¼ã¶ããä¸å®æã«ã¡ãã»ã¼ã¸ãéä¿¡ããããããä»ã®åå è ã«ä¸æã«é ä¿¡ãããªããã°ãªãã¾ãããããããã¡ãã»ã¼ã¸ãåãåã£ããµã¼ãå´ã§ã¯ããããã¯ã©ã¤ã¢ã³ãã«å³åº§ã«ããã·ã¥ã§éç¥ããæ¹æ³ããªãã®ã§ãã ãã®ãããä¸å®æéãã¨ã«ãã©ã¦ã¶ããµã¼ãã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}