Shopify / Shopify/toxiproxy

bandwidth - is it possible to limit the the upload speed?

Open
#259 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
12.4k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

Hi quick question

Example:
create a proxy for an webapp like

toxiproxy-cli create myapp -l localhost:7777 -u localhost:5555
toxiproxy-cli toxic add myapp -t bandwidth -n speed -a rate=500

Now when I run the webapp locally and point my browser at
localhost:7777

the bandwidth rate it seems to limit only the download speed
but not the upload speed

Is it possible to limit also the upload speed using toxiproxy?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bandwidth toxic configured by the toxiproxy-cli toxic add command and trace how traffic is handled in each direction. Determine whether the existing behavior can cover uploads, then verify completion by demonstrating that traffic from the webapp toward the upstream is rate-limited as well as downloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.