[zeromq-dev] when I connect a socket, is there something that goes on the wire ?
Laurent Alebarde
l.alebarde at free.fr
Fri Jul 5 12:50:20 CEST 2013
Thanks a lot Pieter
Le 05/07/2013 12:17, Pieter Hintjens a écrit :
> Laurent,
>
> Yes, there is a handshake when a connection is established, but it's
> totally insignificant, especially for a server that gets clients
> connecting at different moments. You could create a spike in network
> use if you made a thousand connections at the same instant, but that's
> not how it works with servers.
>
> You can read exactly what happens in the protocol spec at
> rfc.zeromq.org/spec:23.
>
> -Pieter
>
>
> On Fri, Jul 5, 2013 at 12:12 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
>> Hi list,
>>
>> When I connect a socket (zsocket_connect), is there something that goes on
>> the wire before any send/receive command (zmsg_recv, zmsg_send) is issued ?
>>
>> In other words, is there a cost for a server to have hundreds or thousands
>> of clients that connect to it when communications occur ?
>>
>> Cheers,
>>
>>
>> Laurent.
>>
>>
>> _______________________________________________
>> 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/20130705/b553ab00/attachment.htm>
More information about the zeromq-dev
mailing list