Skip to content

Docker compose local (dev) distributed Storm cluster with full observability and network simulation#8706

Open
GGraziadei wants to merge 1 commit into
apache:masterfrom
GGraziadei:docker-dev-cluster
Open

Docker compose local (dev) distributed Storm cluster with full observability and network simulation#8706
GGraziadei wants to merge 1 commit into
apache:masterfrom
GGraziadei:docker-dev-cluster

Conversation

@GGraziadei
Copy link
Copy Markdown
Contributor

What is the purpose of the change

This PR introduces a repeatable, Docker-based distributed Storm dev cluster designed for realistic benchmarking storm-perf on a local machine. It provisions a complete environment, including Nimbus, ZooKeeper, and two Supervisor, forcing inter-worker traffic across the network to trigger true serialization overhead.
Backed by a full observability stack (Prometheus and Grafana), the setup provides granular, per-task tracking via Storm Metrics v2. Additionally, it includes a netsim.sh utility to inject controlled network latency and jitter, allowing developers to easily stress-test topology resilience and analyze bottlenecks under degraded network conditions.

How was the change tested

I verified the environment by executing the benchmark smoke test outlined in the README.md, running the FileReadWordCountTopo topology for 120 seconds across two workers on separate supervisors.
Smoke testing successfully validated the baseline performance and the replication of bottlenecks. Injecting typical datacenter network conditions (3 ms latency, 1 ms jitter) caused average complete latency to rise from 390 ms to 446 ms; this induced back-pressure safely reduced total tuple throughput from 40.93M to 36.25M without dropping packets.

@GGraziadei GGraziadei changed the title docker compose dev cluster Docker compose local (dev) distributed Storm cluster with full observability and network simulation May 22, 2026
@GGraziadei GGraziadei marked this pull request as draft May 22, 2026 12:01
@GGraziadei GGraziadei marked this pull request as ready for review May 22, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant