[zeromq-dev] programmable message routing

Erich Heine sophacles at gmail.com
Thu Jan 22 14:57:44 CET 2009


On Thu, Jan 22, 2009 at 5:14 AM, Ferenc Szalai <szferi at wsbricks.com> wrote:

>
> To be honest it was just a toy scenario :) My original idea was to
> implement Amazon SQS like message routing:
>
>
> http://docs.amazonwebservices.com/AWSSimpleQueueService/2008-01-01/SQSGettingStartedGuide/
>
>
>
Hi Ferenc,

My understanding is SQS is a job server.  The semantics are such that each
client can request a job (a message representing one unit of work) from the
server, and run it. During this time, the job is locked for other clients,
ensuring that each unit of work is done once. There are other transaction
semantics in there, such as timeout, and rollback (replace a job that fails
on client x).

If the above description is correct, you may wish to look at
http://xph.us/software/beanstalkd/ which implements those semantics already,
and is pretty darn fast. My current understanding of 0MQ is that it would be
kind of a pain, as the basic semantics are more message bus oriented (anyone
on the bus gets the message).

Regards
Erich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090122/58473de4/attachment.htm>


More information about the zeromq-dev mailing list