ޤ

ǶޤȤʸϤ񤱤ʤʤäƤޤ

2010ǯ12


http://d.hatena.ne.jp/mirakui/20100502/1272849327


̤ǤμʤȤʤäΤǥ⡣


RUBY - RVM doesn't work for 1.9.1 but works for 1.8.6 and 1.8.7 - efreedom http://efreedom.com/Question/1-2910507/RVM-Work-191-Works-186-187


readlineʤꡢ
顼ˤʤdylibեäȤΤؤȤ

rvm install 1.9.1 -C --with-readline-dir=$HOME/.rvm/usr


ФƤ顼ϤΤؤ


ld: in /usr/local/lib/libsqlite3.dylib, file was built for i386 which is not the architecture being linked (x86_64)


ФƤ

readline.c: In function username_completion_proc_call:




efreedomäƥȤϺǶ褯ФƤ뤱ɼưǵѤäʬˤ
URLƬja.򳰤ȥꥸʥαѸɽޤ


楢ץ򥨥ɥ桼˶ᤤȤ˷ڤȤäѥꥢ륿åȤɬפȤƤȤȤǤϤʤ餷

ޤͽۤϰǤ



ݡȤä⤢뤷̥ץˤ㤦ȥåץǡϹĤΤǡϥꥢ륿ϤϤäѤperiodicalexecute뤳Ȥˤ롣

桼ͤ餤ޤǤʤפȡ
ɤ߽ФᥤʤΤʬ⤷䤹۹ͫ




ʲ⡣

GAEPusherȤ鷺Comet褦ˤʤä餷Channel APIäƤΤȤ餷

GAEChannel APIǥꥢ륿Webץ - ˥
http://d.hatena.ne.jp/ninoseki/20101205/1291519323

#appengine Comet Channel APIpushǤ뤾 - ƥϥν
http://d.hatena.ne.jp/kazunori_279/20100528/1275039829

ޤطʤɡ

[ruby][sinatra] SinatraΥϥɥem-http-requestȤ - daily gimite
http://d.hatena.ne.jp/Gimite/20101017/1287298216


ääƤΤ̣ȻפɤѾǤƤʤʤȤ򺣤ǤޤϤǤ褫ȡ


Ȥ櫓̤Ajax١ǽʬȡäʤΤJQuery١˰ܹԤȤ

̵: Ruby on Rails + jQuery + Ajax ưŪ˥ڡΰ򹹿
http://blog.mudaimemo.com/2008/08/ruby-on-raisl-jquery-ajax.html

dequeue() - jQuery ܸե
http://semooh.jp/jquery/api/effects/dequeue/_/



ȤĤġWebsocketϢwatchĤꡣ

̤ȣɸ - makotoi:from London
http://d.hatena.ne.jp/makotoi/20101129

WebSocketܻؤȥꥢ륿Webɡ - IT
http://www.atmarkit.co.jp/fcoding/articles/websocket/01/websocket01a.html

em-websocket ǥåȤȤSweets Programming Memo
http://ameblo.jp/i18n/entry-10545104040.html


ȤƤꤷƤơץʬrailsȤˤȥꥢ륿ʬcomet١⤷websocketˤȤοʬʤȤǤʤ

Ĥޤ꣸֥ݡȣĤǤ٤ưäƤȤǤʤĴ٤ƤΤǤθǤμʬѥ⡣



ƤݡȣĻȤΤǤshooting_star١ǰҤ̤ư֤ˤϤʤäƤɡݡȣĻȤääƤ뤫顢SSLǤʤȤΤβꡣ



ǤͭΤǤޤȤ硢ˡȤƤϣġ


nginxѤΥץ饰ǿʬ
ͥꥢ륿ʬȼˤʤäƤơǺޤ
줫ϤäwebsocketȤ⤷Ĥġ


haproxyǡwebsocketΥꥯȤ򿶤ʬ
ͤ줬ФäǹԤȤꤢưʤ
ä̿ʤȤ⤷ĤġwebsocketλͤޤޤǤޤʤȤäʹȼϤޤ褫ʤȤ
̣ǤcometϤ̣ϤƤͤȤä⡣




Ǥ褯褯ͤȡ

URL١nginxȤǥСץУݡȤǽ󤸤ʤΡ
ͤϤʤȤϹԤʤȻפ롣
shooting_star١ȡåȤǤȯlong_pollΥå˥쥹ݥ󥹤֤ʬĤΥȥˤʤäƤơʬΥΤݡ

ĤΥݡȤǤ٤ƴ뤵äƤΤΤ⤽ŪHTTPS١ˤäƤȤʤɤäƽΡ
websocketˤsslϼƤäݤ
comet١Ǥlong poll sslǤפʤΤäȲkeepaliveߤʤȤǤʤäʤ褹Τwebsocketssl̿ȤȤȡ


