Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save itaifrenkel/2639431 to your computer and use it in GitHub Desktop.
Save itaifrenkel/2639431 to your computer and use it in GitHub Desktop.
tomcat auto scaling (snippet)
minAllowedInstances 1
maxAllowedInstances 2
scalingRules ([ scalingRule {
serviceStatistics {
metric "Total Requests Count"
movingTimeRangeInSeconds 20
statistics Statistics.maximumThroughput
}
highThreshold {
value 1
instancesIncrease 1
}
}}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment