patrickfust/network-simulator

By patrickfust

Updated 4 months ago

Simulate various network conditions by acting as a proxy between clients and target services.

Image
Networking
Developer tools
Monitoring & observability
0

2.1K

patrickfust/network-simulator repository overview

Network Simulator

This application is designed to simulate various network conditions by acting as a proxy between clients and target services. It allows users to configure scenarios such as latency, bandwidth limitations, HTTP status codes, and responses. The application provides a user-friendly interface for configuring these scenarios.

It is useful for testing how applications behave under different network conditions, helping developers and testers to ensure robustness and reliability.

The idea is, that you only have to change the target URL of your application to point to this network simulator, and then configure the desired network conditions through the provided UI.

The Open Source repository can be found at: https://github.com/patrickfust/network-simulator

Running the Application

There are two main ways to run the application:

  1. Running from the command line
  2. Running with Docker Compose

The application is internally exposed on port 9898.

The application supports using a PostgreSQL database or an in-memory H2 database.

Running command line
docker run \
  --name network-simulator-app \
  -p 9898:9898 \
  patrickfust/network-simulator:latest

Read all about the environment variables on: https://github.com/patrickfust/network-simulator

Tag summary

Content type

Image

Digest

sha256:f7866df8d

Size

261 Bytes

Last updated

4 months ago

docker pull patrickfust/network-simulator:sha256-3239dc3c2c808ed34e1b464aaa65c392be5391dfb9a2e3b39f15f1058bd4bcc1.sig