courier: A message-passing library for simplifying network applications
Inspired by Erlang's simple message-passing facilities, courier provides roughly similar capabilities. Applications simply create one or more endpoints, bind each to a transport using a given name, then can freely send / receive messages to other endpoints just by referencing the name each endpoint bound to its transport.
A primary driver of this package's design is separation of concerns: many algorithms (especially for distributed applications) depend upon a message-passing foundation, but the algorithms are sufficiently complex that the details of how those messages are transmitted among nodes are best hidden away and solved separately from the distributed algorithm itself. With this in mind, this package aims to provide a variety of transports as well as support for common communication idioms (e.g., in order message delivery, selective out of order message delivery, synchronous RPC, etc.).
Applications may process messages in the order received at an endpoint, or use selective message reception to process the first message arriving at an endpoint that also matches a provided selection function. Through selective message reception, applications may approximate the style of an Erlang application, and enjoy better composability of message reception with multiple independent dispatch routines or message pumps.
Modules
[Index]
Downloads
- courier-0.1.1.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.1.0.7, 0.1.0.8, 0.1.0.9, 0.1.0.10, 0.1.0.11, 0.1.0.12, 0.1.0.13, 0.1.0.14, 0.1.0.15, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4, 0.1.1.5 |
---|---|
Change log | changes.md |
Dependencies | async, base (>=4.8 && <5), bytestring, cereal, containers, courier, hslogger, network, stm, text, uuid [details] |
Tested with | ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.2, ghc ==7.10.3, ghc ==8.0.1 |
License | MIT |
Copyright | Copyright (c) 2013-14 Phil Hargett |
Author | Phil Hargett |
Maintainer | phil@haphazardhouse.net |
Category | Network, Distributed Computing, Message-Oriented |
Home page | http://github.com/hargettp/courier |
Source repo | head: git clone https://github.com/hargettp/courier.git |
Uploaded | by PhilHargett at 2017-05-05T04:44:11Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Executables | echo-client, echo-server |
Downloads | 17840 total (83 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-05-05 [all 1 reports] |