Database writes via Amazon SQS