title: How to store netty Channel object in Redis database or any other solution?
body: <p>As i am using netty to make chat application.As i have cluster of netty servers.</p>
  
  <p>As i am storing channel id of all clients in Redis to have reference of all channels which are connected to netty servers.</p>
  
  <p>I want to store all Channel objects to Redis so that from any node or instance i can get all clients Channel objects because node on which if i want to get other clients Channel which are created on some other node, How to get those client Channel objects which reside on other node or instance? </p>
  
  <p>So its better to store client Channel object to redis so from any node i can get any client Channel object. but Channel implementing class is not Serializable in netty. </p>
  
  <ol>
  <li>So how to store Channel object in Redis?</li>
  <li>Is it good idea to serialize Channel object by extending Channel
  object and implementing Serializable interface?</li>
  <li>If this solution is not good, then how to get any client Channel
  object from any node in a netty cluster?</li>
  </ol>
  
  <p>Thanks. </p>