Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 views
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.