File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Capturing 10k pkts per second

Masoud Moshref Javadi

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

Joined: Aug 11, 2007
Posts: 4659

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
I agree. Here's the link:
subject: Capturing 10k pkts per second
It's not a secret anymore!