[justfewtuts] messQ ~ just a fun little project providing socket-based Queue service

justfewtuts.blogspot.com [5-March-2012]

http://justfewtuts.blogspot.in/2012/03/messq-just-fun-little-project-providing.html

messQ is a small project started to implement and improve in the areas of message queue mechanisms.

What it does currently? Just a Network Service to be connect and enqueue/dequeue messages.

What it requires? Ruby, terminal and your fingers 🙂

Git it:           $ git clone git://github.com/abhishekkr/messQ.git
Download:   https://github.com/abhishekkr/messQ/tarball/master

Start messQ server:       $ ruby messQ.rb
This starts a message queue server at  port 8888.

Enque new message:
Open a connection at port 8888, then say “enq MESSAGE_TO_BE_QUEUED“.

Deque oldest message:
Open a connection at port 8888, then say “deq“. It returns the dequed message.

…..click here to read full original post

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: