- Everything is running in distributed mode.
- wrk is installed in your system.
- Create a file named
put.luawith sample data, for example -
- Load test link creation
- Load test link data API. Get one of shortIDs created in previous step
- load test link redirection
Following is a sample result on a quad core machine with wrk running on the same machine. The run duration for each test was 1 minute. This is not meant as professional benchmark as that will require a different and controlled setup.
|Task||Cache Hit||Performance (Avg)||Total Ops||Latency (Avg)|
|Create Links||121K reqs/sec||7.26M||47.39ms|
|Get Link||Redis||60K reqs/sec||3.60M||1.68ms|
|Get Link||None||25K reqs/sec||1.5M||4.30ms|