Archive for queue

[just.few.tuts] MessQ : message queue for quickly trying any idea

Posted in Blogroll, tutorial with tags , , , , , , , , on April 30, 2013 by abhishekkr

justfewtuts.blogspot.com [3/Feb/2013]

http://justfewtuts.blogspot.in/2013/02/messq-message-queue-for-quickly-trying.html

Past some time while trying up some set-up based on Message Queue at infrastructure… needed a quick to set-up, localhost friendly, network available Message Queue service to try out ideas.
So here is Mess(age)Q(ueue). Something quickly thrown together. Would work later to get it more performance oriented, good to go with smaller projects.

@GitHub:       https://github.com/abhishekkr/messQ
@RubyGems: https://rubygems.org/gems/messQ
_________________________

A Quick Tryout

[+] Install
$ gem install messQ –no-ri –no-rdoc
[+] Start Server (starts at 0.0.0.0 on port#5566)

$ messQ –start
[+] Enqueue user-id & home value to the Queue
$ messQ -enq $USER
$ messQ –enqueue $HOME

[+] Dequeue 2 values from Queue

$ messQ -deq
$ messq –dequeue
[+] Stop Server
$ messQ –stop
_________________________

Via Code….

…click here to read full post

Advertisements

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

Posted in Uncategorized with tags , , , , , , on April 10, 2012 by abhishekkr

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

[tekwalk] resque and WildCard usage

Posted in Blogroll, tutorial, Uncategorized with tags , , , , on April 10, 2012 by abhishekkr
tekwalk.blogspot.com [27-January-2012]
http://tekwalk.blogspot.in/2012/01/resque-and-wildcard.html
While testing we were starting resque workers as
 rake resque:work QUEUE=*
this used to start the workers listening on all the Resque’s queues and never exit.

So hoping Resque understands wildcards well, we made…..
…click here to read entire full original post