iron_mq_php icon indicating copy to clipboard operation
iron_mq_php copied to clipboard

Sequential push messages

Open juanjolainez opened this issue 10 years ago • 3 comments

Hello,

I am using Iron.io's push queues and I found out that messages are not pushed sequentially. I mean, I need a process to end to start (and to be pushed) another one.

The current behavior is that a message is pushed before the previous one has ended. Is there any way to prevent this behavior?

juanjolainez avatar May 06 '14 16:05 juanjolainez

No, messages are pushed as they come in, concurrently, we don't wait for one request to finish before sending the next one.

treeder avatar May 06 '14 16:05 treeder

Is there any way to force it?

juanjolainez avatar May 06 '14 16:05 juanjolainez

No, but you can poll instead of push then you can control it.

treeder avatar May 06 '14 17:05 treeder