Quick-http: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 5: Line 5:
=== Performance ===
=== Performance ===


I used ab for load testing on localhost using my older i5 processor with 16GB RAM.
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
  # test with a small page, getting 50k pages/sec
  ab -c 1000 -k -r -t 10 http://localhost:8080/v1/stock/KATE/history.html
  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, no hardware tuning
  # 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/

Revision as of 02:01, 25 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/