Skip to content

Wazzaps/throttle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Throttle

A simple utility to simulate latency in UNIX domain sockets.

Used for testing high latency links for BoldUI.

Usage example:

  • go build
  • ./throttle --listen=/tmp/server-slow.sock --connect=/tmp/server.sock --latency=1000
  • Terminal #1: nc -vlU /tmp/server.sock
  • Terminal #2: nc -vU /tmp/server-slow.sock

The data is delayed in both directions now, by 1000ms.

About

Simulates latency for UNIX domain sockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages