So I was wondering, Heroku can run multiple dynos to handle a growing number of requests. This scalability is one of the greatest value propositions.
Is it possible to something similar locally? Essentially, I am developing an app and it runs a lot of requests and calculations that I am testing out. For the time being, much of the calculation is run by the rails server, so a request to load a page with sorted material can take a minute or more. Eventually I am going to move these calculations to the background using delayed_job, but I'm still developing my algorithm so I am not trying to make that change yet.
SO what I am wondering is, can I run multiple rails servers so that on one I can click around the website and on the other run these calculations? I tried opening two on different ports, but they don't run well concurrently (to the point of almost not running at all).
Any advice is greatly appreciated!