Mailing List Archive

Re: cvs commit: modperl-docs/src/docs/2.0/api/Apache Log.pod
stas@apache.org wrote:
> stas 2004/03/01 20:33:22
>
> Modified: src/docs/2.0/api/Apache Log.pod
> Log:
> add a note that Apache::Log could be slow on win32
>
> Revision Changes Path
> 1.8 +6 -0 modperl-docs/src/docs/2.0/api/Apache/Log.pod
>
> Index: Log.pod
> ===================================================================
> RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Log.pod,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -u -r1.7 -r1.8
> --- Log.pod 19 Jan 2004 16:27:09 -0000 1.7
> +++ Log.pod 2 Mar 2004 04:33:21 -0000 1.8
> @@ -97,6 +97,12 @@
> C<Apache::LOG_DEBUG> is used (because that's how Apache 2.0 logging
> mechanism works).
>
> +Note: On Win32 Apache attempts to lock all writes to a file whenever
> +it's opened for append (which is the case with logging functions), as
> +Unix has this behavior built-in, while Win32 does not. Therefore
> +C<Apache::Log> functions could be slower than Perl's print()/warn().

Randy, you may want to add this somewhere in the performance section of win32
docs.


__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: cvs commit: modperl-docs/src/docs/2.0/api/Apache Log.pod [ In reply to ]
On Mon, 1 Mar 2004, Stas Bekman wrote:

> stas@apache.org wrote:
> > stas 2004/03/01 20:33:22
> >
> > Modified: src/docs/2.0/api/Apache Log.pod
> > Log:
> > add a note that Apache::Log could be slow on win32
> >
> > Revision Changes Path
> > 1.8 +6 -0 modperl-docs/src/docs/2.0/api/Apache/Log.pod
> >
> > Index: Log.pod
> > ===================================================================
> > RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Log.pod,v
> > retrieving revision 1.7
> > retrieving revision 1.8
> > diff -u -u -r1.7 -r1.8
> > --- Log.pod 19 Jan 2004 16:27:09 -0000 1.7
> > +++ Log.pod 2 Mar 2004 04:33:21 -0000 1.8
> > @@ -97,6 +97,12 @@
> > C<Apache::LOG_DEBUG> is used (because that's how Apache 2.0 logging
> > mechanism works).
> >
> > +Note: On Win32 Apache attempts to lock all writes to a file whenever
> > +it's opened for append (which is the case with logging functions), as
> > +Unix has this behavior built-in, while Win32 does not. Therefore
> > +C<Apache::Log> functions could be slower than Perl's print()/warn().
>
> Randy, you may want to add this somewhere in the performance section of win32
> docs.

Thanks, Stas! I'll do that ...

--
best regards,
randy


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org