[Catalyst] Implementing Webhooks.

2014-01-15 Thread Bill Moseley
I'm running Catalyst under mod_perl2 (currently, subject to change). Some requests trigger a callback to a user-provided URL -- a webhook. Obviously, it's best to do those asynchronously and not in-process. Don't want a web request (or really an Apache process) hanging while waiting on an

Re: [Catalyst] Implementing Webhooks.

2014-01-15 Thread Tomas Doran
My take on this is to log things into ZeroMQ (via Message::Passing), and route them to Message::Passing::Output::WebHooks - the code for that output might not be as bullet proof as you’re looking for, but it should be a reasonable starting place. I’d probably go right ahead and implement the