开发者

is Ruby really not scalable? or just Ruby on Rails? [duplicate]

开发者 https://www.devze.com 2023-02-08 10:27 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: Ruby on Rails scalability/performance?
This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Ruby on Rails scalability/performance?

I'm aware from the twitter shortages that Ruby on Rails can sometimes prove difficult when scalability becomes an issue. I'm wondering though.. Ruby on it's own.. does开发者_开发问答 it lack scalability?


Ruby is a general-purpose language.

There is nothing more or less scalable about Ruby than C#, Java, Python, "general purpose language X" or even Haskell (although some argue that code which is forced to be side-effect free is more scalable; this doesn't preclude writing code with only localized effects in Ruby, e.g). [Note that I have excluded languages explicitly designed to be massively-distributed scalable such as Erlang or those that use MPI for the sake of keeping the argument simple].

Remember that Ruby on Rails is just one framework for one environment that follows one approach.


See Ruby on Rails scalability/performance?, read Keith's answer. This is very opinionated, but Twitter seems to be an example of how to design a system that doesn't scale. I don't think their issues are predominantly in their choice of language.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号