On Wed, 20 Jan 2010, Trevor Little wrote:

>   I'm adding logging to a high-traffic mod_perl website and am worried
>   about the performance penalties of writing stuff to disc on every
>   request.

It depends on your traffic numbers. I've found that a file appender
works quite well up to 1000 reqs/sec because the OS typically caches
disc access quite efficiently. Your mileage might vary, so prudent load
testing is of the essence.

-- Mike

Mike Schilli
m...@perlmeister.com

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to