Commit graph

6 commits

Author SHA1 Message Date
Boyan Soubachov
912915d5dc Refactor logging (#104)
* Move logging into internal folder & package
* Create enum for logging levels
* Start moving functions into a utils package
2019-10-07 14:24:01 -07:00
Boyan Soubachov
f94ebb5224 Fixed /proc/net/snmp parsing bug (#97)
* Fixed /proc/net/snmp parsing bug

* Fixed a bug when parsing /proc/net/snmp for Linux machines
* Removed unused, commented code
* Changed error messages to Go best practices (wrapping-friendly)

* * Upgrade Dockerfile
* Upgrade to Go 1.13
2019-09-30 05:43:51 -07:00
Pankaj Garg
2bbee835b2
Load balancer support via External Mode (#70)
* Fix command line arguments to enable supporting external server mode.

* Initial version of external mode server. This can work behind a load
balancer.

* Intermediate changes for xserver/xclient.

* Few fixes for external mode. Add support for 'g' for gap in connection
latency test.
2019-01-14 13:56:36 -08:00
Pankaj Garg
36c1bbdf3c
Add support for -4 or -6 as parameter. (#65)
This allows using specific IP version for running a test.
2019-01-03 17:25:00 -08:00
Pankaj Garg
17ffab4a2b
Remove zero init and reuse code (#63) 2019-01-02 07:52:35 -08:00
Pankaj Garg
33238ab976
Add support for TCP ping (#61)
Initial version of TCP ping.

This needs enhancements listed below, but is a workable solution (for now):
- Better goroutine synchronization for exit tracking
- Code cleanup for handling of warmup run
- Support for custom number of warmup connections
- Support for custom sleep between successive connections
- Option to select -4 or -6 to force IP version
- Logging the results in json format
2019-01-01 21:12:26 -08:00