This is our current setup running Pimcore 5: 3 EC2 instances (m5.xlarge) x 3 docker containers each. We have a shared folder between them (everything inside var/), all assets (images, css, js files) are stored on cloudfront. Sometimes after deploy, bin/console becomes unresponsive and server goes into 500 error. The only solution we found so far is to manually delete the cache folder (rm -rf var/cache/) and then both website and bin/console come back again, the cache being rebuilt.
Except this, we are using New Relic to monitor our website and the results are not great. App server is fine, but page view is not (please check attached screenshot). I was wondering if any of you can help with recommendations - what are we doing wrong? I imagine Pimcore should be capable of handling much more traffic.