My concerns are not about which tool to use to manage dropwizard but more how to stop a dropwizard programmaticaly (but may be kill -2 is sufficient). This may be related to this thread : https://groups.google.com/d/topic/dropwizard-user/77GbHrgfLpk/discussion.
Le samedi 30 juin 2012 23:40:56 UTC+2, Andrew a écrit :
We use daemontools (http://cr.yp.to/daemontools/svc.html) in production and QA environments.That will run either a bash or ruby script (newer stuff on ruby) to set up the environment (classpath, logging, etc) and exec the JVM.
The standard UNIX way to shut down the service cleanly is plain old kill. It works nicely.
Since posting that initial discussion, I've changed my mind on the matter.
Many organisations have different strategies for managing application lifecycles. Init scripts are one approach; Upstart, daemontools, Commons Daemon are others. We use God (https://github.com/mojombo/god/) a lot these days.
By not siding with any particular strategy, Dropwizard ensures it can integrate with just about any existing infrastructure.
--
Nick Telford
On Sunday, 1 July 2012 09:50:57 UTC+1, Christophe Furmaniak wrote:
My concerns are not about which tool to use to manage dropwizard but more how to stop a dropwizard programmaticaly (but may be kill -2 is sufficient). This may be related to this thread : https://groups.google.com/d/topic/dropwizard-user/77GbHrgfLpk/discussion.
Le samedi 30 juin 2012 23:40:56 UTC+2, Andrew a écrit :
We use daemontools (http://cr.yp.to/daemontools/svc.html) in production and QA environments.That will run either a bash or ruby script (newer stuff on ruby) to set up the environment (classpath, logging, etc) and exec the JVM.
The standard UNIX way to shut down the service cleanly is plain old kill. It works nicely.