settings supports redis backend
memory state extracted out