[Twisted-Python] Addition to twisted.python.logfile

Bruce Mitchener bruce at cubik.org
Thu Oct 17 14:09:58 MDT 2002


Paul Swartz wrote:
> On Thu, Oct 17, 2002 at 03:35:53PM -0400, Itamar Shtull-Trauring wrote:
>>Here's a question for the list in general - wouldn't it better to do the
>>compression in a thread?
> 
> isn't compression fast enough that we can assume it doesn't block?

Not really.  For decent sized log files (well over a meg), it can take a 
noticeable time and with Twisted, that's too much time.  It shouldn't be 
an issue or that hard to do the compression in a thread anyway.

  - Bruce





More information about the Twisted-Python mailing list