You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a simple script for reproducing the error.
Compared SSL performance between nginx and swoole.
What did you expect to see?
similar or better performance for swoole
What did you see instead?
with SSL, nginx performance is 3.5x faster than swoole http server (swoole 327 req/s vs. nginx 1193 req/s)
without SSL, nginx performance is 2x slower than swoole http server (swoole 11237 req/s vs. nginx 5589 req/s)
What version of Swoole are you using (show your php --ri swoole)?
swoole 4.4.15 / OpenSSL 1.1.1d
nginx 1.16.1 (nginx:stable-alpine)
php 7.3.13
Docker version 19.03.5
kernel 5.4.7
cpu i5-8250U
What is your machine environment used (including version of kernel & php & gcc) ?
I observe 3-4 times drop in performance when SSL is enabled (using different code, not the example code given). Swoole 4.5.0-alpha (built from master) and PHP 7.4.1
Please answer these questions before submitting your issue. Thanks!
Compared SSL performance between nginx and swoole.
similar or better performance for swoole
with SSL, nginx performance is 3.5x faster than swoole http server (swoole 327 req/s vs. nginx 1193 req/s)
without SSL, nginx performance is 2x slower than swoole http server (swoole 11237 req/s vs. nginx 5589 req/s)
php --ri swoole
)?swoole 4.4.15 / OpenSSL 1.1.1d
nginx 1.16.1 (nginx:stable-alpine)
php 7.3.13
Docker version 19.03.5
kernel 5.4.7
cpu i5-8250U
php.ini
Sample code for swoole http server:
Sample code for nginx/php-fpm server:
nginx.conf
The text was updated successfully, but these errors were encountered: