System Architect
Team Lead
PHP Developer
@alexhelkar
alexhelkar
https://github.com/alexhelkar
[phantom]
address=555.166.5.74 ; fake ip
port=80 ;target port
rps_schedule=step(20, 60, 10, 30s) const(1, 30s) ;load scheme
uris = /ru/blog/
Current results:
Total request time: 18.4 ms
file_exists called: 7 times
Exec. time for file_exists: 460 µs
Expected results:
Exec/ time: ~17.6 µs
Total request time: ~18.3996 ms
Infrastructures scaling
RAM: 512
CPU: 1
HDD: 20
50 RPS
App Server
50 RPS
App Server
RAM: 1024
CPU: 1
HDD: 30
50 RPS
App Server
RAM: 512
CPU: 1
HDD: 20
LB Server
RAM: 512
CPU: 1
HDD: 20
100 RPS
App Server
50 RPS
App Server
LB Server
App Server
RAM: 512
CPU: 1
HDD: 20
RAM: 512
CPU: 1
HDD: 20
RAM: 512
CPU: 1
HDD: 20
RAM: 1024
CPU: 1
HDD: 30
160 RPS
App Server
120 RPS
App Server
LB Server
App Server
App Server
RAM: 2048
CPU: 2
HDD: 40
RAM: 512
CPU: 1
HDD: 20
RAM: 512
CPU: 1
HDD: 20
RAM: 512
CPU: 1
HDD: 20
RAM: 512
CPU: 1
HDD: 20
(concurrency)
(reads)
* Manual sharding both cases
IF Application is SLOW
Enable Caching
IF Application has GLITCHES
Disable Caching
(writes)
@alexhelkar
alexhelkar
https://github.com/alexhelkar