Ask HN: How can I ensure my Ruby on Rails App will be scalable?
1–10 of 13 posts
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#2Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#3This is the wrong thing to worry about. Scaling problems are EXCELLENT problems.
(in Spanish, "excelente" means "admirable")
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#4A common problem I've observed several times with low-performance frameworks is that you can run into performance pain before you've adequately vetted your project's ability to convert customers. By comparison, a high-performance framework allows you to be experimental and relatively reckless with your application logic. Your application code can be closer to brute-force with a high-performance platform, meaning you can optimize the application code later when the time comes, rather than bringing out the big guns of scalability.
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#5This is the wrong thing to worry about. Scaling problems are EXCELLENT problems.
Probably because my 1st language is Spanish, but what do you mean by EXCELLENT? (in Spanish, "excelente" means "admirable")
If you're bringing in enough customers to cause you scaling problems, then that's a good position to be in.
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#6If you are worried about performance because it nags at you and not because you have a specific known performance pain, I would suggest selecting a higher-performance platform and framework so that you can defer scale concerns until much later. With a high-performance framework, you can build your application with the peace-of-mind that performance won't be a problem unless your product has decent market traction. A…
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#7That 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.)
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#8If you are worried about performance because it nags at you and not because you have a specific known performance pain, I would suggest selecting a higher-performance platform and framework so that you can defer scale concerns until much later. With a high-performance framework, you can build your application with the peace-of-mind that performance won't be a problem unless your product has decent market traction. A…
Which platforms / frameworks would you recommend over Rails ?...
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#9- avoid n + 1 queries - shorten response time as much as possible without caching (focus on good code, avoid logic etc..., least db queries as possible)
- anything that takes longer than 100ms to process I use async processing to handle it.
Re: Ask HN: How can I ensure my Ruby on Rails App will be scalable?
#10https://www.hnsearch.com/search#request/all&q=web+framework+...
Performance really is relative. As they say: "If you always optimize for the future, you will never get there"
Many high end sites are run on rails. Load balancing/clustering will handle most traffic problems you might run in to.