[erlang-questions] [ANN] TinyMQ
Thu Aug 30 08:00:36 CEST 2012
On Aug 29, 2012, at 10:07 PM, Evan Miller wrote:
> I've split Chicago Boss's message queue system into its own project.
> Meet TinyMQ:
> The message queue is channel-based. Erlang processes can check a
> channel for messages posted after a certain timestamp, or subscribe to
> the channel and receive an Erlang message as soon as a new message is
> posted to the channel. Channels can have an unlimited number of
> subscribers (and processes can be subscribed to more than one
> Channels are created and destroyed automatically, so the API is
> extremely simple -- 5 functions total. Each channel is managed by a
> gen_server so you get all the benefits of an OTP design. The code base
> is quite small (~250 lines) so newbies who want to see a functioning
> application with multiple interacting gen_servers might want to check
> it out and learn from it, although the documentation is somewhat
> The main drawback of TinyMQ is that it is not distributed and does not
> have any failover logic. It's best for developers who want a simple
> message queue that runs on one machine. The code has been used in
> Chicago Boss for some time now and has proven to be a popular feature.
> Hopefully others can benefit from it now.
> Best regards
> erlang-questions mailing list
More information about the erlang-questions