Improve enqueue and a redis stub