Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Capturing 10k pkts per second

 
Masoud Moshref Javadi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to capture 10k packets per second, but JPCAP drops more than 5% of it. My code is like this:
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would not try to use Java for a task such as this. It may work after some tuning, but this is not the type of problems that Java was designed to address.

I've probably use Google's GO language
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic