doc: Add some wrk stats to the Readme

This commit is contained in:
Clément Renault 2019-01-10 20:33:29 +01:00
parent 446d6a5455
commit 05fd7e87ec
No known key found for this signature in database
GPG Key ID: 0151CDAB43460DAE

View File

@ -22,15 +22,21 @@ MeiliDB will be a binary in a near future so you will be able to use it as a dat
## Performances ## Performances
_These information are outdated (October 2018) and will be updated soon_ With a database composed of _100 353_ documents with _352_ attributes each and _90_ of them indexed.
So nearly _9 million_ fields indexed for _35 million_ stored we can handle more than _1.2k req/sec_ on an Intel i7-7700 (8) @ 4.2GHz.
We made some tests on remote machines and found that MeiliDB easily handles a dataset of near 280k products, on a $5/month server with a single vCPU and 1GB of RAM, running the same index, with a simple query: Requests are made using [wrk](https://github.com/wg/wrk) and scripted to generate real users queries.
- near 190 concurrent users with an average response time of 90ms ```
- 150 concurrent users with an average response time of 70ms Running 10s test @ http://localhost:2230
- 100 concurrent users with an average response time of 45ms 2 threads and 12 connections
Thread Stats Avg Stdev Max +/- Stdev
Servers were located in Amsterdam and tests were made between two different locations. Latency 18.86ms 49.39ms 614.89ms 95.23%
Req/Sec 620.41 59.53 790.00 65.00%
12359 requests in 10.00s, 3.26MB read
Requests/sec: 1235.54
Transfer/sec: 334.22KB
```
### Notes ### Notes