A user starts a POST request to a controller, which causes a longer flow of actions, that are network-bound and typically need 2-3 seconds to finish. After that, the user is redirected to a new page to receive the results.
As I understand it, the number of simultanously possible connections in Rails is directly connected to the number of requests blocked inside a controller. Therefore, it would be best to enqueue this action as a job and doing the redirect from there after the job is completed.
This would it make possible, to easily support a magnitude more of simultanous connections, because the handling of those jobs could be offloaded.
Is it possible in Rails, to accomplish this? Alternatively, how is it possible to scale network-bound requests for supporting many multiple simultanous connections ? And please: I don't want the client to poll, that is just not suitable for a modern web framework like RoR.