Too much network latency issue

classic Classic list List threaded Threaded
3 messages Options
adipro adipro
Reply | Threaded
Open this post in threaded view
|

Too much network latency issue

We are having a cluster of 9 nodes. All connected fine in the same network.

There are 5 clients and 4 server nodes.

All the client nodes and 2 of 4 server nodes are in the same data center.
The other two server nodes are in different date center (but in the same
network). There can be some network latency between two data centres.

All the 4 server nodes has full_sync cache operations being executed. The
mode is replication for all caches.

We are finding delays in executions and some warning about some count down
latch on operations not being quick.

Can someone suggest a way how we can try to make it faster without changing
cache config? We need to connect the 2 servers in other DC for disaster
recovery purpose. Can we make the replication happen in only few servers
with fullsync and for other servers in a delayed manner? The clients will
only listen to same DC servers.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
adipro adipro
Reply | Threaded
Open this post in threaded view
|

Re: Too much network latency issue

Can someone please reply to this urgently



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
aealexsandrov aealexsandrov
Reply | Threaded
Open this post in threaded view
|

Re: Too much network latency issue

Hi,

I guess that some of your operations were slow because of load balancer
work. Two ways of affinity calculation exist:

1)If readFromBackup = false then the node with primary partition will be
chosen. Primary can be on different nodes.
2)If readFromBackup = true then the random node will be chosen because of a
load balancer.

Ignite doesn't have data center awareness functionality.

As a WA you can use computes that will be started on some required node.
This compute can use localPeek mode for cache operations:

https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteCache.html#localPeek-K-org.apache.ignite.cache.CachePeekMode...-

For SQL you can use local queries:

https://apacheignite-sql.readme.io/docs/local-queries

BR,
Andei





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