The raketka package

[Tags:library, program, public-domain, test]

peer node with simplelocalnet backend


[Skip to Readme]

Properties

Versions 1.0, 1.1, 1.1.1
Change log changelog.md
Dependencies aeson, async, base (>=4.8 && <5.0), binary, bytestring, conf-json, containers, distributed-process, distributed-process-simplelocalnet, network, network-transport, network-transport-tcp, random, stm, tagged, template-haskell [details]
License PublicDomain
Author Imants Cekusins
Maintainer Imants Cekusins
Category Network Control
Home page https://github.com/ciez/raketka
Source repository head: git clone https://github.com/ciez/raketka.git
Uploaded Wed Dec 14 12:28:40 UTC 2016 by procione
Updated Sun Dec 18 10:55:38 UTC 2016 by procione to revision 1
Distributions NixOS:1.1.1
Downloads 73 total (14 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for raketka

Readme for raketka-1.1.1

raketka

note : package build may fail 

due to version clash between aeson, vector, primitive packages

https://github.com/ciez/vector is a patched version of vector-0.11.0.0



* basic distributed-process node
* configurable peers

Begin reading at Control.Distributed.Raketka.Type.Arg

see also: 

    *   [parconc-examples](https://hackage.haskell.org/package/parconc-examples)
    *   [haskell-distributed tutorials](http://haskell-distributed.github.io/tutorials/1ch.html)  

This library: 

    functionality: 
        * start nodes 
        * connect them with each other
        * exchanges pings with other nodes which are expected to pong back
        * received pings & pongs are output to stdout
        * when 1 node is disconnected or stops, the other nodes stdout notifications about this

    may be extended 
    however you are most likely to write your own code that does much more. 

    is simple on purpose, does only a few things which seem to be common in distributed arch 

To start the program that comes with this library:

    start the same program in multiple consoles: 1 per node
 
    2 args are expected:

        1. path to config.json (see test-conf.json)
        2. idx of this node in the cluster: 0 .. (length Cluster -1)