Ȥ櫓ǡlingrƱͤeventmachine١ȾʬߤcometФäơСץʬäƤΤָŪ⡣Ĥ⤦ǯˤǤäƤlingrϤ롣



ޤȥꥢ륿åȤˤɤޤǤ뤫äƤΤϤɡ󥿡ץ饤ӤäperiodicalExecuteȤǽʬʵ⡣



㻲URL


Emerge Technology: WebSocketChatäƤߤ http://blog.liris.org/2009/12/websocketchat.html

goˤwebsocketåȤμ
ʲ⤽ϡ
ñʤΤϤǤ뤱ɡǧڤλȤߤȤʣΥåʬꤹΤϤɤ餤Τ狼󡣡


websocketͷǤߤ - ITǿͤITϮäۤꤹ http://d.hatena.ne.jp/the48/20100627/1277646213

WebSocketWebWorkerȤäƤߤޤ - html5-developers-jp | Google 롼 https://groups.google.com/group/html5-developers-jp/browse_thread/thread/e82f0d3d0353cfb0?hl=ja
EventMachineWebSocketǥꥢ륿webץ: Kwappaȯ http://kwappa.txt-nifty.com/blog/2010/11/eventmachineweb.html


eventmachine١rubyѤΤgemem-websocketem-websocket-serverϰ㤤褯狼󡣡Ȥꤢem-websocket١ΤΤ긵ǤưƤ롣

igrigorik's em-websocket at master - GitHub https://github.com/igrigorik/em-websocket https://github.com/igrigorik/em-websocket.git

dansimpson's em-websocket-server at master - GitHub https://github.com/dansimpson/em-websocket-server


ñProxyСץäݤȤΤȻפäƴԤɰääݤ
mcolyer's em-websocket-proxy at master - GitHub https://github.com/mcolyer/em-websocket-proxy



StompäƤΤäݤܺ
Matt Colyer » WebSockets & Stomp, the Real Realtime Web http://matt.colyer.name/2010/07/18/websockets-stomp-the-real-realtime-web/


CrampäƤĤȤ

has_many :bugs, :through => :rails http://m.onkey.org/websockets-made-easy-with-cramp

akitaonrails's cramp_chat_demo at master - GitHub https://github.com/akitaonrails/cramp_chat_demo


οͤεϤҤ̤ɤͤꡣ

Ruby & WebSockets: TCP for the Browser - igvita.com http://www.igvita.com/2009/12/22/ruby-websockets-tcp-for-the-browser/


Ruby & WebSockets: TCP for the Browser | Rails Fire http://www.railsfire.com/article/ruby-websockets-tcp-browser

Nginx & Comet: Low Latency Server Push - igvita.com http://www.igvita.com/2009/10/21/nginx-comet-low-latency-server-push/ em-http




Ⱦ褯狼󡣡ٶˤʤꤽͽ

Websockets and Ruby EventMachine http://www.slideshare.net/ismasan/websockets-and-ruby-eventmachine


ɤhaproxyҤ̤Ĵ٤

RUBY ON RAILS - Can nginx be used as a reverse proxy for a backend websocket server? - efreedom http://efreedom.com/Question/1-2419346/Can-Nginx-Used-Reverse-Proxy-Backend-Websocket-Server

http://haproxy.1wt.eu/#docs

Re: HAProxy is incompatible with WebSocket protocol revision 76? http://www.mail-archive.com/haproxy@formilux.org/msg03047.html


¾

WebSocket | ɤ⡣錄ˡǤ http://daniels-lab.jugem.jp/?cid=5


ݡȤäȤ
WebSocketsμ¸̤ - Note ON http://veritas-vos-liberabit.com/note_on/2010/06/websockets.html



ȾǤʤJavaץΥץ경ߤä䤿ܤ񤤤Ƥäꡣ

JettyǻϤWebSocketĶ硧6󡡥ץꥱκʪgihyo.jp ɾ http://gihyo.jp/dev/feature/01/websocket/0006



twitterΥȥ꡼ߥAPI򤤤

lib/tss_em_web_socket_server.rb at master from gimite's tweet-search-stream - GitHub https://github.com/gimite/tweet-search-stream/blob/master/lib/tss_em_web_socket_server.rb

[tss][ruby] Tweet Search Streamμem-websocketem-http-request - daily gimite http://d.hatena.ne.jp/Gimite/20101011/1286764612


ruby1.9.1ǤβΥץ

Using the em-http gem with WebSockets - SWiK http://swik.net/Ruby/Code+Snippets%3A+ruby/Using+the+em-http+gem+with+WebSockets/ecyzt







ΥڡΥȥåץ