aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Capturing  10k pkts per second Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Capturing  10k pkts per second" Watch "Capturing  10k pkts per second" New topic
Author

Capturing 10k pkts per second

Masoud Moshref Javadi
Greenhorn

Joined: Apr 10, 2012
Posts: 1
I want to capture 10k packets per second, but JPCAP drops more than 5% of it. My code is like this:
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4658
    
    5

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
 
Consider Paul's rocket mass heater.
 
subject: Capturing 10k pkts per second