On 6 nodes the "get_node_networks" function is called 216 times. For 5 nodes - it's 155, and for 4 - 104. Obviously, we have an algebraic progression here. I'm thinking how to remove the call numbers.
Meantime, we have a mule.. I don't understand why our API is unresponsive. The logs you have provided doesn't contain a lot of information. For instance, uwsgi.log and nginx_access.log are empty.
I've found the reason why it works slow -
6 0.000 0.000 6.323 1.054 /home/ikalnitsk y/devel/ fuel-web/ nailgun/ nailgun/ orchestrator/ neutron_ serializers. py:951( network_ provider_ node_attrs) y/devel/ fuel-web/ nailgun/ nailgun/ network/ manager. py:701( get_node_ networks) y/devel/ fuel-web/ nailgun/ nailgun/ network/ manager. py:665( get_node_ network_ by_netname)
216 0.007 0.000 6.222 0.029 /home/ikalnitsk
210 0.001 0.000 6.027 0.029 /home/ikalnitsk
On 6 nodes the "get_node_networks" function is called 216 times. For 5 nodes - it's 155, and for 4 - 104. Obviously, we have an algebraic progression here. I'm thinking how to remove the call numbers.
Meantime, we have a mule.. I don't understand why our API is unresponsive. The logs you have provided doesn't contain a lot of information. For instance, uwsgi.log and nginx_access.log are empty.