First question on stackoverflow. I have no previous experience of running a high traffic website and I would consider myself somewhere in between a novice and an intermediate programmer....please be gentle :)
I am trying to make a social website that I ultimately hope will handle a lot of traffic and users. However, I don't know if the concept will fly and programming for scalability is a lot of additional work compared to slapping some sloppy code together that functionally works the same way. In addition, since I'm relatively uninformed about programming for high scalability, I find myself doing a lot of research which is further slowing me down (highscalability.com is amazing...I'm currently trying to figure out offline queues)
My question is, should I:
A)
1. put together some code that's suboptimal but functional (somewhat sloppy code, excessive database queries, no caches, etc.)
2. work on gathering traffic
3. rewrite and restructure code
or
B)
1. fully research scalable designs and apply from the beginning so I don't have to restructure much
2. work on gathering traffic
Any advice is appreciated, thank you.