方案一: 程序同时写Redis和MySQL 读Redis

方案二: 程序写MySQL, 使用Gearman调用MySQL的UDF,完成对Redis的写 读Redis