Skip to content

andymalakov/libpcap-latency-meter

Repository files navigation

libpcap-latency-meter

December 2025 Update: I made a much better tool for the same purpose!

What is it?

LIBPCAP Latency Meter is a small Java based tool that measures time difference between inbound and outbound TCP packets messages.

How does it work?

The tool intercepts inbound and outbound TCP packets containing your network messages. All captured packets carry time stamps. This tool matches outbound packets with corresponding inbound packets using some kind of correlation key (For example, value of specific FIX tags).

Signal latency

For example, this tool can be used measure latency of trading signals. FX market data feed usually contain a field QuoteEntryID(299), while FX orders may contain a field QuoteID(117). Tool can correlate inbound and outbound messages based on the value provided in these tags.

Tick-to-Quote packets correlation

Simple statistics (min/max/avg) are printed out during run time and latency log of each signal is recorded into CSV file.

See github Project Wiki for more information.

About

Measure latency between inbound and outbound TCP packets of a system. For example, tick to order latency of messages that use FIX protocol.

Topics

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages