Thank you for that. 

On Sunday, May 7, 2017 at 10:47:16 PM UTC-4, Zlatko wrote:
>
>
>
> On Sunday, May 7, 2017 at 12:32:15 AM UTC+2, [email protected] wrote:
>>
>> Do you keep track of how often your app dies and is restarted? 
>>
>>
> Nope, not directly. But I do scan the logs from time to time to check if 
> there's something unusual (including restarts).
>
>  
>
>> Of the die/restart cycle, how much is deliberate on your part (an Erlang 
>> style fail fast philosophy) versus how much is s a total surprise? 
>>
>
> I try to make any restart explicitly because of a new deploy. If my app is 
> restarting on its own occasionally, it's a bug and I try to find it and fix 
> it f I see it.
>  
>
>
>> For those of you who have apps that die often, what are the circumstances 
>> that cause it to die often? 
>>
>>
> Usually bugs. An uncaught error in init, somewhere where I rely on a 
> third-party site and it's module, but those break and I didn't try/catch 
> this (because I didn't read the docs and saw that they might, or because 
> they didn't document it at all), things like that.
>
> HTH.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/aa4c74dd-c142-4eb4-a3f9-83f3f3c141d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to