Mobil Mewah

Salah satu sumber Inspirasi.

Saturday, 12 November 2016

CouchDB test performance using httperf

After test an erlang framework to serve JSON API from a postgreSQL database, i remember that had installed CouchDB in my laptop, and why not use it with same data and try the performance load using the same httperf command. The result of json from couchdb : {   "total_rows": 2,   "offset": 0,   "rows": [     {       "id": "2f9bc9fb62f3e8fa19ace932b9000d9f",       "key": "2f9bc9fb62f3e8fa19ace932b9000d9f",       "value": {         "_id": "2f9bc9fb62f3e8fa19ace932b9000d9f",         "_rev": "1-0a77ba71f874dc7ca2b7d22893cf4882",  ...

Erlang Chicago Boss JSON API test performance

I am documenting my test on erlang web framework, Chicago Boss and use it for backend API. My setting for the database using Postgresql 9.2 using 1 table with 2 rows and 4 fields only and return the request using JSON. I test the performance load using httperf on my debian 8 laptop. # httperf --server 127.0.0.1 --port 8001 --uri /todo/list --rate 150 --num-conn 27000 --num-call 1 In this simple test, the same page is retrieved repeatedly. The rate at which requests are issued is 150 per second. The test involves initiating a total of 27,000 TCP connections and on each connection one HTTP call is performed (a call consists of sending a request...

Page 1 of 2512345Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More