Scaling an application or an organization generally involves exchanging developer productivity for scale. Here are some ideas about how to make those tradeoffs less painful.