[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: questions on serving big file & SQL statement parsing


On 7/3/07, Clinton Gormley <suppressed> wrote:
However, the Perl code itself has
already been compiled into C and is fast.

It's not a very important distinction, but perl code is not compiled
into C.  It gets compiled to an intermediary format of Perl opcodes,
which you can see with the B:: tools.

 - a proxy front end handles the slow upload of data from the client
 - it forwards it (internal network, thus fast) to your backend mod_perl
   server, which can then process it (eg add it to the DB, resize the
   image, store it where it needs to be stored), and return the data
   to the proxy.

I think this depends on your proxy implementation.  Some will buffer
it up front and some will send it exactly as they receive it, which
may be in chunks.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.