News for hackers. Stuff that matters.
Re:Phoenix 1.0 by kamac on Friday August 28, 2015 @03:58PM (#10137542)
About gin, you're right, I think. But what else to use in case the app crashes? A simple shell script to restart the executable whenever it crashes (even though it shouldn't)? :) And what about hot code reloads? You'd have to stop the app for a second there, and replace the executable yourself. You'd also probably interrupt whatever the app was doing at the time, which could turn out pretty bad.
Re:Phoenix 1.0 by lpsz on Friday August 28, 2015 @04:01PM (#10137557)
I use upstart to respawn if crashes, but there's definitely more than one way to solve this one :) Hot code reloads is the more interesting issue.