HTTP::Engine 0.03001 has streaming response now / multipart/mixedãªã¹ããªã¼ã ãHTTP::Engine/Plackã§pushãã thanks many ideas from yusukebe, mattn, miyagawa. I created a streaming response support for HTTP::Engine. it was a too easy hack. example here [ã]: multipart/mixedãªã¹ããªã¼ã ãPlack/PSGIã§pushãã ã¿ã¦ãHTTP::Engineã®ä¸ã§åããã¨æã£ããã©å ¨ç¶åããªãã£ãã®ã§ãHTTP::Engineå´ã§å¯¾å¿ãã¦åãããã«ãã¾ããã http://github.com/yappo/fast-twitter-stream IO
twitter stream APIã¨ã¯ãtwitterã®ã¹ãã¼ã¿ã¹æ´æ°ã«å¯¾ãã¦ãã¼ã¯ã¼ãã§trackããããããã°ã«ã¼ãå ã«å±ããã¹ãã¼ã¿ã¹æ´æ°ããã£ã«ã¿ãããåºæ¥ãAPIãªã®ã ãã©ãå®éã«ã¯chunkedãªã¹ããªã¼ã ãæµãã¦æ¥ã¦ããã®ã§ãã£ã¦ãããã使ã£ãWebã¢ããªãä½ãéã«ã¯long pollã使ãã®ãè¯ãããã ãã¯ã©ã¤ã¢ã³ããµã¤ãã§javascriptãå¦çããéã« ãµã¼ããµã¤ãã§ã¹ãã¼ã¿ã¹æ´æ°ãFIFOã«æºãè¾¼ã ã¯ã©ã¤ã¢ã³ããããªã¯ã¨ã¹ãããããã¯(long poll)ãFIFOããã¹ãã¼ã¿ã¹ãéåºãã ã¯ã©ã¤ã¢ã³ããµã¤ãã§long pollãè¡ãç»é¢ãæ´æ°ãã å度ãµã¼ãã¸ãªã¯ã¨ã¹ããæãã ãç¹°ãè¿ãã®ã§ããã°ããã£ããã¹ããªã¼ã ãªã®ã«ã¢ããªãµã¼ãã¨ã®æ¥ç¶ãåã£ã¦ãã¾ãäºã«ãªããåºæ¥ãã°ã¯ã©ã¤ã¢ã³ãããWebã¢ããªãã¹ããªã¼ãã³ã°ã¨ããããããããªãããµã¼ãããã®ã¹ãã¼ã¿
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is public. Anyone may fork, clone, or view it. Every repository with this icon () is public.
ããã®ãã¨ã AJAXãµã¤ããã¹ãã¼ãåããMXHR - huixingã®æ¥è¨ Digg the Blog » Blog Archive » DUI.Stream and MXHR ã©ãã«ã解説ãç¡ãã£ãã®ã§ã詳ããèªãã ã ä¸ã®è¨äºããå¼ç¨ããã¨ãããµã¼ãã¼ã¨ã¯ã©ã¤ã¢ã³ãéã§ããã ã²ã¨ã¤ã ãã®HTTPã³ãã¯ã·ã§ã³ãéããããã«ãããµã¼ãã¼ããã¼ã¸ã®ã©ã®ãã¼ããå è¡ãã¦èªã¿è¾¼ãããã³ã³ããã¼ã«ãããã¨ãå¯è½ã«ãªããã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ã¯ãã¼ã¸èªã¿è¾¼ã¿ãã»ã¼ä¸ç¬ã§æ¸ããã¨ãæå³ããããã¨ããæè¡ãXMLHttpRequest ã使ã£ã¦è¤æ°ã®ãã¼ã¿ãåä¿¡ããå ´åã«å¹æãããã ã¾ããã¢ãã ãã¢1ã¯10åã®ããã¹ãããã¦ã³ãã¼ããã¦è¡¨ç¤ºãããã®ã ãã¢2ã¯300åã®ç»åããã¦ã³ãã¼ããã¦è¡¨ç¤ºãããã®ã ã©ã¡ããå·¦å´ (MXHR æå¹) ãå®äºããå¾ã«å³å´ (MXHR ç¡å¹) ãéå§ããã®ã§é©ããªã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}