Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Orin (Ayende @ Rahien) has a post about not using your email
account for testing (found here). I would go a step further and say don’t use
your development teams group address.
Recently I was developing a heath check windows service that was
designed to poll one of our web services that died all the time.
*** Side bar ***
This service dies when bad data is provided to a unmanaged dll we are
using. When this happens it kills the
app pool.
*** End side bar ***
When this service noticed that our web service was not
responding it would send an email out to our group so that someone could
restart the app pool. Well, during my
testing I was not resetting my polling timer correctly, so every tenth of a
second an email was being sent out to our team.
By the time I noticed what was going on I had sent about 1000 emails to
the team…. Opps.
So, the lesson learned here was to NOT use either your
account or your teams group account.
Till next time,
About Derik Whittaker
Derik is a .Net Developer/Architect specializing in WinForms working out the northern suburbs of Chicago. He is also believer and advocate for Agile development including SCRUM, TDD, CI, etc.
When Derik is not writing code he can be found spending time with his wife and young son, climbing on his bouldering wall, watching sports (mostly baseball), and generally vegging out.