StreamForge v3.0 — Distributed Mode
What's New
- NodeManager — node identity, uptime tracking, status reporting
- LeaderElection — one node owns SNS alerts, no duplicate emails
- GET /nodes — view all active cluster nodes, leader status, events per node
- Cluster mode — SINGLE NODE (default) or DISTRIBUTED (multi-EC2)
- Node ID configurable via config.json
- Terraform scripts — infrastructure as code for multi-node AWS setup
- ALB (Application Load Balancer) — distributes ingest traffic across nodes
- 3 x EC2 t2.micro nodes — horizontal scaling under load
New config.json fields
{
"node_id": "node-1",
"cluster_mode": 0
}
How to check cluster status
curl http://localhost:9090/nodes
Terraform deployment
cd terraform
terraform init
terraform apply