public
Description: 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.
Homepage:
Clone URL: git://github.com/giraffesoft/starling-on-invisible.git
name age message
file README.rdoc Loading commit data...
file Rakefile
file app.rb
directory config/ Tue Nov 11 16:26:49 -0800 2008 add invisible generated scaffold [giraffesoft]
directory lib/
directory public/ Tue Nov 11 16:26:49 -0800 2008 add invisible generated scaffold [giraffesoft]
directory script/ Tue Nov 11 16:26:49 -0800 2008 add invisible generated scaffold [giraffesoft]
directory spec/
directory views/ Tue Nov 11 16:26:49 -0800 2008 add invisible generated scaffold [giraffesoft]
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