Useful tips for AWS Lambda and DynamoDB in Go

Useful tips for AWS Lambda and DynamoDB in Go
Use Query instead of Scan Dont…Ever…Use…Scan…in DynamoDB. Seriusly, dont! A scan is the most brutal operation that returns all data, even if you use Filter. The logic behind Scan is that scans the whole table AND THEN applies the filter. Not only it’s slow, but your consumed capacity will always be high meaning, you will not like what you see on AWS Bill. Well, why is there a Scan operation in SDK if it’s slow and costly?
Read more →