broadinstitute / gnomad-browser

Explore gnomAD datasets on the web
https://gnomad.broadinstitute.org
MIT License
81 stars 43 forks source link

Benchmark the graphql-api service #1117

Open sjahl opened 1 year ago

sjahl commented 1 year ago

I'd like to understand our base-line performance with a variety of gnomAD backend topologies.

sjahl commented 1 year ago

I've deployed a testing gnomad-browser in gnomadev, with the following changes to the elasticsearch cluster:

The result is a 9-node ES cluster (one extra node to ensure I didn't run out of disk space.

The plan is to run JMeter against the API on both this new test cluster and the soon-to-be prod deployment that mirrors the current production 2-node ES cluster topology.

sjahl commented 1 year ago

The results of my load testing are stashed in gs://gnomad-jmeter-reports. Some of the tests have a "cold" and "warm" denotation -- Cold is cases where JMeter is being run for the first time against a cluster that has only had the cache warmer script run on it, which I discovered didn't really warm things up to the point that I would consider the cluster adequately cached.

I will compile the results here into a comparison and review the findings for the team.