[Twisted-Python] HowTo -- load a business-object in a Twisted Web Server ??

Thomas Weholt 2002 at weholt.org
Mon May 26 10:26:31 EDT 2003

I need to load a business-object in a Twisted Web server serving static content and rpys, and it should be available in all parts of the application. It has to be able to run a method or methods at specified intervals, fetching some files from the net, scanning a filesystem or extracting data from a database, which in return will be available in the business-object in the web-server. What is the Twisted-way of doing this? The tasks the business-object will perform from time to time can be time consuming and probably blocking too. 

Should a start it in a seperate thread? What ? I need clues or a small example.

best regards and thanks in advance,
Thomas Weholt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030526/a422e850/attachment.htm 

More information about the Twisted-Python mailing list