# Load test with Discourse

**URL:** <https://meta.discourse.org/t/load-test-with-discourse/77291>\
**Category:** Development\
**Created:** [January 5, 2018, 7:31am UTC](https://meta.discourse.org/t/load-test-with-discourse/77291 "2018-01-05T07:31:57Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![ryanerwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanerwin/32/94589_2.png) [@ryanerwin](https://meta.discourse.org/u/ryanerwin)\
**Post date:** [April 12, 2018, 1:22pm UTC](https://meta.discourse.org/t/load-test-with-discourse/77291/19 "2018-04-12T13:22:35Z")

</div>

Note, for anyone trying to do their own Discourse load testing like Simon, not only do you need to edit the MAX\_ADMIN\_API\_REQS, you also need to comment out `web.ratelimited.template.yml`

Something like:

#### /var/discourse/containers/app.yml

```plaintext
templates:
   - "templates/postgres.template.yml"
   - "templates/redis.template.yml"
   - "templates/web.template.yml"
 # - "templates/web.ratelimited.template.yml"

...
env:
   LANG: en_US.UTF-8
   DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE: 10000
...

```

Otherwise, you’ll probably hit the nginx rate limits on requests per IP address. If you see response code `429` (Too many requests) even after increasing the MAX ADMIN API REQS… this is why.

Also note that YAML variables use “:”, so if you copy and paste Simon’s `DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE=10000` you’ll get a YAML parsing error about a colon…

---

_[View the full topic](https://meta.discourse.org/t/load-test-with-discourse/77291)._
