Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marianoguerra/smc

Simple In Memory Channels for Erlang (Pub/Sub)
https://github.com/marianoguerra/smc

Last synced: about 1 month ago
JSON representation

Simple In Memory Channels for Erlang (Pub/Sub)

Awesome Lists containing this project

README

        

Simple In Memory Channels
=========================

An Erlang Library that provides a simple API to create channels, channels support the following operations:

* start
* subscribe
* unsubscribe
* send
* stop

there's a channel that has "recent memory" and allows replaying from recently
seen events, the amount of history can be configured.

Test
----

::

./rebar compile ct

to play with the property based tests done with triq, run::

./rebar compile shell

and inside::

triq:check(smc_triq:smc_statem()).

to run more tests::

triq:check(smc_triq:smc_statem(), 10000).

License
=======

MPL 2.0, see LICENSE