This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Thread question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Thread question" Watch "Thread question" New topic

Thread question

xin dong
Ranch Hand

Joined: Mar 24, 2003
Posts: 33
I create a class to test multi-threading book.when work in 50 , 100 threads
it's ok. but when I set thread number 1500.some connection requests will be refused.what's the matter with it?
any answer is appreciated!!!
Vlad Rabkin
Ranch Hand

Joined: Jul 07, 2003
Posts: 555
I had the same problem when having more than 20 Threads. I don't the reason,
but there is a topic, which discusses the problem. It was conculded there that is should have our concern.

Niall ORiordan

Joined: Jul 22, 2003
Posts: 15
Hi Vlad,
Can you post a reference to the thread you are referring to I have a similar problem and would like to read other peoples approcah to this.

Vlad Rabkin
Ranch Hand

Joined: Jul 07, 2003
Posts: 555
Hi Niall,
There are two topics discussing the problem:
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Thread question
It's not a secret anymore!