Closed win32nipuh closed 8 years ago
1) Your best bet is probably the WORKING command. 2) The NACK command, and making sure that app1 "crashes" in a healthy enough way to be able to send one. 3) Enable disk persistence.
Regarding #1 & #2, from the README: "Disque implementation of at least once delivery semantics is designed in order to avoid multiple delivery during certain classes of failures. It is not able to guarantee that no multiple deliveries will occur."
Also, GETJOB WITHCOUNTERS and SHOW may be helpful in making a decision about accepting a job or not.
About '2', note that even without NACK
the job will be delivered again if not acknowledged.
Simple example, given: 2 applications processing jobs 1 disque server
app1 gets the next job Job1 to process and it can take 10 minutes
Thanks