Is there a performance advantage to using bucket brigades vs. just "printing" to the request object? I assume the latter uses the former at some level.

I have a PerlResponseHandler feeding into a PerlOutputFilterHandler. The latter uses bucket brigades directly for both input and output. The former just prints to the request object. I was wondering if I should fix the PerlResponseHandler to use bucket brigades directly, or if it really mattered.

The other side of this is that the response handler generates XML and the output filter handler consumes it. I was thinking that I should be able to hang the XML object (not the text representation thereof) on the request object and avoid the overhead of printing the XML and then parsing it again. Has anyone tried doing this?

Marc M. Adkins

Reply via email to