You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/05 12:31:34 UTC

[jira] [Commented] (WOOKIE-155) Experimental setup for shared data using websockets, node.js and redis

    [ https://issues.apache.org/jira/browse/WOOKIE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120813#comment-13120813 ] 

Scott Wilson commented on WOOKIE-155:
-------------------------------------

I created a Github project for this:

https://github.com/scottbw/wave-node

Which also includes the Wookie feature:

https://github.com/scottbw/wave-node/tree/master/examples/wookie

We could move the feature into sandbox, but not sure about the wave gadget impl itself. I did suggest contributing it to Apache Wave but didn't get a very positive response on wave-dev.

                
> Experimental setup for shared data using websockets, node.js and redis
> ----------------------------------------------------------------------
>
>                 Key: WOOKIE-155
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-155
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 0.9.0
>            Reporter: Scott Wilson
>            Priority: Minor
>         Attachments: chat_dwr_vid.swf, chat_node_vid.swf, wavenoderedis.zip, wavenoderedis_2.zip
>
>
> This is an experimental setup that simulates replacing the DWR-based functionality of Wookie's Wave API implementation with one using Node.js, WebSockets, and Redis. The key motivation behind this experiment is to see how much more responsive Wookie shared state widgets can be using a fast Websockets implementation instead of Comet on a typical Java server stack.
> To try it out, you need to install Node.js and the SocketIO websockets implementation. You also need to run a Redis server. This file contains the server-side logic.
> To run the example:
> 1. Start your redis server on the default port using:
> ./redis-server
> 2. In the folder you unzipped the code into, type:
> node server.js
> 3. In your browser (Safari and Chrome work well)  open each of the testx.html files. Test and Test2 share the same SharedDataKey whereas Test3.html does not. Type in key:value pairs in the text boxes to send deltas to the wave state, and see them updated in other "widget instances".
> Note the example is incomplete as it only handles state, not viewer or participants

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira