How can you determine how much load a Rails application is in automatic mode?
We have a number of applications that we host on services like Heroku that can scale up and down on demand.
What we would like to get is a management tool that determines how much load is in a particular application so that it can automatically scale the application based on needs.
What are the best ways to detect application load in such a way that we can easily act on this data?
source to share
With a "normal" system, you can use SysUtils to boot the system and do whatever you want to do with it.
But on Heroku, you're not on a "normal" system. Therefore, you cannot directly rely on system overload. And their API doesn't offer any tool to detect this.
One solution I see would be to use the New Relic API to detect when your application is particularly slow and is the last to act.
source to share