Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tweak dynamo tables' provisioned capacity #361

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

ConjunctiveNormalForm
Copy link
Member

fillerAddress table been getting throttled because of overcapacity usage
Screenshot 2024-07-29 at 2 08 22 PM

on the other hand, read capacity usage of fillerCBTimestamps has been consistently under 1

bin/config.ts Outdated
@@ -3,8 +3,8 @@ import { BillingMode } from 'aws-cdk-lib/aws-dynamodb';
import { TableCapacityConfig } from './stacks/cron-stack';

export const PROD_TABLE_CAPACITY: TableCapacityConfig = {
fillerAddress: { billingMode: BillingMode.PROVISIONED, readCapacity: 20, writeCapacity: 100 },
fillerAddress: { billingMode: BillingMode.PROVISIONED, readCapacity: 50, writeCapacity: 200 },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we bump it up more? In the chart you shared, it does cross these new thresholds too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm yeah I guess it doesn't really matter if we over-provision for a bit

@ConjunctiveNormalForm ConjunctiveNormalForm merged commit 8528862 into main Jul 31, 2024
5 checks passed
@ConjunctiveNormalForm ConjunctiveNormalForm deleted the dynamo-capacity branch July 31, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants