[Twisted-Python] -shutdown taps

Ian Duggan ian at ianduggan.net
Wed Jun 8 13:48:28 EDT 2005


On Wednesday 08 June 2005 10:19, Itamar Shtull-Trauring wrote:
> You probably shouldn't depend on this feature for persistence of data
> that you care about, it's too fragile a storage mechanism.

Yeah? My daemon keeps a small amount of state for "in process" requests 
related to long running background processes. I was hoping to have the daemon 
save the hash it was using, and restart the processes where they were when it 
restarted.

What about this method makes it fragile? I guess that's what I was hoping to 
code into a more robust state. It's a cool feature, IMHO, to have automagical 
daemon persistence.

--Ian




More information about the Twisted-Python mailing list