I\'m running a rails app, which has a json webservice call from a local client developed in c++ (a post command with a multipart json form, uploading a streamed file)
<I've ended using delayed job + workless, and now my worker dynos only run when they need to.
As heroku has the free 750 hours free per app plan, when you have low usage, you might be able to keep using it for free.
the suggestion is: use a background process!
i read that you want to avoid it, but there is no way around it! it is a best practice in web-apps to return to the client as fast as possible, because it frees up resources. when you have just one dyno running at heroku and you have multiple requests, they will get blocked for your timeout and no user is able to access your page. you can easily have denial of service cases when you have such longrunning processes.
in case you do not want to do background processes because of the cost, have a look at freemium: https://github.com/phoet/freemium