[Twisted-Python] Handling application initialization synchronously

Itamar Turner-Trauring itamar at itamarst.org
Mon Jun 20 06:24:28 MDT 2011


On Mon, 2011-06-20 at 16:00 +0900, David wrote:
> Hi,
> 
> 	I was wondering what's the recommended way to initialize a "complex" 
> twisted application. Typically, let's say I have an application which 
> needs to create a couple of "heavy" objects, each of which may create 
> mysql db/tables:

You could create all of the objects you need in one runInteraction call,
maybe?





More information about the Twisted-Python mailing list