skip to Main Content

We use Redisson & are experimenting with Snappy compression codec to reduce Redis storage. We currently use JSON codec for custom data serialization.
For the purpose of rollbacks on production, I’m exploring if it is possible to run the Redisson client to simultaneously write to 2 Redis servers: one with Snappy codec & the other with JSON codec. Any suggestions are highly appreciated

2

Answers


  1. Redisson client writes only to a single Redis setup (cluster, sentinel, replicated or single). You can implement RedissonClient interface with wrapper of two Redisson instances. This wrapper should execute operations in parallel through Async-interface.

    Login or Signup to reply.
  2. We use database and NameMapper for this functionality.
    The new version of your app with use updated DB and Updated Values using a different NameMapper.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search