OpenWISP-User-Management-System icon indicating copy to clipboard operation
OpenWISP-User-Management-System copied to clipboard

Replace Backgroundrb

Open mtylty opened this issue 12 years ago • 6 comments

Backgroundrb is shitty, should we begin considering an alternative? Maybe the next milestone?

mtylty avatar May 03 '12 13:05 mtylty

Backgroundrb isn't actively maintained anymore (AFAIK) but it is still doing its job. What benefits you're seeing in this? What are the alternatives?

dguerri avatar May 09 '12 10:05 dguerri

I vote for Sidekiq. Very simple and efficient. Moreover it seems to be very close to a drop-in replacement for backgroundrb.

dguerri avatar Jan 20 '13 13:01 dguerri

I've read a bit about sidekiq and seems not to be thread safe, do you know if we got some thread unsafe parts in our code? it should be risky if any

AndreaFerraresi avatar Apr 17 '13 10:04 AndreaFerraresi

Actually sidekiq itself is threadsafe. But since it's multithread so we should check our code is thread-safe. OWUMS, OWM and OWGM backgroundrb jobs are really simple so threadsafe-ness shouldn't be a problem...

dguerri avatar Apr 17 '13 10:04 dguerri

Ok seems to be a good option but, OWM must be rewritten in rails 3 in order to use sidekiq i suppose, in this case a refactoring should be useful so why not merge the OWM and OWGM? I will repost this question in OWM soon

AndreaFerraresi avatar Apr 17 '13 10:04 AndreaFerraresi

+1 for the merge!

dguerri avatar Apr 17 '13 10:04 dguerri