toxiproxy
Gor
Our great sponsors
toxiproxy | Gor | |
---|---|---|
25 | 7 | |
10,276 | 18,271 | |
1.3% | - | |
6.7 | 4.8 | |
4 days ago | 4 days ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
toxiproxy
-
Speedbump – a TCP proxy to simulate variable network latency
Checkout also shopify's awesome tool called toxiproxy: https://github.com/Shopify/toxiproxy
It turns out to be also a very good way to test a networking library by implementing it. Since your stack needs to be able to basically handle most adverse events properly.
The idea behind 'chaos engineering' is cool.
- Toxiproxy – simulate network and system conditions for chaos testing
-
Twenty-five open-source network emulators and simulators you can use in 2023
I use this to simulate delays between various local services:
https://github.com/Shopify/toxiproxy
If you have Docker all you need is a few terminal commands
-
Artificially Producing Poor Internet?
Idk about firewall level, but application level I’d recommend https://github.com/Shopify/toxiproxy
-
Regarding default TCP setting in Golang and how it effects speed
That's why I usually recommend anybody that develops network critical apps to test their app with something like toxiproxy and purposfully mess with their connections and simulate network issues.
-
Performance testing with slow connection and packet loss
We use this thing. https://github.com/Shopify/toxiproxy I am not sure that it supports windows, but you can install it to the Linux machine and route your application under the test to that proxy.
-
Speedbump - a TCP proxy for simulating variable network latency
On the same vibes as https://github.com/Shopify/toxiproxy
-
Ask HN: How do I force network failures during development against remote APIs?
https://github.com/Shopify/toxiproxy is a perfect solution for that. I used it quite successfully years ago and it looks like it's still pretty active.
-
Is there a tool to control bandwidth for debugging purposes?
Looking at the toxiproxy you mentioned, it seems like it should do what you want though? TLS is generally over TCP anyway, so it should still be able to throttle those connections - it just wont understand the encryption. I also saw a pull request for having it act as a TLS man-in-the-middle proxy: https://github.com/Shopify/toxiproxy/pull/270
Gor
-
Launch HN: Codeparrot (YC W23) – Automated API testing using production traffic
I love to see more activity in this area!
I'm maintainer of GoReplay https://github.com/buger/goreplay and work in this area for the last 10 years.
It is quite hard problem to solve, because you have to deal with state difference between test and production environments. Love your approach to mocking dependencies, and leveraging OpenTelementry. It potentially can solve some of state issues. But still require modifying user code. I wonder if it can be done purely using OpenTelementry (e.g. you depend on typical OTel setup), and then read the data directly from OTel DB.
Cheers!
- A Golang-based open-source network monitoring tool
- Ask HN: How do you do Load Testing this 2022?
-
Axum launch system command then kill process
I put `top` command here so you can test my code but in production it will be something else (gor is your are interested). Just think of a process that doesn't end on its own (top,tail, etc.).
- GoReplay - test your system with real data
-
Ask HN: JMeter Alternative?
I suppose the end goal is to replicate production traffic patterns as close as possible. Why not just use production traffic? Of course omitting PII is mandatory.
Take a look at goreplay. https://github.com/buger/goreplay/wiki
-
How To Find Performance Issues Before Deploying
Not OP, but that is the idea. I use this tool for it, as it is dead-simple to get running and fairly configurable: https://github.com/buger/goreplay
What are some alternatives?
rkt
joincap - Merge multiple pcap files together, gracefully.
heka - DEPRECATED: Data collection and processing made easy.
ipe - An open source Pusher server implementation compatible with Pusher client libraries written in GO
Hugo - The world’s fastest framework for building websites.
Juju - Orchestration engine that enables the deployment, integration and lifecycle management of applications at any scale, on any infrastructure (Kubernetes or otherwise).
Docker - Notary is a project that allows anyone to have trust over arbitrary collections of data
Postman - CLI tool for batch-sending email via any SMTP server.
nes - NES emulator written in Go.
syncthing - Open Source Continuous File Synchronization