Prestashop LiteSpeed + LiteCache vs Apache2 + FullPageCache – Speed TEST

P

Configurazione Server:

apws (server Apache2)

Apache2

4 core 4GB RAM

PHP7.2-FPM

Pretashop 1.7.6.9 + Full Page Cache Plugin 1.4

lsws (Server LiteSpeed)

Litespeed Enterprise

1 core 2Gb RAM

LSPHP72

Prestashop 1.7.6.9 + LiteCache Plugin 8.1.2

Apache Benck Test

ab -k -n 1000 -c 20 https://lsws

Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests

Server Software: nginx/1.18.0
Server Hostname: lsws
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
Server Temp Key: X25519 253 bits
TLS Server Name: lsws

Document Path: /it/
Document Length: 457133 bytes

Concurrency Level: 20
Time taken for tests: 3.953 seconds
Complete requests: 1000
Failed requests: 0
Keep-Alive requests: 0
Total transferred: 457467000 bytes
HTML transferred: 457133000 bytes
Requests per second: 252.96 [#/sec] (mean)
Time per request: 79.064 [ms] (mean)
Time per request: 3.953 [ms] (mean, across all concurrent requests)
Transfer rate: 113009.16 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 5 4.9 4 43
Processing: 4 73 38.9 69 368
Waiting: 2 36 20.6 33 129
Total: 7 78 39.0 74 370

Percentage of the requests served within a certain time (ms)
50% 74
66% 88
75% 98
80% 107
90% 128
95% 148
98% 174
99% 190
100% 370 (longest request)

ab -k -n 1000 -c 20 https://apws

Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests

Server Software: nginx/1.18.0
Server Hostname: apws
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
Server Temp Key: X25519 253 bits
TLS Server Name: apws

Document Path: /it/
Document Length: 467368 bytes

Concurrency Level: 20
Time taken for tests: 39.416 seconds
Complete requests: 1000
Failed requests: 0
Keep-Alive requests: 0
Total transferred: 467871000 bytes
HTML transferred: 467368000 bytes
Requests per second: 25.37 [#/sec] (mean)
Time per request: 788.325 [ms] (mean)
Time per request: 39.416 [ms] (mean, across all concurrent requests)
Transfer rate: 11591.81 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 3 3.4 2 30
Processing: 177 780 160.3 794 1432
Waiting: 171 778 160.2 792 1431
Total: 179 783 161.0 796 1437

Percentage of the requests served within a certain time (ms)
50% 796
66% 856
75% 892
80% 918
90% 977
95% 1028
98% 1128
99% 1185
100% 1437 (longest request)

Risultati

Apache + FullPage Cache (4 core + 8GB)

Requests per second: 25.37 [#/sec] (mean)
Time per request: 788.325 [ms] (mean)

LiteSpeed + LiteCache (1 core + 2GB)

Requests per second: 252.96 [#/sec] (mean)
Time per request: 79.064 [ms] (mean)

 

About the author

Avatar photo
Matteo Lavaggi