[Twisted-Python] Graceful/Hitless restart

Hello! Sorry for my bad English! Can anybody provide some samples how to implement Graceful restart in twisted? Thanks

On 05:09 pm, ruslan.usifov@gmail.com wrote:
Hello! Sorry for my bad English!
Can anybody provide some samples how to implement Graceful restart in twisted?
There's no special way to do this with Twisted. Perhaps the comments on http://twistedmatrix.com/trac/ticket/4072 will help you, though. Jean-Paul

Hello First of all sorry for my bad english I don't think that this tikeе suit fro me:-( When i said Graceful i mean net behaviour: 1). Server doesn't break already connected clients. Wait while they all ends and only afte then dies 2). Respawn new workers with new reread config, which will service all next requests All this looks like Apache Graceful Restart http://httpd.apache.org/docs/2.0/en/stopping.html 2010/9/22 <exarkun@twistedmatrix.com>
On 05:09 pm, ruslan.usifov@gmail.com wrote:
Hello! Sorry for my bad English!
Can anybody provide some samples how to implement Graceful restart in twisted?
There's no special way to do this with Twisted. Perhaps the comments on http://twistedmatrix.com/trac/ticket/4072 will help you, though.
Jean-Paul
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

On 07:23 pm, ruslan.usifov@gmail.com wrote:
Hello
First of all sorry for my bad english
I don't think that this tikeC5 suit fro me:-(
When i said Graceful i mean net behaviour:
1). Server doesn't break already connected clients. Wait while they all ends and only afte then dies 2). Respawn new workers with new reread config, which will service all next requests
All this looks like Apache Graceful Restart http://httpd.apache.org/docs/2.0/en/stopping.html
This is application-specific behavior that you'll have to implement yourself. Jean-Paul

I know, i have simply hope that anybody solved a similar problem and could share source codes :-))) This is application-specific behavior that you'll have to implement
yourself.
Jean-Paul
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (2)
-
exarkun@twistedmatrix.com
-
ruslan usifov