Would WAS compilation help solve the ruby / rails timeout problem?
https://devcenter.heroku.com/articles/h12-request-timeout-in...
> H12 - Request Timeout in Ruby (MRI)
> Rack-timeout limitations
> Due to the design of the Ruby programming languageās Thread#raise API, which timing out code depends on, there is a known bug with rack-timeout that can put your app into a bad state if rack-timeout fires too frequently.