Hacker News new | past | comments | ask | show | jobs | submit login

Why is emailing an exception bad (Slide 48)? Can a small site get away with it ?



A possible disaster scenario: connection issues with the SMTP server are causing the initial exception, resulting in webserver connections that are open for excessively long periods of time (unless you're sending the emails asynchronously), since the process is blocked first on the failed SMTP connection, then again on the exception email attempt (and you're still not getting any notification that something is broken, unless you're doing some other kind of monitoring!)


It's fine for small sites. You'll know when your site is too big for that feature from the pain in your inbox.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: