What's the best strategy to sync Redis data to MySQL?

前端 未结 3 722
我在风中等你
我在风中等你 2021-01-31 04:40
  1. The use case is to use Redis to be local cache of MySQL
  2. The data format in MySQL is: a single primary key and several other fields. There will not be queries cros
3条回答
  •  生来不讨喜
    2021-01-31 05:21

    you can implement redis replication protocol.
    but there is a github project for your demands.

    the stable version is 2.5.0

    
        com.moilioncircle
        redis-replicator
        2.5.0
    
    

提交回复
热议问题