I want to use DynamoDB to save application operation data at the end of a session for auditing purposes without affecting the actual application latency. Because this date is only for auditing so we don't want to impact our prod latencies. I have few questions for implementing this:
- Should I decouple the DB write activity with an SQS? So, the Db write delay will have no effect on the actual application?
- is publishing messages in SQS have the same latency as writing data in DynamoDB then we don't need SQS?
- what would be the best design technique for dealing with these scenarios?