Toxiproxy 网络情况模式代理

1. 介绍

Toxiproxy is a framework for simulating network conditions. It's made specifically to work in testing, CI and development environments,
 supporting deterministic tampering with connections, but with support for randomized chaos and customization.Toxiproxy is the tool you 
need to prove with tests that your application doesn't have single points of failure. We've been successfully using it in all development
 and test environments at Shopify since October, 2014. See our blog post on resiliency for more information.

Toxiproxy usage consists of two parts. A TCP proxy written in Go (what this repository contains) and a client communicating with the proxy 
over HTTP. You configure your application to make all test connections go through Toxiproxy and can then manipulate their health via HTTP.
 See Usage below on how to set up your project.
 
 
2. 项目地址
https://github.com/Shopify/toxiproxy
3. 总结
在我们进行微服务开发的过程中这样的工具对于实际的测试还是比较方便的,可以帮助我们解决好多很难测试的环境

posted on   荣锋亮  阅读(450)  评论(0编辑  收藏  举报

编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示