Home > front end >  Dream big, why pressure test TPS Haproxy cluster than single
Dream big, why pressure test TPS Haproxy cluster than single

Time:09-17

Recently developed an interest in clusters, in huawei cloud built a nuclear free 2 - + 4 g server, the other to buy two of the same configuration server,
Do TPS contrast tests.

Three devices

A A Haproxy + openresty web2 2 nuclear + 4 g
B openresty web3 2 nuclear + 4 g
C openresty web1 2 nuclear + 4 g

Using the ab test

Group A + B + C, pressure measuring the uri http://121.37.130.1:10080/index.html
Test results of TPS 9300

Group C + B pressure measuring the uri http://121.37.130.1:10080/index.html
Test results of TPS 10385

Separate for pressure measurement, A uri http://127.0.0.1:80/index.html
Test results of TPS 25686

Haproxy configuration

Openresty configuration

The results I after many tests, error within the scope of the 100,

cluster, pressure measurement results worse than single!!!!!
cluster, pressure measurement results worse than single!!!!!
cluster, pressure measurement results worse than single!!!!!

Must be where I am wrong,

I'm surprised, I read a lot of information, not to the purpose, there are big dick can you help me to reassure?

CodePudding user response:

I can recover?
  • Related