From: Romain Bardou <romain.bardou@inria.fr>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] [ANN] Procord 0.1.0: Delegate tasks to other processes
Date: Wed, 09 Oct 2013 11:09:28 +0200 [thread overview]
Message-ID: <52551D48.2030204@inria.fr> (raw)
I am happy to announce the first release of Procord, a portable library
to delegate tasks to other processes.
Obtain it with opam:
opam install procord
Or, download the tarball:
https://github.com/cryptosense/procord/archive/v0.1.0.tar.gz
View a minimal, commented example:
https://github.com/cryptosense/procord/blob/master/examples/minimal.ml
You can browse the API at:
http://cryptosense.github.io/procord/api/index.html
Procord can spawn local worker processes or communicate using sockets to
a remote worker server. Workers will receive an input, execute a
function on this input, and send back the result. Meanwhile, the main
program can continue to run while waiting for the results.
Not relying on threads, Procord is robust - a segmentation fault in the
worker will not kill the main program. Not relying on fork, Procord is
portable - it has been tested on Linux and Windows.
Procord provides an easy way to have the same executable act as a worker
- local or remote - or as the main program. The actual behavior can be
specified on the command-line. The default is to run as the main
program, which delegates tasks by running itself.
I will present Procord at the OUPS meeting of this evening.
--
Romain Bardou
next reply other threads:[~2013-10-09 9:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 9:09 Romain Bardou [this message]
2013-10-10 12:06 ` Arnaud Spiwack
2013-10-10 12:24 ` Romain Bardou
2013-10-10 14:59 ` Louis Gesbert
2013-10-10 15:59 ` Jacques Garrigue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52551D48.2030204@inria.fr \
--to=romain.bardou@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox