Parallelizing methods in Rails

后端 未结 4 690
盖世英雄少女心
盖世英雄少女心 2021-02-07 06:42

My Rails web app has dozens of methods from making calls to an API and processing query result. These methods have the following structure:

def method_one
  batc         


        
4条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 07:35

    You can take a look at a new option in town: The futoroscope gem. As you can see by the announcing blog post it tries to solve the same problem you are facing, making simultaneous API query's. It seems to have pretty good support and good test coverage.

提交回复
热议问题