Problems with AWS Amplify and its use of DynamoDB
Speaking of limitations with scan in DynamoDb, I&#x27;ve recently been working with DynamoDB and found that our implementation was solely using scan operations. I wrote a couple lines of code to generate a secondary index, used a query operation instead for our endpoint serving page responses and that&#x27;s going to save our company ~$15k this year (more as we scale) <i>and</i> decreased our page load times by 10x (3s to .3s) for all of our users. In total that&#x27;s going to save over a year of page load time for all of our users over the next year.<p>It&#x27;s just odd to me that I had to make this change in the first place. I wonder how many millions of dollars AWS is raking in just because devs are unaware of things like that. Also makes me wonder how much energy is being wasted on inefficient DB operations..