Hi Jeff

Today, we use proxy nodes with php, and we are migrating from php to java.
Our farm of php servers is made of 80 physical servers, all of them having
a local proxy node.

So our cassandra cluster is made of :
- DC1 : 6 data nodes + 40 proxies
- DC2 : 6 data nodes + 40 proxies

During our tests with java, we still have our 80 proxy nodes.
We have defined 4 of them as contact point,  also being in a whitelist
policy.

Le ven. 13 oct. 2023 à 01:27, Regis Le Bretonnic <
r.lebreton...@meetic-corp.com> a écrit :

> Hi Stefan,
>
> Your analysis is exactly what happen !
> What I can say is that we are migrating from php to java and the behaviour
> of the php (or cpp) driver is completely different.
>
> * The topology of the cassandra cluster returned by the contact point with
> the php driver includes data nodes + proxy nodes.
> * The topology of the cassandra cluster returned by the contact point
> with the java driver only includes data nodes and there is a control based
> on system.peers table.
>
> If this helps, proxy nodes are part of gossip and participate to
> handshakes. They can be listed with "nodetool gossipinfo" (but I don't find
> a system table having this information)  but they are not listed with
> "nodetool status" and are not registered in system.peers.
>
> The challenge is probably to understand how the php driver achieve to have
> a full list with proxy nodes.
>

Reply via email to