Flexible systems are not always good

As a developer, you usually try to give as much flexibility as possible to your user. Where the specs don't give exact guidelines, you interpret the specs and offer flexibility, usually. Today came the proof that developers should think a bit better before offering flexibility, especially with mission-critical applications.

Yes, I am talking here about the big problem over at DreamHost today , where just about every customer of theirs got billed incorrectly. The reason? Their billing application, which has been designed to be as fail-safe as possible, had been implemented in such a way that it was possible to re-bill customers as if today were a day in the future manually.

Usually their billing and re-billing happens automatically, but over the past weeks some issues arose with recently-upgraded servers, due to 64-bit incompatibility. After fixing this, one of the DreamHost engineers decided to manually re-bill the past three weeks, except he forgot to change the 2008 to 2007 when he switched to december. Result: Nearly all of the DreamHost customers got invoiced as if today was december 31st 2008, and those that had automatic charging turned on even got charged for this! Several accounts also automatically got suspended because they hadn't paid for too long!

Now, there is no situation possible that I can think of in which you would want to manually re-bill clients from a future date. None at all. But I guess this wasn't spec-ed in too much detail and the developer who made this thought "let's make it flexible". Obviously, it's also the fault of the engineer doing the manual runs, but the original developer is as much at fault here in my humble opinion. Aside from using your head for the code you're writing, also use your head to think about the functionality you're giving to your users.

Luckily, as a post on their weblog shows, it seems they learned their lesson. Now, all of us developers should take up a lesson from this as well. Don't just think about your code, also consider the power you are giving to your users! 


Add comment

Comments

gravatar Thierry Schellenbach: Good point.
I just read the book by 37 signals, guess you would like it :)
January 20, 2008
gravatar Q5Webdesign: Hi,
you are so right! Great lesson thanks
August 21, 2008

Php5_zce_logo

Upcoming events

I will be speaking 17-02-2012: Techademy Trainingday February
I will be speaking 23-02-2012: Zend Webinar: Git for Subversion Users

Tags

1337 2008 2010 2011 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile alfred amsterdam apache api apple article articles atk atkMetaNode audioscrobbler automation azure backwards compatibility barcelona barcodes bash bbc bbq beatstad belgium best practices bittorrent blogging blogs boards of canada book books bughuntday bundle caching cake cal evans calendar career cat cerf certificate cfp clear cms cologne common sense communities community components conference conferences contest continuous integration contribute contribution crisis css custom d-day datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex docblox doctrine documentation download dpc dpc09 dpc10 dpc11 DPC2008 dreamhost drupal dv7 eclipse ed editors efficiency enterprise errors event events expertise ezcomponents facebook finland flickr fork framework frameworks freelance freeze frontend fun game games geoip germany getting real git github gnome-do google google calendar googletalk graceful degradation hack hackers hidden gem hiphop howto hp HR html http i386 ibuildings icann ide ideasofmarch idm imovie indy ingewikkeld integration international php conference internet interview ipad IPC ipc ipc08 ipc10 ipc11se iterm2 javascript jenkins jenkins-php job job openings jobeet john peel joomla joomladays kiva kubuntu launcher launchy left on the web libraries library lighttpd lime linktuesday linux live london loudblog m2ts mac magazines malware mambo marjolein mediterra meeting meme meta methodology micro-financing microframework microsoft migration movie music mysql namespace namespaces netbeans netherlands newsfire nllgg nos odmarco open source opinion ORM osx paradiso paris partnership pavilion pear pecl performance personal pfc10 pfc11 pfcongres pfcongrez pfz photo php php5.3 phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpday phpdoc phpdocumentor phpgg phpitalia phpnw phpnw08 phpnw11 phpstorm phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected prototype PSR-0 public python qa qr codes re2c recruiting refactoring review rewrite ruby on rails san francisco schedule scifi script security sensio seven things sfdaycgn sflive2011 shell scripting silex simplexml slides smfony software sogeti solar sound speakers spl ssh standard standards star trek static steer strings stylesheets subversion symfony symfony live Symfony2 symfonycamp symfonyday symfonylive symfonyUnderControlPlugin talk talks techademy technology techportal tek09 telecommuting terratec terrorism testfest testing textmate textpattern the right tool timeout tips tld todo tomas tools training twig uncon unet usability usergroup validation vhost video vim vinyl virus warp webinar weblogging webservices wiki windows winphp women wordpress work workshop world world of warcraft wpi writing wunderlist xml xpath xsd yara year youtube zc11 ZCE zemanta zend zend framework zend server zend studio zendcon Zend_Form zite
© 2004 - 2012 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1