Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

riak_core vnode Dispatcher that uses sockjs-erlang and cowboy

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 include
Octocat-spinner-32 priv
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 hello_world1.config
Octocat-spinner-32 node1.sh
Octocat-spinner-32 rebar
Octocat-spinner-32 rebar.config
README.md

SockJS riak_core vnode Dispatcher

Similar to the misultin-based vnode dispatcher [1], this dispatcher demonstrates how to use riak_core to serve a SockJS-based application.

It's not a re-usable application so much as it is a reference application you can cut-and-paste from to add SockJS capabilities to your riak_core application to give you a super-high-performance, highly-scalable, highly-available real-time web application.

Use

git clone this project, then do a make. When that's built, start the server with the special bash script ./node1.sh. Then point a SockJS capable browser to http://localhost:3000/static/ws.html.

You should see "Hello World!" if it works correctly. Check your browser's console output for more information.

[1] - https://github.com/jbrisbin/misultin-riak-core-vnode-dispatcher

Something went wrong with that request. Please try again.