I have two different Rails application speaking with each other through API calls. Gone were the days where the call was light, meaning there was much less data transfer. We never cared about the HTTP request/response timeout issues. But once the data grew, there were timeouts and we had to split data and send it in Batches as opposed to a direct API call.
Currently, we are doing what is needed using Threading and Background job which underneath I feel is not the cleaner way and I'd have to say that performance has taken a huge hit. I feel like I don't have many options. Any suggestions?