84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
跟大家咨询下大家在做MySQL跟redis数据同步的时候用的是什么方式呢? 目前看到的方式一般有两种: 1.使用Gearman+MySQL UDF的组合异步实现MySQL到Redis的数据复制。 2.不使用GEM,通过MySQL的触发器然后调用UDF来直接调用API网络接口,接口里去操作redis的数据来达到数据同步。
另外,我是想在MySQL的数据在有增删改这几个操作的时候直接把变动的数据输出成json形式存入到redis.
多谢大家:)
欢迎选择我的课程,让我们一起见证您的进步~~
One is relational and the other is non-relational. They cannot be completely synchronized to redis. The data types and primary and foreign key object relationships are very troublesome.
One is relational and the other is non-relational. They cannot be completely synchronized to redis. The data types and primary and foreign key object relationships are very troublesome.