Every connected sensor faces the same fork in the road: process the reading locally at an edge gateway, or ship it to the cloud. This simulator generates a real packet stream at a configurable arrival rate and routes each packet through a single-server FIFO queue at the edge — exactly the queueing-theory model (a bounded M/M/1-style queue with overflow) that real IoT gateways use — offloading to the cloud once the queue backs up past a threshold you control. Watch packets travel in 3D from the device to the edge gateway or the distant cloud node while live readouts track the edge queue length, average end-to-end latency, the fraction of traffic offloaded to the cloud, and total packets processed, so you can see directly how arrival rate, edge capacity, overflow threshold and cloud round-trip time trade off against each other.