https://github.com/kazupon/socket.io-zeromq-sample
socket.io zeromq implementation sample
https://github.com/kazupon/socket.io-zeromq-sample
Last synced: 10 months ago
JSON representation
socket.io zeromq implementation sample
- Host: GitHub
- URL: https://github.com/kazupon/socket.io-zeromq-sample
- Owner: kazupon
- License: mit
- Created: 2014-07-02T15:10:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-02T17:26:24.000Z (over 11 years ago)
- Last Synced: 2025-02-06T05:43:10.830Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# socket.io-zeromq-sample
This project is socket.io [zeromq](http://zeromq.org) implementation sample.
# Setup
```
$ git clone git@github.com:kazupon/socket.io-zeromq-sample.git
$ npm install
```
# Usage
## Run the zeromq pub/sub server
```shell
$ ./node_modules/.bin/socket.io-zeromq-server
```
Use the `socket.io-zeromq-server`.
## Run the frontend
```shell
$ node ./frontend.js
```
In `frontend.js`, Use the `socket.io-zeromq` adapter.
## Run the backend
```
$ node ./backend.js
```
In `backend.js`, Use the `socket.io-zeromq-emitter` emitter.
# License
[MIT license](http://www.opensource.org/licenses/mit-license.php).
See the `LICENSE`.