I have had to help scale a large scale Rails app and break it apart about 5 years ago. 500k requests per minute. That was tough. A lot of the features that Shopify and Github have upstreamed since then would have helped a lot and to be honest it is a lot easier to scale now with Rails because of those upstreamed features. Like multiple databases, viewcomponents, etc.