Hi everyone,
If you've ever wanted to use Chicago Boss's built-in message queue in
a non-CB project, today is your lucky day. I finally got around to
splitting off the "bmq" modules into their own project. To prevent
confusion between the API layer (BossMQ) and the message queue itself
(BMQ), I am rechristening the latter. I always thought "Tiny" was a
great name for a criminal henchman, so I am pleased to announce the
creation of TinyMQ:
https://github.com/evanmiller/tinymq
TinyMQ is a simple, channel-based, in-memory message queue system with
an API very similar to BossMQ. The code base is very small, under 250
lines. TinyMQ follows OTP principles and will preserve state across
code reloads. It is ideal for simple, ad-hoc messaging applications
that can fit on a single machine.
The main drawback right now is that all of the message channels reside
on one Erlang node. As a result, it doesn't support failover and won't
scale to run on a large cluster. But hey, that's all you get for 250
LoC.
The code itself has been part of CB for over a year now, so it should
be nice and stable. But let me know if you encounter problems.
Happy messaging!
Evan
--
Evan Miller
http://www.evanmiller.org/