123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- {
- "name": "Increase availability",
- "children": [
- {
- "name": "Simulate failover",
- "children": [],
- "behaviors": [
- {
- "name": "breakConnection",
- "options": {
- "enabled": true
- }
- }
- ],
- "criteria": [
- {
- "name": "contentDeliveryNetwork",
- "options": {
- "matchOperator": "IS",
- "network": "STAGING"
- }
- },
- {
- "name": "requestHeader",
- "options": {
- "headerName": "breakconnection",
- "matchCaseSensitiveValue": true,
- "matchOperator": "IS_ONE_OF",
- "matchWildcardName": false,
- "matchWildcardValue": false,
- "values": [
- "Your-Secret-Here"
- ]
- }
- }
- ],
- "criteriaMustSatisfy": "all",
- "comments": "Simulate an origin connection problem and test the site failover configuration on the CDN staging network."
- },
- {
- "name": "Site failover",
- "children": [],
- "behaviors": [
- {
- "name": "failAction",
- "options": {
- "enabled": false
- }
- }
- ],
- "criteria": [
- {
- "name": "originTimeout",
- "options": {
- "matchOperator": "ORIGIN_TIMED_OUT"
- }
- }
- ],
- "criteriaMustSatisfy": "any",
- "comments": "Specify how edge servers respond when the origin is not available."
- },
- {
- "name": "Origin health",
- "children": [],
- "behaviors": [
- {
- "name": "healthDetection",
- "options": {
- "maximumReconnects": 3,
- "retryCount": 3,
- "retryInterval": "10s"
- }
- }
- ],
- "criteria": [],
- "criteriaMustSatisfy": "all",
- "comments": "Monitor the health of your origin by tracking unsuccessful IP connection attempts."
- },
- {
- "name": "Script management",
- "children": [],
- "behaviors": [
- {
- "name": "scriptManagement",
- "options": {
- "enabled": false
- }
- }
- ],
- "criteria": [],
- "criteriaMustSatisfy": "all",
- "comments": "Enable Script Management to minimize performance and availability impacts from third-party JavaScripts."
- }
- ],
- "behaviors": [],
- "criteria": [],
- "criteriaMustSatisfy": "all",
- "comments": "Control how to respond when your origin or third parties are slow or even down to minimize the negative impact on user experience."
- }
|