Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/youngkin/subpub-publish-proto

Example Erlang app that publishes and subscribes to RabbitMQ
https://github.com/youngkin/subpub-publish-proto

Last synced: about 9 hours ago
JSON representation

Example Erlang app that publishes and subscribes to RabbitMQ

Awesome Lists containing this project

README

        

Overview
========

subpub-publish-proto.erlang is a prototyping framework for publishing subpub-like messages to a backend storage service.
In the first iteration the backend storage service is RabbitMQ.

Getting Started
===============
TBD

1. Need a RabbitMQ installation to publish to
2. Optional statsd, graphite installation for metrics

Developing
==========
Source code
-----------
TBD, highlight significant files such as publisher worker, publisher pool, subscriber worker, subscriber pool

Building
--------
EXOMETER_PACKAGES="(minimal)" make all

(Retrieves only the minimal set of exometer dependencies in order to avoid library versioning issues. In particular with the amqp client library)

Running locally
---------------

Configuration - _rel/publish_proto/releases/0.0.1/sys.config

Running

* start app - ./_rel/publish_proto/bin/publish_proto start
* remote console (to run test) ./_rel/publish_proto/bin/publish_proto remote_console
* start test (in remote console) - publish_proto_test_driver:start_test().
* stop test (in remote console)- publish_proto_test_driver:stop_test().

Monitoring
----------
1. _rel/publish_proto/log contains all the log files. console.log contains runtime metrics
2. It does publish to a statsd backend (via exometer). Requires statsd and a statsd compliant visualization GUI (e.g., Graphite).

License
=======
NA?