Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 649 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 649 Bytes

Monitoring docker containers with TIG stack

  1. Run nginx and apache containers with docker-compose up -d command
  2. run ab_tests.sh - apache bench tests with different concurrency

CPU usage

cpu usage

Results:

  • On big amount of requests Apache uses more cpu than nginx
  • Time to serve requests is a bit bigger for Apache than Nginx
  • RPS is almost similar

So, when you need to process a lot of requests nginx seems more efficient