News for hackers. Stuff that matters.
Re:Show HN: Nchan – a pub/sub server as an Nginx module by pablomolnar on Sunday December 06, 2015 @11:05PM (#10687951)
Great project! Is there any concept of ack/nack a message? Let's say the subscriber get a message and failed before processing it. Does the message go back to the queue?
Re:Show HN: Nchan – a pub/sub server as an Nginx module by slact on Monday December 07, 2015 @12:44AM (#10688115)
No, ack/nack would need to be implemented in the client or the application.

However, messages do not disappear from the queue when received. All subscriber requests are idempotent, and can be repeated so long as the message queue is storing the message (which is a configurable parameter). So if a subscriber failed before processing it, it's free to request the same message again.