{"id":3016,"date":"2012-01-17T15:16:37","date_gmt":"2012-01-17T19:16:37","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?p=3016"},"modified":"2012-01-17T15:16:37","modified_gmt":"2012-01-17T19:16:37","slug":"identify-and-test-high-risk-operations","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2012\/01\/identify-and-test-high-risk-operations\/","title":{"rendered":"Identify and Test High-Risk Operations"},"content":{"rendered":"<p>As I described in my previous post on <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2011\/12\/choosing-the-user-scenarios-to-load-test\/\">choosing test scenarios<\/a>, the early tests should focus on the high-traffic scenarios. After testing and optimizing those, the next step is to identify and test the rarely-used but high-risk operations. These are operations that may have an impact on performance that is not proportional to their frequency. Even though these are not as common, they can have large impacts due to their system-wide nature and can cause sporadic performance drops during production hours that defy explanation.<\/p>\n<p>Examples include:<\/p>\n<ul>\n<li>Complex searches<\/li>\n<li>Updates that touch many joined tables at once<\/li>\n<li>Mass changes to data that affect many rows<\/li>\n<li>Large or complex reports<\/li>\n<li>Administrative functions, such as data migrations, data cleanup or consolidation, cache clearing, etc<\/li>\n<li>Backups<\/li>\n<\/ul>\n<p>For many sites, these operations may be so rare that additional testing effort cannot be justified. In this case it is wise to include these in the final testing report &#8211; so that that the project managers \/ sponsors \/ stakeholders understand that these scenarios exist, they are high-risk and they have not been tested.<\/p>\n<p>Chris Merrill, Chief Engineer<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I described in my previous post on <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2011\/12\/choosing-the-user-scenarios-to-load-test\/\">choosing test scenarios<\/a>, the early tests should focus on the high-traffic scenarios. After testing and optimizing those, the next step is to identify and test the rarely-used but high-risk operations. These are operations that may have an impact on performance that is not proportional to their frequency. Even though these are not as common, they can have large impacts due to their system-wide nature and can cause sporadic performance drops during production hours that defy explanation.<br \/>\nExamples include:<\/p>\n<p>Complex searches<br \/>\nUpdates that touch many joined tables at once<br \/>\nMass changes to data that affect many &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2012\/01\/identify-and-test-high-risk-operations\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-3016","post","type-post","status-publish","format-standard","hentry","category-load-testing"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/3016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=3016"}],"version-history":[{"count":2,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/3016\/revisions"}],"predecessor-version":[{"id":3018,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/3016\/revisions\/3018"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=3016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=3016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=3016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}