background is that we're running REST API servers with nginx+php-fpm, with haproxy as the load balancer. issue is that we're getting 502 issues sometimes when on heavy loading.
my question is that, which one would be better?
- 16 servers with 4 GB 2 core
- 8 servers with 8 GB 4 core
the price is the same, so which one would work better? more servers (16 servers)? or stronger servers (8 servers)?
Thanks