https://github.com/pierrer/pipes-zmq3
https://github.com/pierrer/pipes-zmq3
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pierrer/pipes-zmq3
- Owner: PierreR
- License: bsd-3-clause
- Created: 2013-08-30T10:47:16.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-01-03T11:14:43.000Z (over 12 years ago)
- Last Synced: 2025-10-08T22:50:57.850Z (9 months ago)
- Language: Haskell
- Size: 254 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/PierreR/pipes-zmq3)
### Description
This module is meant to serve as a short and easy-to-run pipes examples.
It emulates message streams communications between 0MQ sockets. It uses `inproc` (in-process) protocol to ease setup.
Currently the purpose is purely educational. Do not hesitate to comment using Github issues.
#### Echo (REP/REQ)
The "echo" executable emulates an echo server. The client first connects to the echo server and waits for console input (stdin). The client socket will send console message to the server and wait back for the reply from the server. It then prints back the echo reply to the console (stdout).
#### Sub (PUB/SUB)
Sub emulates the publication of weather data. A sub socket subscribes using zipcode as tag, then prints to stdout all data it receives. Every 10 records, it prints a summary report with the average temperature and humidity.
##### Todos
* stop and resume the publication of weather data