You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Webã§ã®ããã·ã¥æè¡ HTTPã¯ã¯ã©ã¤ã¢ã³ãï¼ãã©ã¦ã¶ï¼ãããªã¯ã¨ã¹ããã¦ãµã¼ãããã¬ã¹ãã³ã¹ãè¿ãä¸åä¸çåã®ãããã³ã«ãªã®ã§ãåºæ¬çã«ã¯ãµã¼ãå´ãããã©ã¦ã¶ã«æ°çæ å ±ããªã¢ã«ã¿ã¤ã ã§éç¥ï¼ããã·ã¥ï¼ã§ããããã«ã¯ã§ãã¦ãã¾ããã ãããããã§ãããã·ã¥ããããã¨ããå ´åã«ã©ããããã¨ãã話ãåºã¦ãã¾ããããæ¹ã«ã¯ä»¥ä¸ã®ãããªãã®ãããã¾ãã ãã¼ãªã³ã° ã¯ã©ã¤ã¢ã³ããããµã¼ãã«å®æçã«æ°çãåãåãããããã«ãã¾ãã æãåå§çãã¤ç¢ºå®ãªããæ¹ãæ¬ ç¹ã¯ãæ大ã§ãã¼ãªã³ã°ééã®åã ãéç¥ãé 延ããããã¨ã§ãã ãã³ã°ãã¼ãªã³ã°ï¼âC
The first version of Socket.IO was created shortly after Node.JS made its first appearance. I had been looking for a framework that easily enabled me to push data from a server to a client for a long time, and even had tried other approaches to server-side JavaScript. At the time, the main focus was on an interface equivalent to the upcoming WebSocket API that was in the process of standardization
æè¿ SPDY 㨠WebSocket ãã¢ããã§ããã åæ¥é±ã® SPDY & WS åå¼·ä¼ ããå®å¡100åã«å¯¾ã㦠åå è ã 247 åã¨ããªãã¢ãããã¨ã«ãªã£ã¦ãã¾ãã ãã®äºç¿ã¨ããããã§ããªãã§ãããæè¿ WebSocket ãå®ãµã¼ãã¹ã¸ã® å°å ¥æ¹æ³ãèããªããéãã§ããã®ã§ã WebSocket ã®è² è·åæ£æ¹æ³ã«ã¤ã㦠èãã¦ãããã¨ãæ¸ãã¦ãããã¨æãã¾ãã ã¹ãã¼ããã«ãª WebSocket ã¢ããªã±ã¼ã·ã§ã³ HTTP ãµã¼ãã¹ã¯åºæ¬çã«ã¹ãã¼ãã¬ã¹ãªå®è£ ã«ãªã£ã¦ããããªã¯ã¨ã¹ããæ¥ããã³ã« DBãµã¼ãã¼ã memcached ãªã©ã®ããã¯ã¨ã³ãããæ å ±ãåå¾ãã¦è¿ãã¦ãã¾ããã ãã®æ§æã§ã¯ Web ã¢ããªèªä½ã¯å®å ¨ã«ã¹ãã¼ãã¬ã¹åãããã¨ãã§ãã¦ããã®ã§ã è² è·åæ£æ©ã¯ã©ã¦ã³ãããã³çã®ã¢ããªã±ã¼ã·ã§ã³ãç¡è¦ããè² è·åæ£ããããã¨ãã§ãã¾ããã ãããã WebSo
Web éçºãã¦ãã¨ãã½ã¼ã¹ãç·¨éãã¦ããã©ã¦ã¶ã¼ããªãã¼ããã¦ãã¨ããä½æ¥ã®ç¹°ãè¿ãã«ãªããã¡ã ãã½ã¼ã¹ãç·¨éããããèªåã§ãã©ã¦ã¶ã¼ããªãã¼ããã¦ããããããªå¤¢ã®ãã¼ã«ãããã°ä¾¿å©ããã ã ãã®åéã§ã¯ CodeKit ã LiveReload ãªã©ãæåãªãã ãã©ããããªãææã ã£ãã GUI ã ã£ãããããããã§ãLiveReload ã®ãªã¼ãã³ã½ã¼ã¹ãªé¨åãåèã«ãã¤ã¤ãã³ãã³ãã©ã¤ã³ã§ä½¿ãã LiveReloadX ã¨ãããã®ãä½ã£ã¦ã¿ãã ç¹é·ã¯ãããªã¨ããã Node.js ã使ã£ã¦ãã®ã§ Windows/Mac/Linux åããã«åããã éçºç°å¢ã®ãã©ã¦ã¶ã¼ã ãã§ãªãã¹ãã¼ããã©ã³ã®ãã©ã¦ã¶ã¼ããªãã¼ãã§ãã ç¡æ ã¤ã³ã¹ãã¼ã«æ¹æ³ ã¤ã³ã¹ãã¼ã«ã¯è¶ ç°¡åï¼ Node.js ãã¤ã³ã¹ãã¼ã«ããã ã³ãã³ãã©ã¤ã³ã§ npm install -g livereloadx ã
F5 Sites DevCentral Connect & learn in our hosted community F5 Labs The latest threat intel and research to help protect your apps MyF5 Your key to everything F5, including support, registration keys, and subscriptions Partner Central Research and support for partners LearnF5 Guidance, insights, and how to use F5 products Contact F5 Contact F5 Sales Talk to an F5 sales representative Contact F5 Su
ããã¶ãåã§ãã Amon2 ã WebSocket ã«å¯¾å¿ããã¨ãããã¨ã§ãä»æ´æã®ãããã£ããããã°ã©ã ãæ¸ãã¦ã¿ããã¨ã«ã ä»æ´ã¨ã¯è¨ãã¤ã¤ã社å ã§ã¯ IRC ã使ããã¨ãã§ããªãã®ã§ãã¡ãã£ã¨ããã¡ãã»ã¼ã¸ãããã¨ãã§ãããã®ãä½ã£ã¦ã¿ããããªã¨æãããã®ãã¼ã¹ã¨ãªããããªã¤ã¡ã¼ã¸ã§ä½ã£ã¦ã¿ã¾ããã ãªãã±ã§ä»¥åãã使ã£ã¦ã¿ãããªãã¨æã£ã¦ãã Redis ã Proclet ãªããã (ç¡é§ã«) 使ã£ã¦ã¿ã¾ããã é©å½ãª Heartbeat 㧠WebSocket ãç¶æãã¦ããããã¨ã©ã¼å¦çãé©å½ãã㦠Member ã®ä¸è¦§ãåã¤ãã ã£ãã *1 ã¨ãã¾ã ã¾ã ã¤ã±ã¦ãªãé¨åã°ããã§ãããæè¿æéããªããªãåããªããã¨ããããã¨ããããåããæãã¦ã¿ãããã¨æãã¾ãã Twincle ã®ååã¯æãã¹ã㧠Twitter Client ãä½ã£ãã¨ãã«æ¼ããã ID ããã®ã¾ã¾è¸è¥²ã
ä»æ´ã ãã©ãnginxããªãããã«ä½¿ã£ã¦socket.ioãåããæ¹æ³ãè¦æ¸ã nginx_tcp_proxy_module If youâre using nginx, you wonât be able to proxy web socket connections using the standard nginx proxy_pass directives. Fortunately, Weibin Yao has developed a tcp proxy module for nginx that allows you to reverse proxy general tcp connections, especially well suited for websockets. http://www.letseehere.com/reverse-proxy-web-sockets
Nginxããªãã¼ã¹ãããã·ã¨ãã¦åããããã®å¾ãã§Socket.IOãåä½ãããæ¹æ³ãnginx_tcp_proxy_moduleã使ç¨ã WebSocketã®ãµã¼ãã¼ãããªãã¼ã¹ãããã·ãµã¼ãã¼ã®å¾ãã§åä½ãããããã«ã¯ããã®ãªãã¼ã¹ãããã·ãµã¼ãã¼ãHTTP 1.1ã®Upgradeãé©åã«æ±ã£ã¦ãããå¿ è¦ãããã¾ãï¼æ¨ã¦ããããªããã¨ï¼ãNginxã¯ãã°ãã°ãªãã¼ã¹ãããã·ã¨ãã¦ä½¿ç¨ããã¾ãããnginxã®proxy_passãã£ã¬ã¯ãã£ãã¯ãã®ã¾ã¾ã§ã¯websocketã®æ¥ç¶ãæå¾ éãã«æ±ã£ã¦ããã¾ãããyaoweibinãããä¸è¬çãªtcpæ¥ç¶ããªãã¼ã¹ãããã·ããããã®ã¢ã¸ã¥ã¼ã«ãnginx_tcp_proxy_moduleãä½æãã¦ãã ãã£ã¦ãã¾ãããã®nginx_tcp_proxy_moduleã使ç¨ãã¦nginxã§websocketãµã¼ãã¼ããªãã¼ã¹ãããã·ã§ããããã«ã
add the feature of tcp proxy with nginx, with health check and status monitor This module actually include many modules: ngx_tcp_module, ngx_tcp_core_module, ngx_tcp_upstream_module, ngx_tcp_proxy_module, ngx_tcp_upstream_ip_hash_module. All these modules work togther to add the support of TCP proxy with Nginx. I also add other features: ip_hash, upstream server health check, status monitor. The m
SocketIOã®ãµã¼ãå´Perlå®è£ ã®PocketIOã Hachioji.pmãä¸å¿ã¨ãªã£ã¦éçºãã¦ããYaircï¼ä»®ï¼ã§ã使ããã¦ãããã§ã æ°ã«ãªã£ã¦è§¦ã£ã¦ã¾ãã å®ç¨çã«ä½¿ãã«ã¯Plackã®Middlewareã¨ãAppãæ´»ç¨ãã¦ä»ã®Web Application Frameworkã®ã¢ããªã¨åå± ãããã¨ããã®ããªãã¼ã¨ ãªãã¨ãªãå¦æ³ãã¦ã¿ããããã§ãPlack::App::URLMapã®mountã¡ã½ããã§PocketIOã®Handlerã¨Mojoliciousã¢ããªã®ãã¹ãåãã¦ãç°¡åãªã¤ã«å¨èªå¤æã®echoãµã³ãã«ãã¤ãã£ã¦ã¿ãï¼ã¨ãã£ã¦ãMojoliciousã¢ããªã®é¨åã£ã¦ã»ã¨ãã©ç¡ããã©ï¼ app.psgiã¯ãããªæãã£ãã use Mojo::Server::PSGI; use File::Spec; use File::Basename; use lib Fil
ãããã¼ãã以åæ¸ãã¦ããã¤ãåèã«ããã¦ããã£ã¦ã¨ããããé©å½ã«æ¸ãã¦ã¿ãã % perl md_preview.pl markdown.md ã¨ããã£ã¦http://localhost:5000/ã«ã¢ã¯ã»ã¹ããã¨ãªã¢ã«ã¿ã¤ã ãã¬ãã¥ã¼ã§ããã¯ãã Text::Markup::Anyã使ã£ã¦ãã¦ã % perl md_preview.pl xatena.txt --markup=Xatena ã¨ãããã°Text::Xatenaã§ã試ãã¾ãã Text::Markup::Anyã®ä½¿ããã³ãã¿ãããªã®ããªãã¨ãªã示ãããã£ãã
Amon2::Liteã§markdownãã®ä»ã®ãªã¢ã«ã¿ã¤ã ãã¬ãã¥ã¼ - ãããã¼ãã¡ã¢ã§ãmarkdownã¨ãã®ãªã¢ã«ã¿ã¤ã ãã¬ãã¥ã¼ã§ãããã®ãä½ã£ã¦è©¦ãã¦ã¿ããã®ããã£ã±ãããã¹ãã¨ãªã¢ã§markdownãæ¸ãã£ã¦ãã¨ã¯ãã¾ãããªããªã¼ãã¨æãã 大æµã¯ä½¿ãæ £ããã¨ãã£ã¿ã使ã£ã¦ç·¨éããã¨æãã®ã§ããããå¤æ´ãããã¨ãã«ãã©ã¦ã¶ä¸ã§èªåæ´æ°ãããæ¹ãå¬ãããããªæ°ããã¦ã ãã¡ã¤ã«ã®å¤æ´ç£è¦ã§markdownãã¡ã¤ã«ã®ç·¨é->ä¿åãæ¤ç¥ markdown->htmlå¤æãããã®ãSocket.IOã§ãªã¢ã«ã¿ã¤ã æ´æ° ã¨ãããã®ãä½ã£ã¦ã¿ãã Nodeç ã¾ãã¯Nodeã§ãå®è¡æå¼æ°ã§ç£è¦å¯¾è±¡ãã¡ã¤ã«ãæå®ããfs.watchFileã§ããã500msãã¨ã«ç£è¦ãå¤æ´ããã°å¤æããHTMLãæ®éã«Socket.IOã§ã¯ã©ã¤ã¢ã³ãå´ã«éç¥ããã #!/usr/bin/env node
Socket.IOBidirectional and low-latency communication for every platform PerformantIn most cases, the connection will be established with WebSocket, providing a low-overhead communication channel between the server and the client. ReliableRest assured! In case the WebSocket connection is not possible, it will fall back to HTTP long-polling. And if the connection is lost, the client will automatical
Amon2::Plugin::Web::WebSocket ã¨ãããã©ã°ã¤ã³ãã ãã¾ããã Amon2 ã®ä¸ã§é常ã«ç°¡åã« web socket ãã¤ããã¾ãã ãªããããããããä½æ³ã¨ããã¼ããªãã¦ãããã®ã§æ¥½ããããã å®è£ ä¾ã¯ä»¥ä¸ã®ã¨ããã§ããTwiggy ã§ãããããã¾ããã use strict; use warnings; use utf8; use Amon2::Lite; use Digest::MD5 (); get '/' => sub { my $c = shift; return $c->render('index.tt'); }; my $clients = {}; any '/echo2' => sub { my ($c) = @_; my $id = Digest::SHA1::sha1_hex(rand() . $$ . {} . time); $c->we
Redmine, git, Jenkins ãªã©ããã¸ã§ã¯ã管çãã¼ã«ã®ç¶æ ã横æçãã¤ãªã¢ã«ã¿ã¤ã ã«è¡¨ç¤ºããWebã¢ããªãDashbozuããä½ãã¾ããã ããã使ãã°ãä¸ã¤ã®ç»é¢ã§ããã¸ã§ã¯ãã®âä»âã®ç¶æ ãææ¡ã§ãã¾ãã WebSocketãç¨ãã¦ããã®ã§ããã éãã¦ããã ãã§ã次ã ã¨æ å ±ãå¾ããã¨ãã§ãã¾ãã iPadã§éãã£ã±ãªãã«ãã¦ãæºã®ä¸ã«ç½®ãã¦ãããããªä½¿ãæ¹ãæ³å®ãã¦ãã¾ãã ãªããããä½ã£ãã ä¸è¬çãªã½ããã¦ã§ã¢éçºç¾å ´ã§ã¯ Redmineã§ãã±ãããä½æãã gitã§ã³ããããç¹°ãè¿ããä¸å¤®ã¬ãã¸ããªã«pushãã Jenkinsã«ããCIãå®è¡ããã çµæã確èªããRedmineã®ãã±ãããéãã ã¨ããæµãã§ä½æ¥ãé²ãã§ããã¾ãã ãããã®ä½æ¥ã®ä¸ã§ãéçºè ã¯ãé©åãªãã¿ã¤ãã³ã°ã§ãã§ãã¯ã¨ãã£ã¼ãããã¯ããããã¨ãæ±ãããã¾ãã ä¾ãã°ããã§ãã¯ã®ã¿ã¤ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}