package atacama

  1. Overview
  2. Docs
Modern, pure OCaml socket pool for Riot

Install

Dune Dependency

Authors

Maintainers

Sources

atacama-0.0.3.tbz
sha256=70656f50054a099325ee8f11c6b5e7146f66d92bcaa1f442e75bf4518a518ac0
sha512=3b54002348dcf8433bcd7a8a8d168f4d20b8f991240ea531f0aae83930b6c8b9faf09a2edc83e1b6a176f55b772756f67bfba09a314fb1c0e13675f044e390e6

CHANGES.md.html

Changes

0.0.3

  • Move example to use Riot Applications

  • Started reference projects for benchmarking

  • Log socket accept/receive errors

  • Always attempt to close a socket

0.0.2

  • Update to work with Riot 0.0.3

0.0.1

First release includes:

  • A pluggable architecture, where both Transports and Handlers can be configured in an Atacama supervision tree at startup time.

    This makes it easy to swap in the protocol used, which by default will be clear TCP sockets.

  • Easy-to-define handlers using module includes, so defining a new handler is as little as ~5 lines of OCaml.

  • A supervision tree for handling connections in an acceptor pool

  • Custom state per connection pool

  • An echo server example

  • Some telemetry events

  • Namespaced internal logging