Hi all, I've recently finished the first version of Peon, a work queue library for Ruby with a DSL for defining jobs that uses beanstalkd for the message queue. It's based on and heavily influenced by Minion (http:// github.com/orionz/minion), which is a work queue library that uses AMQP for the backend.
For a sample of how you would use the library, see this gist: http://gist.github.com/202645 In that example, the worker process would output "I just made a ham sandwich on white bread." when the job is enqueued. Peon abstracts away all of the inner workings of the message queue like handling parameters and dealing with different tubes, leaving an elegant DSL for the developer to interact with. Source code is on GitHub: http://github.com/cmelbye/peon Warning: There are a few problems with conflicts of the dependencies if you're installing using rubygems. You'll need to hack a few things a little bit to get everything to load properly right now, but everything else should work. I hope this is useful to you Ruby developers out there! If you have any feature requests or find any bugs, you can report it on the issues page (http://github.com/cmelbye/peon/issues), or just fork the code and fix it yourself then submit a pull request. Charlie Melbye --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en -~----------~----~----~----~------~----~------~--~---
