title: Java Single Client Thread for multiple Server communication for IOT project
body: <p>I want to create a client Thread for TCP IP communication. But the client thread should be able to communicate with minimum 10000 servers in the same time. As I want to communicate with millions of servers(Practically GPRS based field devices), its not a good practice to start millions of client threads and manage it.
  I have tried with NIO Selector to do this. But I found that its only possible for the server thread.
  ThreadPoolExecutor also I have tried. That also failed to manage huge number of connections in the same time.
  Please give a good suggestion to manage huge number of servers without starting too many threads.</p>