[Twisted-Python] Twisted enterprise deployment models
glyph at twistedmatrix.com
Thu Oct 20 13:09:10 EDT 2011
On Oct 20, 2011, at 7:50 AM, Itamar Turner-Trauring wrote:
> On Thu, 2011-10-20 at 12:29 +0100, Reza Lotun wrote
>> 1. http://twistedmatrix.com/documents/current/api/twisted.python.rebuild.html
>> This a module that can be used to reload class definitions and
>> instances, etc.
> This is probably not something you want to use in production. Too many
> thing can go wrong.
Can you list some of the things that might go wrong? I've used rebuild in production, and it's perfectly fine if you understand the inherent limitations of Python's object model reloading code. For services with long startup time and lots of data in core it can be the best option.
More information about the Twisted-Python