Cloud vs Edge Latency: Fibre Delay, Queues and Compute Time Compared (3D)
Race one request between a far-away cloud data centre and a nearby edge node. The round trip is built from physical parts: light in fibre at c/n_g (204 km per millisecond), a route stretch over the great circle, router hops that are M/M/1 queues, the connection set-up round trips of TCP and TLS, the transmission time of the payload, and the server sojourn time (task size over capacity, divided by 1 - load). Set the distances, task size, payload, link rate, edge speed and the loads, and watch the pulses cross the fibre lanes, then read the winner, the breakdown of the milliseconds and the crossover task size above which the cloud is faster. Six independent checks cover the haversine distance of a real city pair, the fibre speed, discrete-event M/M/1 runs of 1.5 million customers with Little's law, the closed-form crossover against bisection and the speed-of-light floor. The house, phone, cell tower, edge container and data-centre hall are Blender models. Educational networking only; typical numbers, not a provider benchmark.
Edge computing moves processing away from a centralized cloud server and onto (or near) the device that generates the data, cutting out the network round trip that dominates cloud latency. This simulator makes that difference visible: identical requests leave a local device at the same instant on two paths — one races down a fiber link to a distant cloud data center and back, the other is handled instantly by a nearby edge node. Watch the packets travel in real time while you tune the distance to the cloud, how long the cloud server and the edge node each take to process a request, and how many requests arrive per second, and see the round-trip latency and the resulting speedup update live.
Race one request between a far-away cloud data centre and a nearby edge node. The round trip is built from physical parts: light in fibre at c/n_g (204 km per millisecond), a route stretch over the great circle, router hops that are M/M/1 queues, the connection set-up round trips of TCP and TLS, the transmission time of the payload, and the server sojourn time (task size over capacity, divided by 1 - load). Set the distances, task size, payload, link rate, edge speed and the loads, and watch the pulses cross the fibre lanes, then read the winner, the breakdown of the milliseconds and the crossover task size above which the cloud is faster. Six independent checks cover the haversine distance of a real city pair, the fibre speed, discrete-event M/M/1 runs of 1.5 million customers with Little's law, the closed-form crossover against bisection and the speed-of-light floor. The house, phone, cell tower, edge container and data-centre hall are Blender models. Educational networking only; typical numbers, not a provider benchmark.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install