6 ms·
"It was clear that Ruby was a bottleneck here and we started looking at the alternatives." , how did you arrive at Ruby being the bottleneck ? not questioning y
by rammy1234 8y ago
"It was clear that Ruby was a bottleneck here and we started looking at the alternatives." , how did you arrive at Ruby being the bottleneck ? not questioning your work here but curious to understand what part of Ruby was causing the performance issues.
Question is How a programming language becomes a bottleneck ? Also my understanding ( correct me if i am wrong here) Rust is more of a systems programming with low level access. Just trying to be curious with performance issues pointed out to a programming language ?
- casper345 8y agotl;dr important to know the engine behind the languages This might not be the reason for the author, but for me I understood Ruby limitation with ruby global interpreter lock. For smaller applications I knew this wouldnt be an issue, but when my applications began slowing down I would check the processes and understand that my Rails application are operating only on one single thread. Then I access if I should keep try optimizing or if something like Elixir is a better solution. Same process with JS
- rammy1234 8y agoso in which case, is it safe to say some languages( in this case Ruby) are not cut out for high performance at their root. And in which case we should not opt for such languages when we know we have to scale at some point. Is this right way to think about this ? moving to another language at the point when you have to scale is a costly affair to rewrite , isn't it ?