"be consistent" | |
PerlMonks |
Re^2: Message Queue libraryby pwagyi (Monk) |
on Jun 22, 2018 at 08:23 UTC ( [id://1217169]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|