[Zope3-dev] Re: Thread problems

Peter Mayne PeterMayne at ap.spherion.com
Tue Oct 12 19:53:54 EDT 2004


Jim Fulton wrote:
> Peter Mayne wrote:
> 
>> I'm creating a thread using the Python threading module to perform a 
>> long running task.
> 
> 
> I'm inclined to view this as "unsupported".  I'd rather go to a model where
> we allow very long-running requests (e.g. by supporting larger thread and
> database pools) are supported.
> 
> It is theoretically possible to support creating worker threads from Zope
> requests, but this brings in a lot of *extremely* advanced and subtle 
> issues
> that I don't want to support.

Fair enough. I've pulled the whole data loading part outside of Zope, 
and I'm doing it from the command line, which simplifies things somewhat.

PJDM
-- 
Peter Mayne
Spherion Technology Solutions
Canberra, ACT, Australia
"You're given the form, but you have to write the sonnet yourself.
What you say is completely up to you." - Mrs. Whatsit



More information about the Zope3-dev mailing list