1) no
2) no
3) yes at all cost
4) both, exceptions are logged with context (current bindings, etc)
5) undecided, under close examination however
6) never have to restart, we check what cause the error and correct it
externally if required
most errors are reported immediately, may depend on the failed process
being critical
or not.
Up times above 250 days, restarts only required when upgrading stuff.
Luc P.
>
> I'm curious, how are people in the Clojure community currently dealing with
> exceptions? I have a diverse set of questions on this topic.
>
> 1.) How many have adopted an Erlang "die fast and restart" strategy?
>
> 2.) How many use something like Supervisor to spin up new JVMs? If not
> Supervisor, then what?
>
> 3.) How many try to catch all exceptions and therefore try to keep the app
> running under all circumstances?
>
> 4.) If you use something like Kafka to log events, do you use the same log
> to track exceptions, or do you track exceptions separately?
>
> 5.) How many use a catch/restart library such as Ribol?
>
> 6.) In general, how bad do you expect things to be before you allow the
> software to die, have Nagios send a pager alert to your sysadmin, drag them
> out of bed at 3 AM, and have a human examine the issue and restart things
> manually?
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Luc Préfontaine<[email protected]> sent by ibisMail!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.