[zeromq-dev] Malamute Users - Service Requests API

Osiris Pedroso opedroso at gmail.com
Wed May 4 13:02:21 CEST 2016


Thanks for the clarification.


On Tue, May 3, 2016 at 2:51 PM Michal Vyskocil <michal.vyskocil at gmail.com>
wrote:

> Hi,
>
> There is nothing like that in malamute broker as far as I know.
>
> You would need to design a custom protocol between client and service to
> do so.
> Dne 3. 5. 2016 8:04 PM napsal uživatel "Osiris Pedroso" <
> opedroso at gmail.com>:
>
> Either that or a heartbeat which would reset the timeout timer.
>>
>> This would also require an API to confirm that a service request
>> completed with success or failure status.
>>
>> Only then the service request would be removed from requests queue.
>>
>> If timeout is reached, the request would become active/visible again, and
>> delivered to next available worker, since it would now be the oldest
>> request still on the queue.
>>
>> Standard message broker behavior, I tought.
>>
>> Sent from my iPad. Regularly foiled by autocorrect. But duck it..
>>
>> On May 3, 2016, at 12:11, Michal Vyskocil <michal.vyskocil at gmail.com>
>> wrote:
>>
>> Hi,
>>
>> By timeout you mean that client expects an answer for service request in
>> $foo seconds?
>> Dne 2. 5. 2016 1:15 PM napsal uživatel "Osiris Pedroso" <
>> opedroso at gmail.com>:
>>
>>> Hi,
>>>
>>> I am new to Malamute and wanted to exchange words with some other user
>>> of the Service Requests API in Malamute.
>>>
>>> Malamute being a message broker, I expected to find some sort of timeout
>>> and/or retry logic for in-flight service requests, but from the API I don't
>>> think those exist.
>>> I wonder how people use the Service Request API to accomplish that.
>>>
>>> Thanks,
>>> Osiris
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160504/da04d093/attachment.htm>


More information about the zeromq-dev mailing list