redis and lua based message queue