DZone Forums
Go Back   DZone Forums > Community > Languages & Frameworks > Java
Reload this Page java socket performance
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Default java socket performance - 01-02-2009, 03:36 PM

hi all,

I'm experiencing high CPU usage when using ~200 threads to continually create socket connections (TCP). Is this normal? Is there a better way to handle sockets in Java than the built in Socket class?

thanks!
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Join Date: Jan 2009
Default Apache MINA - 01-25-2009, 08:44 AM

I cannot say what you are looking here, but if you are developing some TCP/IP based server application,I would suggest that you should look into Apache MINA project as well. it provides a very solid high level APIs for communication based on Java NIO.
Reply With Quote
The Following User Says Thank You to kshakir For This Useful Post:
rick (01-25-2009)
Reply

Tags
network, socket

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt in java socket programming kanagha Java 2 06-16-2008 06:10 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com