MessQ: A Simple Message Queue for Socket-Based Message Enqueue/Dequeue Facility
Join the DZone community and get the full member experience.
Join For FreeI've spent a good amount of time setting up message-based infrastructures, so I decided to make a tool that would allow me to set up localhost friendly, network
available message queues much quicker so I could try out all the things I wanted.
So here is Mess(age)Q(ueue). Something I've quickly thrown together. I will
work on it later to get it more performance oriented, but right now it is good to go for smaller
projects.
@GitHub: https://github.com/abhishekkr/messQ
@RubyGems: https://rubygems.org/gems/messQ
_________________________
A Quick Test
[+] Install
$ gem install messQ --no-ri --no-rdoc
[+] Start Server (starts at 0.0.0.0 on port#5566)
Via Code
[+] Install
$ gem install messQ --no-ri --no-rdoc
or add following to your Gemfile
gem 'messQ'
require 'messQ'
[+] Start Server
[+] Dequeue 2 values from Queue
Published at DZone with permission of Abhishek Kumar, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments