Comments (1)
There's a couple reasons why things were done the way they are, though that's not to say they couldn't be improved.
The first is that having all clients toxic independent (and this this case, the cli is a client), means that when a toxic is added or changed, no further development time is needed to update all the clients, they will work as-is.
This is important for 3rd party clients especially, though for things like the cli and toxiproxy-ruby it's just a matter of ease of development.
The second reason is that toxiproxy does have support for 3rd party toxics, which currently only require using github.com/Shopify/toxiproxy
and an include to build a custom server binary.
Requiring a cli build as well makes that process much more complicated, unless the generic format is also kept, but having a separate usage pattern for these toxics seems counter productive to me.
Some sort of way to list available toxics on the server seems like a reasonable addition, though I'm not sure of the best way to handle toxic fields in that scenario.
The experience for new toxiproxy users is definitely something that could be improved, it will take some discussion to figure out what changes to make though
from toxiproxy.
Related Issues (20)
- Fails to connect after peer-reset HOT 6
- ToxiproxyContainer.ContainerProxy deprecated HOT 3
- How to proxy MTLS connections using Toxiproxy HOT 1
- Create a toxic, connection loss, for Server --> Client ( donwstream)? HOT 13
- Migrate the GH default branch to main HOT 1
- Reopen all the PRs that were closed unintentionally because of master -> main rename HOT 2
- RemoveToxic: HTTP 503: Unexpected response code, expected 204 HOT 5
- Possible to add toxics in config? HOT 1
- non-local API server connection refused when using '-config' HOT 1
- Dynamic / Conditional Toxics? HOT 2
- Tag and release v2.6.0? HOT 2
- panic: runtime error: slice bounds out of range [808:773]
- Difficulty Implementing Proxy for OpenAI API with App Calling and curl Insufficiency
- Proxy does not foward custom HTTP headers
- Unable to update toxic using prebuilt windows server
- Documentation for distribution of latency with different jitter values
- Is Redis Cluster/ PostGresDB Connection(based on master/slave architecture) supported for ToxiProxy ?
- Toxiproxy control port hangs on removing a toxic HOT 2
- Release toxiproxy changes
- Support or simulate packet lose in Toxiproxy?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toxiproxy.