4

How to Store websocket session in redis java Redis Client .please give some example.

benny
  • 299
  • 1
  • 3
  • 8
  • Why would you persist websocket sessions to redis cache? As long as the connection is open, the Java server needs to be aware of them, so it will have them in memory. When the connections are closed, they are no longer valid and a new session needs to be created. – Prashant Goswami Sep 07 '18 at 12:52
  • 4
    It Require for Maintaining consistency during deployment or other failure .. is it possible to store websocket session in cache .. any examples – benny Sep 10 '18 at 08:41

0 Answers0