Benchmarking Performance of node.js (cluster) with mysql pools : Lighttpd + PHP?

后端 未结 7 1060
無奈伤痛
無奈伤痛 2020-12-28 12:01

Edit(2): Now using db-mysql with generic-pool module. The error rate has dropped significantly and hovers at 13% but the throughput is still around 100 req/

7条回答
  •  一整个雨季
    2020-12-28 12:37

    Aren't you using 10 maximum MySQL connections in Node.js, and 5000 maximum MySQL connections via PHP?

    While you run your tests on either system, I would take a look at MySQL's "SHOW FULL PROCESSLIST".

提交回复
热议问题