2013-02-23 nginx(1.3.13)でWebSocketをリバースプロキシしてみる Linux Node.js nginx nginx(1.3.13)でWebSocketのプロキシを試してみました 2013/2/19にnginxが正式にWebSocketに対応したとアナウンスがあったので、試しに使ってみました。 ダウンロード・イ... 続きを読む
The WebSocket Protocol (RFC 6455) の歴史 WebSocket についての日本語で書かれた情報は結構増えてきていますが、仕様がこのようになった経緯について細かく述べたものは見かけません。一見すると何のためにあるのかよくわからないヘッダや、複雑に見えるフレ... 続きを読む
WebSocket | 00:36 | この記事は、HTML5 Advent Calendar 2012の15日目のエントリーです。WebSocketは、Webサーバ・ブラウザ間で双方向に通信するための仕様であり、APIとプロトコルがそれぞれ以下の規格で定義されています。API: W3C WebSocket APIプロトコル:... 続きを読む
To: tls at ietf.org Subject: [TLS] Next protocol negotiation From: Adam Langley <agl at google.com> Date: Wed, 20 Jan 2010 05:20:20 -0800 Delivered-to: tls at core3.amsl.com Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=... 続きを読む
Axys, R, d3.js, and HTML5 all offer incredibly powerful tools for investment management and reporting, but they are not set up to synergistically interact to fill each other’s gaps and leverage each other’s strengths. In my ideal scenario,... 続きを読む
Speaker Bio Arnout is a passioned software engineer, open source enthusiast, lead software engineer at Nodejitsu, core team member of Socket.IO and all around... View Speaker Details 続きを読む
The WebSocket Protocol (RFC 6455) の歴史 WebSocket についての日本語で書かれた情報は結構増えてきていますが、仕様がこのようになった経緯について細かく述べたものは見かけません。一見すると何のためにあるのかよくわからないヘッダや、複雑に見えるフレ... 続きを読む
昨年末にCandidate RecommendationsとなったWebSocket APIですが、今回はLast Call Working Draftと書かれています。 W3C Invites Implementations of The WebSocket API, Web Storage Five documents published by the Web Applications Working Group W3Cの承... 続きを読む
The following example, adapted from the Play Framework's documentation: val enumerateUsers: Enumerator[String] = { Enumerator("Guillaume", "Sadek", "Peter", "Erwan") } val consumeOne = Cont[String, String](in => in match { case Input.EOF => D... 続きを読む
ellou' I have common Play WebSocket method which is working as expected, but I need to authenticate user. Unfortunately when trying even simplest way to identify user in the method: public class Application extends Controller { public static ... 続きを読む
Like this post? Check out Coder Weekly for quality, curated articles. Websockets in Play 2.0 Feb 13th, 2012 The source code for this guide can be found in the github repository. Websockets allow full-duplex communication over a TCP socket, no... 続きを読む
March 2012 (6) February 2012 (9) January 2012 (10) December 2011 (7) November 2011 (4) October 2011 (9) September 2011 (8) August 2011 (3) July 2011 (7) June 2011 (11) May 2011 (9) April 2011 (15) March 2011 (20) February 2011 (15) January 20... 続きを読む
WebSocket の簡単なサーバープログラムを Jetty, Grizzly, Netty, EM-WebSocket をそれぞれ使って、Groovy や JRuby で実装してみました。 WebSocket のプロトコル仕様は確定しておらず、互換性の無い改訂が行われているようなので、今回は draft-ietf-hybi-the... 続きを読む
I’ve spent some time recently figuring out the options for deploying Websockets with SSL and load balancing – and more specifically, Socket.IO – while allowing for dual stacks (e.g. Node.js and another dev platform). Since there seems to b... 続きを読む
WebSockt is a fairly new and great protocol. Many major browsers such as the newest version of Google chrome, Firefox. Socket.IO provides a powerful cross-platform WebSocket API for Node.js (server side) as well as browsers (client side). Rec... 続きを読む
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 ... 続きを読む
It’s time to write yet another tutorial on a subject which I could not find any material on when I needed to do it myself. So, we’re going to setup websockets in Nginx and we’ll use gevent-socketio and gevent (pywsgi) as the server ( actua... 続きを読む
Windows Server 8は、Webサーバー「Internet Information Server(IIS)」と仮想環境「Hyper-V」が強化されている。また、Windows Server 8自体の実行効率が高まっているため、その上で動作するIISやHyper-Vもその恩恵を受ける。 IISとHyper-Vについて、現時点... 続きを読む
WebSocket technology is catching up, but it will take a while before all browsers support it. In the meantime there are loads of projects that aim to substitute for WebSockets and enable ‘realtime’ capabilities for web apps. But all attempt... 続きを読む
Nginxをリバースプロキシとして動かし、その後ろでSocket.IOを動作させる方法。nginx_tcp_proxy_moduleを使用。 WebSocketのサーバーををリバースプロキシサーバーの後ろで動作させるためには、そのリバースプロキシサーバーがHTTP 1.1のUpgradeを適切に扱って... 続きを読む