• Post Reply Bookmark Topic Watch Topic
  • New Topic

socket performance

 
Karthik Anant
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

am running a simple socket programming to transmitmessages which is abt 500Bytes. Am only able to acieve close to 1000-1200 messages per second despite trying multi threaded clients and running both server and client on the same machine. Can any one please advice me on what I can do to achieve faster rates. My target is 10000 messages per second
 
Chris Hurst
Ranch Hand
Posts: 443
3
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using an open source IO framework Apache mina or grizzly ? There easy to use and apparently get good performance.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's continue this discussion in his post that actually has code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!