I'm no twisted expert but I think you can use deferred threads to avoid blocking
On 9/3/09, [email protected] <[email protected]> wrote: > In addition, avoid Twisted if you have to do some synchronous operation > that takes a long time. For example, in one of my projects that used > Twisted, I had to execute a command to load firewall rules. This could > take a long time since the rules often used DNS names and the program > had to look up all the DNS names. This caused the Twisted application > to block, so all connections lagged until it was done. > -- > Obama Nation | My emails do not have attachments; it's a digital signature > that your mail program doesn't understand. | > http://www.subspacefield.org/~travis/ > If you are a spammer, please email [email protected] to get > blacklisted. > -- Sent from my mobile device Brian O'Connor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
