[zeromq-dev] Stateless service protocols

picflo_2 at web.de picflo_2 at web.de
Mon Jul 3 15:57:35 CEST 2017


Hi,
 
my setup looks like this, where the number of instances is setup using docker swarm scaling https://docs.docker.com/engine/swarm/swarm-tutorial/scale-service/
Redis <-> db_instances <-> scheduler <-> worker
 
Every instance runs inside a docker container and at the moment there is only one redis instance. I intend to move to a redis cluster setup at some point. I am using
db_instances:router  <-> scheduler:dealer scheduler:router <-> worker:dealer socket setup.
 
Currently I connect the dealer sockets like this tcp://scheduler:5000, and docker swarm automatically directs the message to one out of the set of scaled scheduler services.
It is possible to connect directly to one instance of scheduler, tcp://scheduler.1:5000 with that would i t make sense to have one socket per connected service instance?
And then using a LRU scheduling approach to direct my requests?
 
I hope that my setup became clearer.
 
Thanks 
 
 
Gesendet: Sonntag, 02. Juli 2017 um 12:00 Uhr
Von: zeromq-dev-request at lists.zeromq.org
An: zeromq-dev at lists.zeromq.org
Betreff: zeromq-dev Digest, Vol 16, Issue 2
Send zeromq-dev mailing list submissions to
zeromq-dev at lists.zeromq.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
or, via email, send a message with subject or body 'help' to
zeromq-dev-request at lists.zeromq.org

You can reach the person managing the list at
zeromq-dev-owner at lists.zeromq.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of zeromq-dev digest..."


Today's Topics:

1. Re: [ANN] JeroMQ 0.4.2 - A pure Java clone of libzmq
(Trevor Bernard)


----------------------------------------------------------------------

Message: 1
Date: Sat, 1 Jul 2017 08:49:03 -0400
From: Trevor Bernard <trevor.bernard at gmail.com>
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
Subject: Re: [zeromq-dev] [ANN] JeroMQ 0.4.2 - A pure Java clone of
libzmq
Message-ID:
<CAGGWQ++59w+ioJrv5DJmiVn2Or5TQJ5yXv8R+OOFWWGukOB6=A at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Yes, I found a pure Java port of NaCl with a good license.

On Jul 1, 2017 9:58 AM, "Doron Somech" <somdoron at gmail.com> wrote:

Amazing, I want to do that for NetMQ for a long time.

Does the libsodium implementation is also pure Java?

On Fri, Jun 30, 2017 at 4:36 PM, Luca Boccassi <luca.boccassi at gmail.com>
wrote:

> On Fri, 2017-06-30 at 09:20 -0400, Trevor Bernard wrote:
> > > Is the CURVE implementation fully inter-operable with libzmq?
> >
> > Yup, it's fully interoperable.
>
> Fantastic, thanks!
>
> --
> Kind regards,
> Luca Boccassi
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev[https://lists.zeromq.org/mailman/listinfo/zeromq-dev]
>


_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev[https://lists.zeromq.org/mailman/listinfo/zeromq-dev]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170701/35025fe7/attachment-0001.html[https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170701/35025fe7/attachment-0001.html]>

------------------------------

Subject: Digest Footer

_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev[https://lists.zeromq.org/mailman/listinfo/zeromq-dev]


------------------------------

End of zeromq-dev Digest, Vol 16, Issue 2
*****************************************



More information about the zeromq-dev mailing list