Mass API calls in Rails

I have two different Rails applications talking to each other through API calls. Gone are the days when the call was easy, which means there was much less data transfer. We never cared about HTTP request / response request problems. But as soon as the data grew, there were timeouts, and we had to split the data and send it to the parties, rather than a direct API call.

We are currently doing what we need using Threading and Background job, which, in my opinion, are not a cleaner way, and I have to say that performance has been hit hard. I feel that I don't have many options. Any suggestions?

+3
source share
1 answer

, :

, Resque, , ( , .)

, , ActiveResource, , show , , , index , .

+3

All Articles