[ANN] async-observer rails plugin

I’m pleased to announce the existence of async-observer.

This is the very first public release. In the future I’ll confine
announcements to the beanstalk-talk mailing list.

WHAT IS ASYNC OBSERVER?

Async Observer is a Rails plugin that provides deep integration with
Beanstalk.

beanstalkd is a fast, distributed, in-memory work-queue service. Its
interface
is generic, but is intended for use in reducing the latency of page
views in
high-volume web applications by running most time-consuming tasks
asynchronously.

OUR FEW URLS

Download the code and learn all about async-observer:
http://async-observer.rubyforge.org/

Talk about async-observer development or use on the beanstalk mailing
list at:
http://groups.google.com/group/beanstalk-talk

HOW TO USE IT

Here’s some example code. Want to call a method asynchronously?

obj.async_send(:method_name, arg1, arg2)

Want to define an asynchronous after_create hook?

class Person
async_after_create do |person|
logger.info “created a person: #{person.id}”
end
end

It’s that easy! For all the gory configuration details, see the web
site.

DEPENDENCY

Async Observer requires beanstalkd and the beanstalk-client gem. You can
find
them at:

http://xph.us/software/beanstalkd/
http://beanstalk.rubyforge.org/

KNOWN BUGS

  • This plugin was extracted from in-house functionality and has many
    design
    warts.

kr