-
java.nio.channels: Implementation allows only 63 channels per Selector
I am using the new java.nio.channels package to write a server application
that needs to support thousands of concurrent users. These are not short
running HTTP requests, but rather long running sessions. The way to go is
to use non-blocking IO. After spending some time figuring out how to use
the package I tried running some stress tests. Everything was fine until
I hit it with more then 62 users, when I did I got the following error:
"Implementation allows only 63 channels per Selector".
What is the deal with this? Am I now supposed to have multiple threads with
one Selector per thread? This doesn't really solve my problem, it just delays
it.
Anyone got an idea on why this limitation exists?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks