On Mon, 16 Apr 2012 08:46:17 -0700 James Peach <[email protected]> wrote:
> > On Apr 15, 2012, at 5:41 AM, Hershberg, Joshua wrote: > > > All- > > > > I am looking for some guidance writing a plugin to ATS to "transform" the > > content returned from the upstream server in an asynchronous manner. That > > is, I would like to do something akin to receiving an event in my plugin, > > hand off the content to a separate processing thread or process, and then > > have the function return while the other thread or process transforms the > > content. Once the separate thread finishes with the transform it would > > notify the Continuation that the content is available, and the ATS state > > machine would continue on its way. > > This sounds similar to the ironbee plugin: > > https://github.com/ironbee/ironbee/blob/master/servers/trafficserver/ironbee.c Not entirely. There's nothing async about the ironbee plugin! It just processes events in order using the standard TS model. -- Nick Kew
