summaryrefslogtreecommitdiffstats
path: root/hyper/README.md
blob: d1a2bc0c425487e390660c4819f4df1f3ef1ad15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Overview

## start conductor on port 8888 and sink on 1337

    //hyper/process/main
    //bin/node //hyper/sink

## create bc process and retrieve it's process id (AKA {path})

    url=http://localhost:8888
    curl -fvsS --data-binary @//hyper/process/test/bc.json $url/proc

## send data for calculation

    echo 9000+2^42 | curl -fvsS --data-binary @- $url/{path}

## spawn process with http influx and local efflux

hint: maybe run each command in some separate terminal.

    id=dummy sh -x //hyper/process/spawn stdbuf -o 0 sed 's/[^0-9 ]//g'
    port=3 node //hyper/influx/http //proc/dummy/0
    cat //proc/dummy/1
    cat //proc/dummy/2
    date | curl -fvsS --data-binary @- http://localhost:3