I have multiple lambda functions, which a file passes through for processing, and I want to store the status of each computation in a counter, for better logging and monitoring.
Current plan is to log it like this:
file-name Lambda1 Lambda2 Lambda3
Name1 Done Done In-process
And, I'll be updating the values as Received
, In-process
and Done
under the respective Lambda functions for the file.
So, two doubts:
- Is this a good practice? If not, then is there a better alternative for the same?
- If it is, then what would make a better/cheaper store? RDS or DynamoDB?