Mercury is a simple message broker that allows for some common messaging patterns using WebSockets. This allows communication between web browsers and other WebSocket-capable programs.
Features
- Easy-to-install. If you've got Perl 5.10 or later, you can use Mercury.
- Multiple message patterns supported:
- pub/sub - One-to-many pattern
- bus - Many-to-many pattern
- push/pull - Worker queue pattern
- Example JavaScript application included.
Demo
Try out the live demo of Mercury
Installing
Install the latest version of Mercury from CPAN:
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mercury
Getting Started
To use the example application locally, run:
mercury broker
See the mercury documentation for more information.