OpenWISP-User-Management-System
OpenWISP-User-Management-System copied to clipboard
Replace Backgroundrb
Backgroundrb is shitty, should we begin considering an alternative? Maybe the next milestone?
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?
I vote for Sidekiq. Very simple and efficient. Moreover it seems to be very close to a drop-in replacement for backgroundrb.
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
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...
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
+1 for the merge!