move cache into postgres
only sleep if a req. was sent
discard docs too big for sqs