【问题标题】:How to synchronise data from different modules RedisRedis如何同步不同模块的数据
【发布时间】:2022-01-25 20:46:34
【问题描述】:

我是 redis 新手,我想知道是否有办法从我的 redisJson 和我的 redisGraph 同步我的数据

例如,我有一个用户 un a hash 或 redisJson,而我的 redisGraph 中有这个用户

如何在任何地方同步此用户,以便当我更改哈希中的电子邮件时,它会在任何地方更改。

我知道mongoDb和neo4j都有这个,Redis肯定有类似的

【问题讨论】:

    标签: redis redisgraph redisjson


    【解决方案1】:

    您可以使用 [RedisGears][1] 注册任何 JSON 更改并相应地同步更新图表。

    查看一个类似的例子,监听哈希变化并相应地更新图表:https://github.com/RedisGears/MultiModelExample

    您还可以在此处查看更多示例: https://oss.redis.com/redisgears/examples.html

      [1]:https://oss.redis.com/redisgears/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-10
      • 1970-01-01
      • 1970-01-01
      • 2016-09-12
      • 1970-01-01
      • 2016-06-02
      相关资源
      最近更新 更多