Re: Thread question
Joseph Shraibman <[email protected]>
| Newsgroups | gmane.comp.java.linux.general |
|---|---|
| Message-ID | <[email protected]> |
Daniel Malmkvist wrote: > > I have an application that should handle alot (>10 000) connection at > the same time but usally no traffic. Is the best way to make a thread > pool or is the best way to have 1 thread per connection. If no contex > switching will be done I don't see why not. > YOu will have a hard time getting 10000 threads to exist at the same time, so you need to use polling. You might want to check out the (bit dated) Volano benchmark: http://www.volano.com/report/index.html ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]