Skip to content

Instantly share code, notes, and snippets.

@shio-phys
Created March 1, 2016 07:08
Show Gist options
  • Save shio-phys/a3a4e118aeb61016a917 to your computer and use it in GitHub Desktop.
Save shio-phys/a3a4e118aeb61016a917 to your computer and use it in GitHub Desktop.
[global]
# 認証周りの設定
aws-access-key-id: AWS_ACCESS_KEY
aws-secret-access-key-id: AWS_SECRET_KEY
# リージョンの設定
region: ap-northeast-1
# DynamoDBが自動調節をチェックする頻度(秒)
check-interval: 300
[logging]
log-level: info
log-file: /var/log/dynamic-dynamodb.log
[table: ^crawled_items$]
# # Read provisioning configuration
# # 現在のスループットがプロビジョニング量の何%になったらscale up / scale downするかのしきい値
reads-upper-threshold: 90
reads-lower-threshold: 30
# 自動調整するときに何%プロビジョニング量を増減させるか
increase-reads-with: 50
decrease-reads-with: 50
# %単位でプロビジョニング量を増減させるか、unit単位で増減させるか設定(ここでは%を指定)
increase-reads-unit: percent
decrease-reads-unit: percent
# プロビジョニング量の最大値と最小値の設定
min-provisioned-reads: 1
max-provisioned-reads: 20
# # Write provisioning configuration
# # 現在のスループットがプロビジョニング量の何%になったらscale up / scale downするかのしきい値
writes-upper-threshold: 90
writes-lower-threshold: 30
# 自動調整するときに何%プロビジョニング量を増減させるか
increase-writes-with: 50
decrease-writes-with: 50
# %単位でプロビジョニング量を増減させるか、unit単位で増減させるか設定(ここでは%を指定)
increase-writes-unit: percent
decrease-writes-unit: percent
# プロビジョニング量の最大値と最小値の設定
min-provisioned-writes: 10
max-provisioned-writes: 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment