[zeromq-dev] Consult one design

Pieter Hintjens ph at imatix.com
Sun Mar 16 13:45:03 CET 2014


Wesley, you should please read the Guide and work through the examples.


On Sun, Mar 16, 2014 at 1:13 PM, Wesley <nispray at gmail.com> wrote:

> Anybody in this google group?
>
> 在 2014年3月12日星期三UTC+8下午11时03分27秒,Wesley写道:
>>
>> Hi guys,
>>   Here I wanna consult one zeromq mode design.
>> I have one GW(HTTP server) and 2 or more TCP servers, GW accepts http
>> requests and forwards taks to tcp servers via message queue.
>> Then, tcp servers accept tasks and execute the task.
>>
>> The point here is, tcp server keep long connections with other devices,
>> say, maybe cell phones.
>>
>> So, when GW forwards task(it can read http request and determine which
>> cell the current request is to), it should determine which tcp server to
>> send(assume, I have a redis storing which tcp server every cell is
>> connecting to).
>>
>> So, what modes I should use?
>> We require that, if one tcp server is not available, the message sent to
>> it shouldn't be lost.
>> Here is my design, correct?
>>
>> <https://lh6.googleusercontent.com/-SHqT1bXFDUc/UyB3McSEgdI/AAAAAAAAAE0/aWCHVX-xYCE/s1600/%E7%BB%98%E5%9B%BE1.png>
>>
>>
>>
> _______________________________________________
> 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/20140316/f2c529bd/attachment.htm>


More information about the zeromq-dev mailing list