On Wed, Mar 21, 2007 at 06:02:27PM -0800, Ewan Edwards wrote:
> 
> So, I've create a response handler that uses $r->read to read the POST
> body, separate out the lines and insert the data into a database. For
> small POST bodies this works well (800 r/s or so on my test hardware).
> 
> For larger post bodies, roughly anything bigger than about 32k, Apache
> appears to stall. I've cut the handler down to virtually nothing and the
> problem persists; here's the simplified version:

I know it's rather bad form to reply to one's self, however, I wanted to
follow-up on this posting by saying that it has turned out to not be an
Apache/mod_perl problem at all. ab seems to be rather broken when
sending POST requests of any substantial size.

I had much greater success benchmarking with httperf, although it has a
compile time limit of 10,000 bytes per session event line. I rebuilt
httperf with a much greater line length limit, and our desired benchmark
behaviour completed successfully.

I apologize for wasting bandwidth.

-- 
 // 2   ______________________________________________________________ 
//     /                                                              \
\\/ /  | Will you loan me $20.00 and only give me ten of it? That     |
 \\/   | way, you will owe me ten, and I'll owe you ten, and          |
       | we'll be even!                                               |
       \_________________________________  ___________________________/
        Ewan Edwards {e^2}, [EMAIL PROTECTED] |/

Reply via email to