title: When is a good time to start thinking about scaling?
body: <p>I've been designing a site over the past couple days, and been doing some research into different aspects of scaling a site horizontally.  If things go as planned, in a few months (years?) I know I'd need to worry about scaling the site up and out, since the resources it would end up consuming would be huge.</p>
  
  <p>So, this got me to thinking, when is the best time to start thinking about, and designing for, scalability?  If you start too early on, you could easily over complicate your design, and make it impossible to actually build. You could also get too caught up in the details, the architecture, whatever, and wind up getting nothing done.  Also, if you do get it working, but the site never takes off, you may have wasted a good chunk of extra effort.</p>
  
  <p>On the other hand, you could be saving yourself a ton of effort down the road.  Designing it from the ground up to be big would make it much easier later on to let it grow big, with very little rewriting going on.</p>
  
  <p>I know for what I'm working on, I've decided to make at least a few choices now on the side of scaling, but I'm not going to do a complete change of thinking to get it to scale completely.  Notably, I've redesigned my database from a conventional relational design to one similar to what was suggested on the Reddit site linked below, and I'm going to give memcache a try.</p>
  
  <p>So, the basic question, <strong>when is a good time to start thinking or worrying about scaling, and what are some good designs, tips, etc. for when doing so?</strong></p>
  
  <p>A couple of things I've been reading, for those who are interested:</p>
  
  <p><a href="http://www.codinghorror.com/blog/2009/06/scaling-up-vs-scaling-out-hidden-costs.html" rel="nofollow noreferrer">http://www.codinghorror.com/blog/2009/06/scaling-up-vs-scaling-out-hidden-costs.html</a></p>
  
  <p><a href="http://highscalability.com/blog/2010/5/17/7-lessons-learned-while-building-reddit-to-270-million-page.html" rel="nofollow noreferrer">http://highscalability.com/blog/2010/5/17/7-lessons-learned-while-building-reddit-to-270-million-page.html</a></p>
  
  <p><a href="http://developer.yahoo.com/performance/rules.html" rel="nofollow noreferrer">http://developer.yahoo.com/performance/rules.html</a></p>