When "clever" goes wrong: how Etsy overcame poor architectural choices
Good case of avoiding early optimization but hard to believe in 2005 someone thought it was a good idea to build your business rules in your database layer.