my dog learned polymorphism
The moose likes Sockets and Internet Protocols and the fly likes Thread Pool Management in SocketServer. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Thread Pool Management in SocketServer." Watch "Thread Pool Management in SocketServer." New topic

Thread Pool Management in SocketServer.

Yuvraj Singh

Joined: Apr 30, 2002
Posts: 11
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.
I agree. Here's the link:
subject: Thread Pool Management in SocketServer.
It's not a secret anymore!