# Problem in the distrubution of traffic in PXC cluster

**URL:** <https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893>\
**Category:** Percona Server for MySQL 5.7\
**Tags:** percona\
**Created:** [August 24, 2021, 8:57am UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893 "2021-08-24T08:57:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAGGI](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MAGGI](https://forums.percona.com/u/MAGGI)\
**Post date:** [August 24, 2021, 8:57am UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893/1 "2021-08-24T08:57:37Z")

</div>

we have a cluster PXC that have 5 nodes, and those nodes does not share the same traffic only 2 of them that has the traffic, so what could be the problem, is there any algorithme that does this distrubution, is it based on something ?

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 24, 2021, 2:32pm UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893/2 "2021-08-24T14:32:12Z")

</div>

Hello @MAGGI,  
Do you have a load-balancer or proxy between application and PXC? If you do not, then you will only see data going to those nodes that the application connects.

---

<div class="post-metadata">

**Author:** ![MAGGI](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MAGGI](https://forums.percona.com/u/MAGGI)\
**Post date:** [August 24, 2021, 2:33pm UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893/3 "2021-08-24T14:33:53Z")

</div>

yes, we are in azure, so we have a load balancer where the cluster exist

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [August 25, 2021, 2:20pm UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893/4 "2021-08-25T14:20:43Z")

</div>

Hi, you should review the load balancer configuration, what are the health checks in use?

---

<div class="post-metadata">

**Author:** ![MAGGI](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MAGGI](https://forums.percona.com/u/MAGGI)\
**Post date:** [August 26, 2021, 9:26am UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893/5 "2021-08-26T09:26:25Z")

</div>

hello, in the health probe of Load balancer we have two health checks, one with xinetd-mysql in port 9500 with protocol http, and the other mysql in port 3306 with protocol TCP

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 26, 2021, 2:34pm UTC](https://forums.percona.com/t/problem-in-the-distrubution-of-traffic-in-pxc-cluster/11893/6 "2021-08-26T14:34:06Z")

</div>

@MAGGI What is the configuration of the load balancer? Can you see all nodes in healthy state through the LB? Is the LB configured to round-robin style? All the applications go through this LB? If so, then it sounds like you have a misconfiguration in your LB that does not spread the load evenly across all of the pool members.
