raketka: distributed-process node

[ library, network-control, program, public-domain ] [ Propose Tags ] [ Report a vulnerability ]

peer node with simplelocalnet backend


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
legacy_libc

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

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.2.0 (info)
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, template-haskell [details]
License LicenseRef-PublicDomain
Author Imants Cekusins
Maintainer Imants Cekusins
Category Network Control
Home page https://github.com/ciez/raketka
Source repo head: git clone https://github.com/ciez/raketka.git
Uploaded by procione at 2025-10-10T20:25:59Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables raketka
Downloads 2383 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for raketka-1.2.0

[back to package description]

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)