Skip to content

Instantly share code, notes, and snippets.

@cmendesce
Created November 20, 2021 16:34
Show Gist options
  • Select an option

  • Save cmendesce/6b2a28c91928c15e0535b621d6368e09 to your computer and use it in GitHub Desktop.

Select an option

Save cmendesce/6b2a28c91928c15e0535b621d6368e09 to your computer and use it in GitHub Desktop.
{
"envoy_host": "http://envoy:9100",
"failure_rate": [50],
"concurrentUsers": [1],
"rounds": 5,
"patterns": [
{
"name": "polly-retry",
"platform": "dotnet",
"lib": "polly",
"url": "http://localhost:5000/retry",
"config_template": {
"count": 3,
"sleepDurationType": "EXPONENTIAL_BACKOFF",
"exponentialBackoffPow": 1.5,
"sleepDuration": [50, 75, 100, 200]
}
},
{
"name": "resilience4j-retry",
"platform": "java",
"lib": "resilience4j",
"url": "http://localhost:8080/retry",
"config_template": {
"maxAttempts": 4,
"multiplier": 1.5,
"intervalFunction": "EXPONENTIAL_BACKOFF",
"initialIntervalMillis": [50, 75, 100, 200]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment