Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Re^2: Message Queue library

by pwagyi (Monk)
on Jun 22, 2018 at 08:23 UTC ( [id://1217169] : note . print w/replies, xml ) Need Help??

in reply to Re: Message Queue library
in thread Message Queue library

Sorry for the late reply. The events (SendDataEvent and OnDataReceived) are not in the same process. The producer can produce data and add to queue at any time And reply may be received after an hour or a day... so I've background job to fetch replies and triggers (OnDataReceived)...

That's why I think I need persistence queue with some locking mechanism. Since there is potential that reply is received while new Data is generated, etc.