Autosaving objects in redis