Comments (2)
Ah sorry, I just answered by e-mail :)
I like the idea a lot - I think the hardest part is to make sure we can express the failures scenarios in a simple way in the configuration, because what you're describing is starting to get quite complex.
If you can propose an implementation in a PR, I guess it's a good step forward to see how it can look
Thanks a lot !
from vaurien.
Hi Tarek,
I realized more work will be needed beyond what I described above:
Right now vaurien only supports perturbing the transmission between the client and a single backend service -- e.g., the command:
./vauenv/bin/python vauenv/lib/python2.7/site-packages/vaurien/run.py --protocol http --proxy localhost:8000 --backend www.googleapis.com:443 --behavior 10:error
will cause requests sent to localhost:8000 to return 5xx errors for 10% of the traffic, and pass the rest through to www.googleapis.com:443. But gsutil needs to send requests to *.googleapis.com (for storage) as well as to accounts.google.com (for authentication), so this simple setup won't work. Instead I think we'd need to make vaurien understand real HTTP proxying, with the client sending absolute-form (http://tools.ietf.org/html/rfc7230#section-5.3.2) requests and the proxy doing the needed DNS lookup, rewriting the request and sending it on to the downstream server, and similarly passing responses back from the server.
So, now I'm wondering whether it makes more sense to add such proxy functionality to vaurien vs to start with a proxy (Squid) and add programmable behavioral controls.
Your thoughts/comments welcome.
Thanks,
Mike
from vaurien.
Related Issues (20)
- Dependency not installed HOT 6
- Generalize --behavior-error-warmup HOT 1
- Allow choosing list of HTTP codes vaurien.behaviors.error.Error uses HOT 3
- Add handlers to deal with HTTP-level details HOT 2
- bad import
- pip install vaurien fails and breaks pip on Ubuntu 12.04 HOT 3
- document how to plug LD_PRELOAD HOT 1
- vaurienclient.Client doesn't seem to set behavior correctly. HOT 1
- An 'https' protocol would be amazing HOT 1
- Cannot specify error rate through vaurien REST API
- redis protocol seems to have problems with delay behavior HOT 2
- REST api to change the state of proxies does not seem stable
- Adds network throttling behavior
- Vaurien can not be installed in py3 HOT 2
- Support for warmup in error
- Vaurien not revoking existing connections after behavior gets changed.
- Gevent raises timeout HOT 5
- Test suite error
- Not able to configure the Vaurien behaviour
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 vaurien.