Every request your code makes spends most of its distance as light bouncing down a glass thread. The abstraction is clean enough that you can ship for years without thinking about it, but a couple of the details underneath explain limits you actually hit.
Light Is Both a Wave and a Stream of Particles
Send light through two narrow slits and you get an interference pattern, alternating bright and dark bands, which only makes sense for overlapping waves. Shine it on a metal and it knocks electrons loose, but only above a threshold frequency, and turning up the brightness does not help. That one only makes sense if the energy arrives in discrete packets.
Each photon carries energy proportional to its frequency, E = hf. That equation is why ultraviolet damages DNA and burns you while infrared only warms your skin. Same speed, same physics, different energy per packet.
Visible light runs from about 380 nanometers at the violet end to 700 at the red end, which is less than one percent of the electromagnetic spectrum. Everything you have ever seen with your eyes came through that window. Every other part of it needed an instrument built to detect it.
Why Glass Slows Light Down
In vacuum light moves at exactly 299,792,458 meters per second. In a material it moves slower, because photons get absorbed and re-emitted by the atoms in the medium and the accumulated delay shows up as a lower average speed.
The ratio between the two is the refractive index. Water is 1.33, so light crosses it at about 75 percent of its vacuum speed. Diamond is 2.42, down to roughly 41 percent. That is the whole reason a straw looks bent in a glass of water and a swimming pool looks shallower than it is.
The index also depends on wavelength, which is why a prism splits white light into a spectrum and why cheaper lenses show colored fringes along high contrast edges.
The Critical Angle That Made Fiber Possible
When light tries to leave a dense medium for a thinner one at a steep enough angle, it does not leave at all. Past the critical angle, every bit of it reflects back inside. For glass with an index of 1.5 that angle is about 42 degrees.
That is total internal reflection, and it is what a fiber optic cable is. Not a wire carrying a signal, a tube of glass where the light physically cannot escape through the walls. It hits the boundary, bounces, hits the other side, bounces, and keeps doing that for thousands of kilometers with very little loss.
One Cable, Many Colors
A single fiber does not carry one signal. Wavelength division multiplexing sends many colors down the same strand at once, and each wavelength travels independently, so each one is its own channel. Modern fiber runs past 100 terabits per second this way.
This is the part worth internalizing as an engineer. Bandwidth on a fiber link is not set by how fast you can flip something on and off, it is set by how many distinguishable wavelengths you can pack in and separate again at the far end. Latency is stuck with the refractive index, which is why a signal crosses an ocean at roughly two thirds of c no matter what a vendor promises.
The Takeaway
Your ping times have a floor set by the speed of light in glass, and no amount of infrastructure spending moves it. Knowing why makes latency budgets and capacity planning a lot less mysterious.
Full write-up on how light works, from wave-particle duality through optical technology: https://www.learnhowtoscience.com/optics-and-light/
Top comments (0)