Re:Ask HN: How can I ensure my Ruby on Rails App will be sca...
by dragonwriter on Sunday July 28, 2013 @10:16PM
(#6119010)
> What steps can I take while I write my web app from scratch right now, to ensure that it scales beautifully when it is launched?
That question is far to generic to have a useful answer. If you want to know how to design for scalability, you need to be more specific about what needs to scale and how than just "a Ruby on Rails web app".
There are a number of different things that can scale in an application, and what you need to make one of them scale well may be counterproductive to scaling another one.
OTOH, you are probably worrying about scalability at exactly the wrong time. You either should have a clear problem to address (which you haven't yet reached), or if you know what your scalability concern is before you've started writing your app (much less encountered an actual pragmatic problem), you should be asking that question before you choose the implementation language and framework (since particular choices there may be part of the solution.)
That question is far to generic to have a useful answer. If you want to know how to design for scalability, you need to be more specific about what needs to scale and how than just "a Ruby on Rails web app".
There are a number of different things that can scale in an application, and what you need to make one of them scale well may be counterproductive to scaling another one.
OTOH, you are probably worrying about scalability at exactly the wrong time. You either should have a clear problem to address (which you haven't yet reached), or if you know what your scalability concern is before you've started writing your app (much less encountered an actual pragmatic problem), you should be asking that question before you choose the implementation language and framework (since particular choices there may be part of the solution.)