You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by monstereo <me...@gmail.com> on 2018/07/20 10:57:50 UTC

Re: What is the difference between TcpCommunicationSpi & TcpDiscoverySpi ?

Is there anyone who can answer?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: What is the difference between TcpCommunicationSpi & TcpDiscoverySpi ?

Posted by Mikhail <mi...@gmail.com>.
localportrange means the same for discovery and for communication, it defines
the range from which node will choose a port to bind.
For example, you have 47100 - discovery port and localportrange 100, it
means that if you run 10 nodes, first will take 47100, second 47101 and so
on, but this means that you can run only 100 node. because ignite node can
take only port between [47100..47199]



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: What is the difference between TcpCommunicationSpi & TcpDiscoverySpi ?

Posted by monstereo <me...@gmail.com>.
Then localportrange in tcp communication determines how many nodes will
communicate each other?

Because in tcp disvocery, each node is getting different port number with
range specifies in localportrange

Mikael wrote
> https://stackoverflow.com/questions/37936833/difference-between-tcpcommunicationspicommunicationspi-and-tcpdiscoveryspidis
> 
> 
> Den 2018-07-20 kl. 12:57, skrev monstereo:
>> Is there anyone who can answer?
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>>





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: What is the difference between TcpCommunicationSpi & TcpDiscoverySpi ?

Posted by Mikael <mi...@telia.com>.
https://stackoverflow.com/questions/37936833/difference-between-tcpcommunicationspicommunicationspi-and-tcpdiscoveryspidis


Den 2018-07-20 kl. 12:57, skrev monstereo:
> Is there anyone who can answer?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
>