Table of Contents
aha, I’m very excited to tell everybody, my new project named “httpd_mock” was born last night. Ok, let me give you a short brief:
It’s a mock service for performance testing, debugging or something else, it support 3 types of response:
- specific length response
- chunked response
- mix type ( contain two types above )
How to Run:
- make
- make install
- cd bin && ./httpd_mock -c ../etc/httpd_mock.cfg
It’s a light and high performance service, one process takes 50% cpu can supply 50K+ QPS with 100-150ms avg latency.
btw, if you want to change its mode, change the configuration file, have a fun~