Re: [EM] EventMachine-based task broker

2016-07-22 Thread James Tucker
Yes, I mean blocking io. On Jul 21, 2016 11:35 PM, "Arindam Mukherjee" wrote: > You mean doing blocking I/O in the worker threads? Or using EventMachine > somehow? Sorry for not understanding. > > On Friday, 22 July 2016 11:51:48 UTC+5:30, raggi wrote: >> >> Why not

Re: [EM] EventMachine-based task broker

2016-07-22 Thread Arindam Mukherjee
You mean doing blocking I/O in the worker threads? Or using EventMachine somehow? Sorry for not understanding. On Friday, 22 July 2016 11:51:48 UTC+5:30, raggi wrote: > > Why not just use Ruby's Queue class, and do io in your worker threads, > sizing your pool appropriately to fill cpu while