@hackage raketka1.2.0

distributed-process node

  • Installation

  • Dependencies (15)

  • Dependents (1)

    @hackage/acme-everything
  • Package Flags

      legacy_libc
       (off by default)

      set this flag to True if you see this error message : cbits-unix/init.c:3:10: error: fatal error: sys/random.h: No such file or directory 3 | #include sys/random.h | ^~~~~~~~~ how to set this flag to true: in cabal.project or cabal.project.local add this line (0 indent): constraints: raketka +legacy_libc

raketka

* 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)