Testing distributed systems under hard failures like network partitions and instance termination is critical, but it's also important we test them under less catastrophic conditions because this is what they most often experience. Comcast is a tool designed to simulate common network problems like latency, bandwidth restrictions, and dropped/reordered/corrupted packets. It works by wrapping up some system tools in a portable(ish) way. On BSD-derived systems such as OSX, we use tools like ipfw and pfctl to inject failure. On Linux, we use iptables and tc. Comcast is merely a thin wrapper around these controls. Windows support may be possible with wipfw or even the native network stack, but this has not yet been implemented in Comcast and may be at a later date. On Linux, Comcast supports several options: device, latency, target/default bandwidth, packet loss, protocol, and port number.

Features

  • To shape traffic in BSD-derived systems, create an ipfw pipe and configure it
  • You can control incoming and outgoing traffic separately for any specific host or network
  • Comcast will determine the system commands to execute, log them to stdout, and execute them
  • The default bandwidth specified will apply to all egress traffic
  • Comcast supports several options like device, latency, target/default bandwidth, etc.
  • Designed to simulate common network problems like latency, bandwidth restrictions, etc.

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Comcast

Comcast Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Comcast!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Build Tools, Go Networking Software

Registered

2021-08-11