Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Proof of concept that you can build a queueing server and client RESTfully, leveraging starling's persistent queue code, a lightweight web framework, and thin.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib
public/stylesheets
script
spec
views
README.rdoc
Rakefile
app.rb

README.rdoc

Starling on Invisible

Proof of concept that you can build a queueing server and client RESTfully, leveraging starling's persistent queue code, a lightweight web framework, and thin.

Starling on Invisible is 1/3rd the size of starling.

Usage

Start it with thin:

thin -R config/rack.ru -p 5432

Then use it in IRB:

irb(main):001:0> require 'lib/queue_client'
=> true
irb(main):006:0> QueueClient.put 'mykey', 'value'
=> ""
irb(main):006:0> QueueClient.take 'mykey'
=> "value"
irb(main):007:0> QueueClient.take 'mykey'
=> nil

Warning

This is a proof of concept. Don't use it.

Credits

Created by James Golick

Something went wrong with that request. Please try again.