What should be done when the provisioned throughput is exceeded?

Yes. Every time your application sends a request that exceeds your capacity you get ProvisionedThroughputExceededException message from Dynamo. However your SDK handles this for you and retries. The default Dynamo retry time starts at 50ms, the default number of retries is 10, and backoff is exponential by default. This means you get retries at: 50ms … Read more

SpringBoot – BeanDefinitionOverrideException: Invalid bean definition

Bean overriding has to be enabled since Spring Boot 2.1, https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Release-Notes Bean Overriding Bean overriding has been disabled by default to prevent a bean being accidentally overridden. If you are relying on overriding, you will need to set spring.main.allow-bean-definition-overriding to true. Set spring.main.allow-bean-definition-overriding=true or yml, spring: main: allow-bean-definition-overriding: true to enable overriding again. Edit, Bean … Read more

How to query DynamoDB by date (range key), with no obvious hash key?

Although a Global Secondary Index seems to fit your requirements, any attempt to include timestamp related information as part of your Hash Key will most likely create what is known as “Hot Partition”, which is extremely undesirable. The uneven access will occur as the most recent items are going to be retrieved with way more … Read more

What is the recommended way to delete a large number of items from DynamoDB?

What I ideally want to do is call LogTable.DeleteItem(user_id) – Without supplying the range, and have it delete everything for me. An understandable request indeed; I can imagine advanced operations like these might get added over time by the AWS team (they have a history of starting with a limited feature set first and evaluate … Read more