Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43F6AC180 for ; Tue, 10 Jul 2012 11:16:56 +0000 (UTC) Received: (qmail 43763 invoked by uid 500); 10 Jul 2012 11:16:55 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 43342 invoked by uid 500); 10 Jul 2012 11:16:52 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 43308 invoked by uid 99); 10 Jul 2012 11:16:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 11:16:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rsharma51@sapient.com designates 125.16.91.91 as permitted sender) Received: from [125.16.91.91] (HELO mail-blr.sapient.com) (125.16.91.91) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 11:16:43 +0000 Received: from BANGMAIL01.sapient.com ([fe80::bd03:4329:573d:ce22]) by BANGHUB02.sapient.com ([::1]) with mapi id 14.02.0309.002; Tue, 10 Jul 2012 16:46:21 +0530 From: Rommel Sharma To: mod_perl list Subject: mod_perl Filters: Selecting the most appropriate buffer size Thread-Topic: mod_perl Filters: Selecting the most appropriate buffer size Thread-Index: Ac1ejW7AovQY4FglTymMi9FRplE8XQ== Date: Tue, 10 Jul 2012 11:16:20 +0000 Message-ID: <21D67EEA74BD63488C141EA22B514AEA565A52@BANGMAIL01.sapient.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.209.227.59] Content-Type: multipart/alternative; boundary="_000_21D67EEA74BD63488C141EA22B514AEA565A52BANGMAIL01sapient_" MIME-Version: 1.0 --_000_21D67EEA74BD63488C141EA22B514AEA565A52BANGMAIL01sapient_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I am going through the documentation on mod_perl filters at the link below: http://perl.apache.org/docs/2.0/user/handlers/filters.html Examples set a buffer size to process the content held in the buffer like: use constant BUFF_LEN =3D> 1024; What is the best approach to reach most optimum buffer size? Is there a bes= t practices like guideline here? Thanks, Rommel. --_000_21D67EEA74BD63488C141EA22B514AEA565A52BANGMAIL01sapient_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,

 

I am going through the documentation on mod_perl fil= ters at the link below:

 

http://perl.apache.org/docs/2.0/user/handlers/filters.ht= ml

 

 

Examples set a buffer size to process the content he= ld in the buffer like:

 

use constant BUFF_LEN = =3D> 1024;

 =

What is the best approac= h to reach most optimum buffer size? Is there a best practices like guideli= ne here?

 =

Thanks,

Rommel.

 =

 

--_000_21D67EEA74BD63488C141EA22B514AEA565A52BANGMAIL01sapient_--