On February 24, 2021 11:37:05 PM UTC, robert engels <reng...@ix.netcom.com> 
wrote:
>A simple slice OOB causes a panic - this is why many robust servers
>will catch & recover so a single OOB due to bug triggered by rare
>input/state doesn’t crash the server for 1000’s of users. It might
>still cause problems due to resource exhaustion, but properly designed
>exception/error handling should prevent/limit that.

I would rather fail safe than cater for a situation that shouldn't happen. 
Recovery is a less sane environment and there are better ways to build in 
redundancy.

Wrt forking. I was talking about dropping privileges, once at daemon startup.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/D74D9146-B712-4EFF-A291-3A4D7ACA051B%40gmail.com.

Reply via email to