On Apr 6, 2011, at 4:06 AM, Alexey Muranov wrote: > I think i understand David's point: "scalable" is true or false.
I'm not sure that is Davids point at all. It sounds like he has experience with building scalable applications and notices that some best practices for scalability like UUID primary keys are not the default way in Rails. It seems to me that he is more than sophisticated enough to realize that scalability isn't a binary choice. > Could be nice if scalability was planned for from the beginning. I think there are some architectural defaults that could be changed which would help, but scalability is so large, complex and specific to a given use case I don't think there's any way to "just build scalability in". > I do not know anything about it, but i hope that the issue discussed > here is only about Rails, i hope that Ruby can be used for scalable > applications. Rails has some conventions which are not optimal for scaling certain types of applications. All languages can be used for scalable applications - although you need to look at the performance characteristics at runtime for a given application. The main issue for scaling with Ruby is that it's an OO rather than functional language which raises fundamental issues in managing mutable state. You can work around that by writing Ruby in a more functional style and using architectural patterns that don't depend on such shared state. I think a way more interesting question is whether Rails is productive than whether it is scalable. I would much rather build something quickly in a productive framework and then revisit parts of the app if scale became a concern than spend way more to build a scalable app that nobody ends up using. I use Rails for it's productivity and am enjoying it more with each project I deliver. Best Wishes, Peter > > Alexey. > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

