Sidekiq job-queue persistency

146 views
Skip to first unread message

Hardik Joshi

unread,
Apr 16, 2015, 1:27:00 AM4/16/15
to sid...@googlegroups.com
I am planning to use sidekiq with rails in one of my projects. But the requirement is such that I after I en-queue any job I cannot afford to loose any job from the queue. That is in any case if the machine crashes or any other issue job shouldn't get lost. It's ok if it fails but it should be persisted somewhere. 

so my question are as follows
1. Where does sidekiq save the job when it is queued (when we call 'perform_async') ?
2. Will this job remain in queue if my machine get crash/restarted?
3. From what I've researched is sidekiq uses redis for queuing. Does it uses AOF persistence or  RDB persistence approach?

Thank you for your time.

Mike Perham

unread,
Apr 16, 2015, 11:02:27 AM4/16/15
to sid...@googlegroups.com
If you need crash reliability, you'll need Sidekiq Pro. Sidekiq pops the job out of Redis so it will be lost if the process crashes.

How you configure Redis persistence is up to you. Sidekiq does not require any particular persistence strategy. 

Mike
--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+u...@googlegroups.com.
To post to this group, send email to sid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/c4d01bc8-1767-4c32-a7ef-a960a2df1c05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages