31 ms·
I don’t think Sidekiq/Resque are trying to get concurrency right. I’ve run a number of async processing workloads using a variety of Ruby out of the box and fra
by rubyfan 4y ago
I don’t think Sidekiq/Resque are trying to get concurrency right. I’ve run a number of async processing workloads using a variety of Ruby out of the box and framework features - as well as Java, Scala concurrency features/frameworks. Any of the low level stuff really isn’t designed for the kind of higher functionality you get from something like a Sidekiq or Resque. Honestly for implementing any workload that needs consistency, durability or execution guarantees you need something more complicated than what any language’s out of the box concurrency model gives you. Even the frameworks like EventMachine or Akka help with programming abstraction and the concurrent execution but they don’t really solve high level job/queue features. They are just different tools that solve different problems.