From e81caab2bec6eb98a54e6eee800b6e11dfeddbd5 Mon Sep 17 00:00:00 2001 From: Allen Fear Date: Thu, 16 Mar 2017 11:59:05 -0700 Subject: [PATCH] Update load-and-performance-testing.md We are recommending that folks perform load testing in their live environment, but they should not if their site is already live. --- source/_docs/load-and-performance-testing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_docs/load-and-performance-testing.md b/source/_docs/load-and-performance-testing.md index ae3273c2eb..0ce1b32882 100755 --- a/source/_docs/load-and-performance-testing.md +++ b/source/_docs/load-and-performance-testing.md @@ -15,7 +15,7 @@ You should: +

If you have not launched your site yet, you should perform your load tests on the Live environment. If your site is already live, you should perform your load tests in the Test environment so that you do not risk downtime on your live site as a result of the load test. When performing your load tests in the Test environment, you should scale down your test traffic to correspond to the number of containers in your live environment, so if you have two app servers in your Live environment and only one appĀ server in your Test environment, reduce the number of users in your load test by 50%. The Dev environment has much lower default caching settings than other environments to facilitate iterative development. Test has the exact same configuration as Live, but Test may only have one appserver, while Live can have as many as your plan allows. If disruptive behavior occurs outside of the Live environment, the site may be temporarily disabled to prevent disruption to other customers.

## Performance vs. Scalability @@ -29,7 +29,7 @@ High-performance is the ability to deliver a page in under a second; scalability ## Verify Varnish is Working To verify that the [Varnish](/docs/varnish) cache is working, the `curl` command can be run with the `-I` flag to gather and display header information. Header information can also be obtained via [Firebug](http://en.wikipedia.org/wiki/Firebug_(software)) or [Inspect](http://en.wikipedia.org/wiki/Google_Chrome) in the browser. The results should be something like this: - + ```nohighlight curl -I http://live-yoursite.pantheonsite.io HTTP/1.1 200 OK @@ -48,7 +48,7 @@ X-Pantheon-Edge-Server: 108.166.96.132 Vary: Accept-Encoding, Cookie ``` The "Age" field should be greater than 0. If the max age is not greater than 0, please review [Drupal's Performance and Caching Settings](/docs/drupal-cache#drupal-7-performance-configuration) and [Varnish Caching for High Performance](/docs/varnish) documentation. - +