Quick-http: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 12: Line 12:
  # test serving larger page on localhost, all from memory; getting 2GB/sec data throughput
  # test serving larger page on localhost, all from memory; getting 2GB/sec data throughput
  ab -c 1000 -k -r -t 10 http://localhost:8080/
  ab -c 1000 -k -r -t 10 http://localhost:8080/
[[quick-httpPerformance Full output]]

Revision as of 19:57, 30 January 2016

Overview and getting started docs are in the README, visible on github.

This will be for additional project notes that are worthy of sharing.

Performance

I used ab for load testing on localhost using my older i5 processor with 16GB RAM. No kernel or hardware tuning.

# test with a small page, getting 50k pages/sec
ab -c 1000 -k -r -t 10 http://localhost:8080/v1/stock/KATE/history.html

# test serving larger page on localhost, all from memory; getting 2GB/sec data throughput
ab -c 1000 -k -r -t 10 http://localhost:8080/

quick-httpPerformance Full output