在我的Ruby on Rails应用程序中,我使用shoryouken进行后台处理.我的应用程序中有很多sqs队列(6-7).其中一个队列有2000-3000个作业,工作人员需要大约3个小时来处理这些2-3k个作业,默认并发数为25.因此,根据哪些因素,我们可以决定增加并发性(即处理作业的线程).如果问题中有任何不清楚的地方,请发表评论.
concurrency multithreading ruby-on-rails background-process shoryuken
background-process ×1
concurrency ×1
multithreading ×1
ruby-on-rails ×1
shoryuken ×1