Came across this interesting question. Its using the words “steady and predictable” but also “no traffic at night” and want to “minimize throttling” at the same time “decrease expenditures”. Would this be a usecase for OnDemand which actually ends up saving money (literally scales down to zero at night) but prevents throttling during business hours ? Or would Autoscaling still be the right choice (here capacity would be wasted at night time if you set a provisioned throughput based on predictable daytime workloads) but they do want “decreasing expenditures” so to me Autoscaling may help with throttling but wont help decrease expenditures?
Amazon DynamoDB is used as the data repository for an ecommerce website. At night, the website gets little to no traffic, while the bulk of visitors come during the day. On a daily level, traffic increase during peak hours is steady and predictable, but it might be orders of magnitude more than traffic growth during off-peak hours.Initially, the corporation allocated capacity based on its average daily throughput without taking into consideration the fluctuation of traffic patterns. However, the website is significantly throttled during busy hours. The firm want to minimize throttling while also decreasing expenditures.
What actions should a database professional do to ensure compliance with these requirements?
A. Use reserved capacity. Set it to the capacity levels required for peak daytime throughput.B. Use provisioned capacity. Set it to the capacity levels required for peak daytime throughput.C. Use provisioned capacity. Create an AWS Application Auto Scaling policy to update capacity based on consumption.
Related discussions: