Skip to content

Commit 6911334

Browse files
bborehamcsmarchbanks
authored andcommitted
Reduce default DynamoDB write capacity from 3000 to 1000 (#1673)
We've made a lot of efficiency improvements, so reduce the default capacity. No single figure will work for everyone, but we can assume most people running with the default are running a small installation to check it out, so let's give them a smaller bill. Signed-off-by: Bryan Boreham <[email protected]>
1 parent d3214ab commit 6911334

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## master / unreleased
22

3+
* [CHANGE] In table-manager, default DynamoDB capacity was reduced from 3,000 units to 1,000 units. We recommend you do not run with the defaults: find out what figures are needed for your environment and set that via `-dynamodb.periodic-table.write-throughput` and `-dynamodb.chunk-table.write-throughput`.
34
* [CHANGE] `--alertmanager.configs.auto-slack-root` flag was dropped as auto Slack root is not supported anymore. #1597
45
* [ENHANCEMENT] Upgraded Prometheus to 2.12.0 and Alertmanager to 0.19.0. #1597
56

pkg/chunk/table_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (cfg *TableManagerConfig) RegisterFlags(f *flag.FlagSet) {
9898

9999
// RegisterFlags adds the flags required to config this to the given FlagSet.
100100
func (cfg *ProvisionConfig) RegisterFlags(argPrefix string, f *flag.FlagSet) {
101-
f.Int64Var(&cfg.ProvisionedWriteThroughput, argPrefix+".write-throughput", 3000, "DynamoDB table default write throughput.")
101+
f.Int64Var(&cfg.ProvisionedWriteThroughput, argPrefix+".write-throughput", 1000, "DynamoDB table default write throughput.")
102102
f.Int64Var(&cfg.ProvisionedReadThroughput, argPrefix+".read-throughput", 300, "DynamoDB table default read throughput.")
103103
f.BoolVar(&cfg.ProvisionedThroughputOnDemandMode, argPrefix+".enable-ondemand-throughput-mode", false, "Enables on demand throughput provisioning for the storage provider (if supported). Applies only to tables which are not autoscaled")
104104
f.Int64Var(&cfg.InactiveWriteThroughput, argPrefix+".inactive-write-throughput", 1, "DynamoDB table write throughput for inactive tables.")

0 commit comments

Comments
 (0)