• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread Pool Management in SocketServer.

 
Yuvraj Singh
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have developed a Socket Server which initializes
some threads at the start-up..I need some help on:
1./How to spawn new threads with the increasing Concurrent request(one way is to increase pool size is in batch)
2./How to kill Idle threads?
3./How the incoming Concurrent Requests can be made to wait untill some threads get freed.
Is there open source code available for SocketServer having above functionality.
One more Question,Is it possible to make Windows NT Service of a Java Socket Server.
Regards,
Y.S.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic