Suggested tool: Hey
Number of clients: 1 x 20,000 request per second
hey -c 20000 -n 150000 http://envoy.example-namespace:10000/api/v2/peatio/public/markets
Metrics to collect: Number of requests per second, CPU load chart, Latency per page chart
All the tests were executed on a Kubernetes cluster of 12 nodes with 8 CPU cores and 16 GB of RAM each.
Every test was performed on a given API endpoint with a specific number of connections, producing the resulting requests per second.
For example, testing the /markets endpoint with 2000 connections resulted in 4337 requests per second.
|API endpoint||Number of connections||Requests per second|
Thus, the aforementioned infrastructure setup should be sufficient for most large-scale cryptocurrency exchange deployments.