When you update values in Redis,you can put the values in other 'Queue', such as List in Redis.Then consuming the values in Queue and update Mysql.
If the Redis data isn't too much,just using a Scheduler to batch flush all data to Mysql.