Sync data between redis and mysql