Logic for saving carte data to the redis database.