先日ちょっとした機会があってSymfonyとLaravelの負荷テストを行ったことがありましたので、そのときの結果を共有させていただきたいと思います。 テスト環境 EC2: m4.large Amazon Linux: 忘れた Nginx: 忘れた php: 7.2 Laravel: 5.6 Symfony: 3.4 チューニングに関して phpはopcacheを有効にしてvalidateしない設定にしてチューニング。 php-fpmもプロセス管理をオートではなく、dynamicで設定。 max_childrenとかstart_servers, min_spare_serversとかを適宜設定。 システム要件 Nginxサーバでリクエストを受け付けて、同サーバ内のphp-fpmにFatCGI形式で投げる(unixソケット経由)。 Symfony/Laravelは同VPC内の別のAPIサーバ